|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.portals.graffito.security.impl.EmptyCmsAccessControllerImpl
public class EmptyCmsAccessControllerImpl
Implementation for CmsAccessController
when permission check are not necessary
Constructor Summary | |
---|---|
EmptyCmsAccessControllerImpl()
|
Method Summary | |
---|---|
boolean |
hasPermission(java.lang.Object object,
java.lang.String actions)
check if the Subject can do specific actions on the a cms object |
boolean |
hasPermission(java.lang.String uri,
java.lang.String actions)
Check permission for an cms object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyCmsAccessControllerImpl()
Method Detail |
---|
public boolean hasPermission(java.lang.Object object, java.lang.String actions)
CmsAccessController
hasPermission
in interface CmsAccessController
object
- The object on which the permission has to be checked.
This object can be a CmsObject, a Server or an HistoryElementactions
- a comma separated list of actions
CmsAccessController.hasPermission(java.lang.Object, java.lang.String)
public boolean hasPermission(java.lang.String uri, java.lang.String actions)
CmsAccessController
hasPermission
in interface CmsAccessController
uri
- The uri assigned to the cms objectactions
- The actions to checl (comma separeted list of actions)
CmsAccessController.hasPermission(java.lang.String, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |