org.apache.cocoon.auth.impl
Class ServletSecurityHandler.ServletUser
java.lang.Object
org.apache.cocoon.auth.StandardUser
org.apache.cocoon.auth.impl.ServletSecurityHandler.ServletUser
- All Implemented Interfaces:
- Serializable, 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
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(Request req)
- Instantiate a new user.
- Parameters:
req
- The current request.
getPrincipal
public Principal getPrincipal()
- Return the current principal.
- Returns:
- The principal.
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.