Class UserInfoProviderImpl.PortalUserInfo

  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:

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


protected final User user
The CAuth user object.

Constructor Detail


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

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


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

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