org.apache.cocoon.portal.profile
Interface PortalUser

All Known Implementing Classes:
AuthenticationFWUserInfoProvider.AFWUserInfo, AuthenticationProfileManager.User, StaticProfileManager.StaticPortalUser, UserInfo, UserInfoProviderImpl.PortalUserInfo

public interface PortalUser

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

Version:
SVN $Id: PortalUser.java 433543 2006-08-22 06:22:54Z crossley $
Author:
Carsten Ziegeler

Method Summary
 String getGroup()
           
 String getUserName()
           
 boolean isUserInRole(String role)
           
 

Method Detail

getGroup

String getGroup()
Returns:
Returns the group.

getUserName

String getUserName()
Returns:
Returns the userName.

isUserInRole

boolean isUserInRole(String role)


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