public class AccessDecisionManagerImpl
extends org.springframework.security.access.vote.AbstractAccessDecisionManager
Constructor and Description |
---|
AccessDecisionManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
decide(org.springframework.security.core.Authentication authentication,
Object resource,
Collection<org.springframework.security.access.ConfigAttribute> config)
This method implements to AccessDecisionManager interface.
|
public void decide(org.springframework.security.core.Authentication authentication, Object resource, Collection<org.springframework.security.access.ConfigAttribute> config) throws org.springframework.security.access.AccessDeniedException
This method implements to AccessDecisionManager interface. Each voter in the internal list of AccessDecisionVoters is presented with all of the configAttributes for the arg resource. - If all voters abstain from voting, the decision goes to the default setting: allowIfAllAbstainDecisions - If no voter denies the AuthZ vote and at least one voter grants, then AuthZ is granted.
authentication
- principal seeking AuthZresource
- that is under protectionconfig
- access-attributes defined on resourceorg.springframework.security.access.AccessDeniedException
- if AuthZ deniedCopyright © 2009–2014 DuraSpace. All rights reserved.