jrun.servlet.security
Class ServletUsersService

jrunx.kernel.ServiceAdapter
  |
  +--jrunx.kernel.ServicePartition
        |
        +--jrunx.kernel.ConfigurableServicePartition
              |
              +--jrun.servlet.security.ServletUsersService
All Implemented Interfaces:
ConfigurableServicePartitionMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean, ServletUsers, ServletUsersServiceMBean

public class ServletUsersService
extends ConfigurableServicePartition
implements ServletUsers

See Also:
Serialized Form

Field Summary
 jrun.servlet.security.ServletUsersService.StoredUserMap storedUsers
           
 
Fields inherited from class jrunx.kernel.ServicePartition
sortedServices
 
Fields inherited from class jrunx.kernel.ServiceAdapter
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Constructor Summary
ServletUsersService()
           
 
Method Summary
 void addUser(AuthenticatedPrincipal user, java.lang.String sessionId, WebApplication webApp)
           
 java.util.Iterator getAuthenticatedUsers()
           
 ServletUsers getServletUsers()
           
 AuthenticatedPrincipal getUser(java.lang.String sessionId, WebApplication webApp)
           
 void removeUser(java.lang.String sessionId)
           
 void removeUser(java.lang.String sessionId, WebApplication webApp)
           
 
Methods inherited from class jrunx.kernel.ConfigurableServicePartition
destroy, destroyServices, init, initServices, loadAndInit, loadChildren, setChildElements, start, startServices, stop, stopServices
 
Methods inherited from class jrunx.kernel.ServicePartition
addService, addService, getServices, invokeChain, iterator, removeService, removeService
 
Methods inherited from class jrunx.kernel.ServiceAdapter
bind, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, toString, unbind, unscheduleRunnable, updateStatus
 
Methods inherited from interface jrunx.kernel.ConfigurableServicePartitionMBean
setChildElements
 
Methods inherited from interface jrunx.kernel.ServicePartitionMBean
addService, addService, iterator, removeService, removeService
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, init, start, stop, updateStatus
 

Field Detail

storedUsers

public jrun.servlet.security.ServletUsersService.StoredUserMap storedUsers
Constructor Detail

ServletUsersService

public ServletUsersService()
Method Detail

addUser

public void addUser(AuthenticatedPrincipal user,
                    java.lang.String sessionId,
                    WebApplication webApp)
Specified by:
addUser in interface ServletUsers

getUser

public AuthenticatedPrincipal getUser(java.lang.String sessionId,
                                      WebApplication webApp)
Specified by:
getUser in interface ServletUsers

removeUser

public void removeUser(java.lang.String sessionId)
Specified by:
removeUser in interface ServletUsers

removeUser

public void removeUser(java.lang.String sessionId,
                       WebApplication webApp)
Specified by:
removeUser in interface ServletUsers

getAuthenticatedUsers

public java.util.Iterator getAuthenticatedUsers()
Specified by:
getAuthenticatedUsers in interface ServletUsersServiceMBean

getServletUsers

public ServletUsers getServletUsers()
Specified by:
getServletUsers in interface ServletUsersServiceMBean


Copyright � 2002 Macromedia Corporation. All Rights Reserved.