org.jboss.web.tomcat.service.sso.spi
Interface SSOLocalManager


public interface SSOLocalManager

Interface implemented by the ClusteredSingleSignOn valve to allow callbacks by the SSOClusterManager.

Version:
$Revision: 1 $
Author:
Brian Stansberry

Method Summary
 void deregister(String ssoId)
          Callback from the SSOClusterManager notifying the local manager that an SSO has been deregistered on another node.
 String getCacheConfig()
          Gets the name of the cache config used by SSOClusterManager.
 MBeanServer getMBeanServer()
          Gets the MBeanServer the local manager is registered with (or null)
 String getThreadPoolName()
          Object name of the thread pool used by SSOClusterManager.
 void notifySSOEmpty(String ssoId)
          Callback from the SSOClusterManager when it detects an SSO without any active sessions across the cluster
 void notifySSONotEmpty(String ssoId)
          Callback from the SSOClusterManager when it detects an SSO that has active sessions across the cluster
 void remoteUpdate(String ssoId, SSOCredentials credentials)
          Callback from the SSOClusterManager notifying the local manager that the credentials associated with an SSO have been modified on another node.
 

Method Detail

deregister

void deregister(String ssoId)
Callback from the SSOClusterManager notifying the local manager that an SSO has been deregistered on another node.

Parameters:
ssoId - Single sign on identifier to deregister

remoteUpdate

void remoteUpdate(String ssoId,
                  SSOCredentials credentials)
Callback from the SSOClusterManager notifying the local manager that the credentials associated with an SSO have been modified on another node.

Parameters:
ssoId - the id of the SSO
credentials - the updated credentials

notifySSOEmpty

void notifySSOEmpty(String ssoId)
Callback from the SSOClusterManager when it detects an SSO without any active sessions across the cluster


notifySSONotEmpty

void notifySSONotEmpty(String ssoId)
Callback from the SSOClusterManager when it detects an SSO that has active sessions across the cluster


getMBeanServer

MBeanServer getMBeanServer()
Gets the MBeanServer the local manager is registered with (or null)


getCacheConfig

String getCacheConfig()
Gets the name of the cache config used by SSOClusterManager.

Returns:

getThreadPoolName

String getThreadPoolName()
Object name of the thread pool used by SSOClusterManager.



Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.