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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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-2010 The Apache Software Foundation. All Rights Reserved.