org.apache.cocoon.auth.portal
Class UserInfoProviderImpl.PortalUserInfo

java.lang.Object
  extended by org.apache.cocoon.portal.profile.impl.UserInfo
      extended by org.apache.cocoon.auth.portal.UserInfoProviderImpl.PortalUserInfo
All Implemented Interfaces:
Serializable, PortalUser
Enclosing class:
UserInfoProviderImpl

public static final class UserInfoProviderImpl.PortalUserInfo
extends UserInfo

The user info for the portal engine.

See Also:
Serialized Form

Field Summary
protected  User user
          The CAuth user object.
 
Fields inherited from class org.apache.cocoon.portal.profile.impl.UserInfo
configurations, group, layoutKey, portalName, userName
 
Constructor Summary
UserInfoProviderImpl.PortalUserInfo(String portalName, String layoutKey, User aUser)
          Create a new user info object.
 
Method Summary
 boolean isUserInRole(String role)
           
 
Methods inherited from class org.apache.cocoon.portal.profile.impl.UserInfo
getConfigurations, getGroup, getLayoutKey, getPortalName, getUserName, setConfigurations, setGroup, setUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

protected final User user
The CAuth user object.

Constructor Detail

UserInfoProviderImpl.PortalUserInfo

public UserInfoProviderImpl.PortalUserInfo(String portalName,
                                           String layoutKey,
                                           User aUser)
Create a new user info object.

Parameters:
portalName - The current portal name.
layoutKey - The layout information.
aUser - The CAuth user object.
Method Detail

isUserInRole

public boolean isUserInRole(String role)
Specified by:
isUserInRole in interface PortalUser
Specified by:
isUserInRole in class UserInfo
See Also:
PortalUser.isUserInRole(java.lang.String)


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