org.apache.cocoon.portal.authenticationfw
Class User

java.lang.Object
  extended byorg.apache.cocoon.portal.profile.impl.AbstractPortalUser
      extended byorg.apache.cocoon.portal.authenticationfw.User
All Implemented Interfaces:
PortalUser, Serializable

public class User
extends AbstractPortalUser

The User object used by the authentication-fw implementation.

Version:
$Id: User.java 321405 2005-10-15 18:15:44Z cziegeler $
See Also:
Serialized Form

Field Summary
protected  UserHandler handler
           
 
Fields inherited from class org.apache.cocoon.portal.profile.impl.AbstractPortalUser
anonymous, group, userInfo, userName
 
Constructor Summary
User(UserHandler handler)
           
 
Method Summary
static PortalUser getPortalUser(ServiceManager manager, String portalName)
           
 boolean isUserInRole(String role)
           
 
Methods inherited from class org.apache.cocoon.portal.profile.impl.AbstractPortalUser
getGroup, getUserInfo, getUserInfos, getUserName, isAnonymous, setAnonymous, setGroup, setUserInfos, setUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handler

protected final UserHandler handler
Constructor Detail

User

public User(UserHandler handler)
Parameters:
handler -
Method Detail

isUserInRole

public boolean isUserInRole(String role)
See Also:
PortalUser.isUserInRole(java.lang.String)

getPortalUser

public static PortalUser getPortalUser(ServiceManager manager,
                                       String portalName)


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.