|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.security.permissions.impl.acegi.ACLEntryVoter
public class ACLEntryVoter
Field Summary |
---|
Fields inherited from interface net.sf.acegisecurity.vote.AccessDecisionVoter |
---|
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED |
Constructor Summary | |
---|---|
ACLEntryVoter()
Default constructor |
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
NamespacePrefixResolver |
getNamespacePrefixResolver()
Get the name space prefix resolver |
NodeService |
getNodeService()
Get the node service |
PermissionService |
getPermissionService()
Get the permission service |
void |
setAbstainFor(java.util.Set abstainFor)
Types and aspects for which we will abstain on voting if they are present. |
void |
setAuthenticationService(AuthenticationService authenticationService)
Set the authentication service |
void |
setAuthorityService(AuthorityService authorityService)
Set the authority service |
void |
setNamespacePrefixResolver(NamespacePrefixResolver nspr)
Set the name space prefix resolver |
void |
setNodeService(NodeService nodeService)
Set the node service |
void |
setPermissionService(PermissionService permissionService)
Set the permission service |
boolean |
supports(java.lang.Class clazz)
This implementation supports only MethodSecurityInterceptor , because it queries the presented MethodInvocation . |
boolean |
supports(net.sf.acegisecurity.ConfigAttribute attribute)
|
int |
vote(net.sf.acegisecurity.Authentication authentication,
java.lang.Object object,
net.sf.acegisecurity.ConfigAttributeDefinition config)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ACLEntryVoter()
Method Detail |
---|
public void setPermissionService(PermissionService permissionService)
permissionService
- public PermissionService getPermissionService()
public NamespacePrefixResolver getNamespacePrefixResolver()
public void setNamespacePrefixResolver(NamespacePrefixResolver nspr)
nspr
- public NodeService getNodeService()
public void setNodeService(NodeService nodeService)
nodeService
- public void setAuthenticationService(AuthenticationService authenticationService)
authenticationService
- public void setAuthorityService(AuthorityService authorityService)
authorityService
- public void setAbstainFor(java.util.Set abstainFor)
abstainFor
- public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public boolean supports(net.sf.acegisecurity.ConfigAttribute attribute)
supports
in interface net.sf.acegisecurity.vote.AccessDecisionVoter
public boolean supports(java.lang.Class clazz)
MethodSecurityInterceptor
, because it queries the presented MethodInvocation
.
supports
in interface net.sf.acegisecurity.vote.AccessDecisionVoter
clazz
- the secure object
true
if the secure object is MethodInvocation
, false
otherwisepublic int vote(net.sf.acegisecurity.Authentication authentication, java.lang.Object object, net.sf.acegisecurity.ConfigAttributeDefinition config)
vote
in interface net.sf.acegisecurity.vote.AccessDecisionVoter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |