org.apache.cocoon.auth.impl
Class ServletSecurityHandler.ServletUser
java.lang.Object
org.apache.cocoon.auth.impl.StandardUser
org.apache.cocoon.auth.impl.ServletSecurityHandler.ServletUser
- All Implemented Interfaces:
- Serializable, org.apache.cocoon.auth.User
- Enclosing class:
- ServletSecurityHandler
- public static class ServletSecurityHandler.ServletUser
- extends StandardUser
Inner class for the current user. This class provides access to some
servlet specific information.
- See Also:
- Serialized Form
Fields inherited from interface org.apache.cocoon.auth.User |
ATTRIBUTE_PRINCIPAL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
principal
protected final Principal principal
- The principal belonging to the user.
ServletSecurityHandler.ServletUser
public ServletSecurityHandler.ServletUser(org.apache.cocoon.environment.Request req)
- Instantiate a new user.
- Parameters:
req
- The current request.
getPrincipal
public Principal getPrincipal()
- Return the current principal.
- Returns:
- The principal.
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.