|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.security.SecurityImpl
org.apache.slide.security.SecurityImplAllGrant
Security helper.
Field Summary |
Fields inherited from class org.apache.slide.security.SecurityImpl |
aclInheritanceType, logger, namespace, namespaceConfig, rolesCache |
Constructor Summary | |
SecurityImplAllGrant()
Constructor. |
|
SecurityImplAllGrant(Namespace namespace,
NamespaceConfig namespaceConfig)
Constructor. |
Method Summary | |
boolean |
hasPermission(ObjectNode object,
SubjectNode subject,
ActionNode action)
Check whether or not an actor can perform the specified activity on a collection. |
Methods inherited from class org.apache.slide.security.SecurityImpl |
checkCredentials, checkPermission, checkPermission, denyPermission, denyPermission, denyPermission, enumeratePermissions, enumeratePermissions, enumeratePermissions, enumeratePermissions, getActionAggregation, getPrincipal, getRoles, getRoles, getRoles, grantPermission, grantPermission, grantPermission, hasPermission, hasRole, hasRole, init, matchAction, matchPrincipal, matchPrincipal, retrieveAclSourceNodes, revokePermission, revokePermission, setPermissions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.slide.security.Security |
checkCredentials, checkPermission, checkPermission, denyPermission, denyPermission, denyPermission, enumeratePermissions, enumeratePermissions, enumeratePermissions, enumeratePermissions, getPrincipal, getRoles, getRoles, getRoles, grantPermission, grantPermission, grantPermission, hasPermission, hasRole, hasRole, init, matchAction, matchPrincipal, revokePermission, revokePermission, setPermissions |
Constructor Detail |
public SecurityImplAllGrant()
public SecurityImplAllGrant(Namespace namespace, NamespaceConfig namespaceConfig)
namespace
- NamespacenamespaceConfig
- Namespace configurationMethod Detail |
public boolean hasPermission(ObjectNode object, SubjectNode subject, ActionNode action) throws ServiceAccessException, ObjectNotFoundException
hasPermission
in interface Security
hasPermission
in class SecurityImpl
object
- Object on which access is testedsubject
- Subject who seeks to perform the actionaction
- Action which is to be performed
ServiceAccessException
- DataSource access error
ObjectNotFoundException
- Specified object was not found
in the DataSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |