Class PipelineSecurityHandler.PipelineSHUser

  extended by org.apache.cocoon.auth.StandardUser
      extended by org.apache.cocoon.auth.impl.PipelineSecurityHandler.PipelineSHUser
All Implemented Interfaces:
Serializable, User
Enclosing class:

public static class PipelineSecurityHandler.PipelineSHUser
extends StandardUser

The internal user class.

See Also:
Serialized Form

Field Summary
protected  List roles
          The cached list of roles for this user.
protected  Document userInfo
          The document delivered by the pipeline.
Fields inherited from class org.apache.cocoon.auth.StandardUser
attributes, id
Constructor Summary
PipelineSecurityHandler.PipelineSHUser(Document info, String id)
          Create a new user object.
Method Summary
protected  void calculateContextInfo()
          Internal method that calculates the context information.
 Document getUserInfo()
          Return the pipeline document.
Methods inherited from class org.apache.cocoon.auth.StandardUser
getAttribute, getAttributeNames, getId, isUserInRole, removeAttribute, setAttribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected final Document userInfo
The document delivered by the pipeline.


protected List roles
The cached list of roles for this user.

Constructor Detail


public PipelineSecurityHandler.PipelineSHUser(Document info,
                                              String id)
Create a new user object.

info - The pipeline document.
id - The unique id of the user.
Method Detail


public Document getUserInfo()
Return the pipeline document.

The document.


protected void calculateContextInfo()
Internal method that calculates the context information. All key-value pairs contained in the document are added as attributes to the user object.

Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.