This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.cocoon.portal.tools.service
Class UserRightsService
java.lang.Object
   org.apache.cocoon.portal.tools.service.UserRightsService
org.apache.cocoon.portal.tools.service.UserRightsService
- public class UserRightsService 
- extends Object
Service, that provides access to the user rights configuration.
- Version:
- CVS $Id: UserRightsService.html 1304258 2012-03-23 10:09:27Z ilgrosso $
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
UserRightsService
public UserRightsService()
getLocation
public Source getLocation()
- 
- Returns:
- The location
 
setLocation
public void setLocation(Source location)
- 
- Parameters:
- location- The location to set
 
getReload
public boolean getReload()
- 
- Returns:
- The reload
 
setReload
public void setReload(boolean reload)
- 
- Parameters:
- reload- The reload to set
 
initialize
public void initialize()
- Initialize the bean.
 
- 
 
userIsAllowed
public boolean userIsAllowed(String url,
                             PortalUser user)
- 
- Returns:
- Whether the current user is allowed to call the given url.
 
userFunctionIsAllowed
public boolean userFunctionIsAllowed(String id,
                                     PortalUser user)
- 
 
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.