org.chenillekit.access.services.impl
Class AccessValidatorImpl
java.lang.Object
org.chenillekit.access.services.impl.AccessValidatorImpl
- All Implemented Interfaces:
- AccessValidator
public class AccessValidatorImpl
- extends Object
- implements AccessValidator
- Version:
- $Id: AccessValidatorImpl.java 380 2008-12-30 10:21:52Z mlusetti $
|
Method Summary |
boolean |
hasAccess(String pageName,
String componentId,
String eventType)
We check for page/component and event type access rights. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessValidatorImpl
public AccessValidatorImpl(ComponentSource componentSource,
MetaDataLocator locator,
org.slf4j.Logger logger,
ApplicationStateManager manager,
Class<? extends WebSessionUser> sessionUser)
hasAccess
public boolean hasAccess(String pageName,
String componentId,
String eventType)
- We check for page/component and event type access rights.
first we check the access rights for the requested page,
if access granted, we step down to the next level, the components.
- Specified by:
hasAccess in interface AccessValidator
- Parameters:
pageName - name of the pagecomponentId - component id (not used yet)eventType - event type (not used yet)
- Returns:
- if true then leave the chain
- See Also:
AccessValidator.hasAccess(java.lang.String, java.lang.String, java.lang.String)
Copyright © 2008-2009 ChenilleKit. All Rights Reserved.