org.apache.cocoon.portal.profile
Interface PortalUser

All Known Implementing Classes:
AbstractPortalUser

public interface PortalUser

Information about the current portal user. This object decouples the portal from the used authentication method.

Version:
$Id: PortalUser.java 322475 2005-10-16 14:26:44Z cziegeler $

Method Summary
 String getGroup()
           
 Object getUserInfo(String key)
           
 Map getUserInfos()
           
 String getUserName()
           
 boolean isAnonymous()
          Is this user an anonymous user?
 boolean isUserInRole(String role)
           
 

Method Detail

isAnonymous

public boolean isAnonymous()
Is this user an anonymous user?


getGroup

public String getGroup()
Returns:
Returns the group.

getUserName

public String getUserName()
Returns:
Returns the userName.

isUserInRole

public boolean isUserInRole(String role)

getUserInfo

public Object getUserInfo(String key)

getUserInfos

public Map getUserInfos()


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