Klasse MemoryTurbineUserManagerImpl

Alle implementierten Schnittstellen:
Serializable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, TurbineUserManager, UserManager

public class MemoryTurbineUserManagerImpl extends MemoryUserManagerImpl implements TurbineUserManager
This implementation keeps all objects in memory. This is mostly meant to help with testing and prototyping of ideas.
Version:
$Id: MemoryTurbineUserManagerImpl.java 535465 2007-05-05 06:58:06Z tv $
Autor:
Eric Pugh
Siehe auch:
  • Konstruktordetails

    • MemoryTurbineUserManagerImpl

      public MemoryTurbineUserManagerImpl()
  • Methodendetails

    • getAnonymousUser

      public <T extends User> T getAnonymousUser() throws UnknownEntityException
      Constructs an User object to represent an anonymous user of the application.
      Angegeben von:
      getAnonymousUser in Schnittstelle TurbineUserManager
      Gibt zurück:
      An anonymous Turbine User.
      Löst aus:
      UnknownEntityException - if the implementation of User interface could not be determined, or does not exist.
    • isAnonymousUser

      public boolean isAnonymousUser(User user)
      Checks whether a passed user object matches the anonymous user pattern according to the configured user manager
      Angegeben von:
      isAnonymousUser in Schnittstelle TurbineUserManager
      Parameter:
      user - An user object
      Gibt zurück:
      true if this is an anonymous user