Class AbstractAccessDecisionManager
java.lang.Object
org.springframework.security.access.vote.AbstractAccessDecisionManager
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.MessageSourceAware,AccessDecisionManager
- Direct Known Subclasses:
AffirmativeBased,ConsensusBased,UnanimousBased
@Deprecated
public abstract class AbstractAccessDecisionManager
extends Object
implements AccessDecisionManager, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware
Deprecated.
Abstract implementation of
AccessDecisionManager.
Handles configuration of a bean context defined list of AccessDecisionVoters
and the access control behaviour if all voters abstain from voting (defaults to deny
access).
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAccessDecisionManager(List<AccessDecisionVoter<?>> decisionVoters) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.protected final voidDeprecated.Deprecated.booleanDeprecated.voidsetAllowIfAllAbstainDecisions(boolean allowIfAllAbstainDecisions) Deprecated.voidsetMessageSource(org.springframework.context.MessageSource messageSource) Deprecated.booleanDeprecated.Iterates through allAccessDecisionVoters and ensures each can support the presented class.booleansupports(ConfigAttribute attribute) Deprecated.Indicates whether thisAccessDecisionManageris able to process authorization requests presented with the passedConfigAttribute.toString()Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.security.access.AccessDecisionManager
decide
-
Field Details
-
logger
protected final org.apache.commons.logging.Log loggerDeprecated. -
messages
protected org.springframework.context.support.MessageSourceAccessor messagesDeprecated.
-
-
Constructor Details
-
AbstractAccessDecisionManager
Deprecated.
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()Deprecated.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
checkAllowIfAllAbstainDecisions
protected final void checkAllowIfAllAbstainDecisions()Deprecated. -
getDecisionVoters
Deprecated. -
isAllowIfAllAbstainDecisions
public boolean isAllowIfAllAbstainDecisions()Deprecated. -
setAllowIfAllAbstainDecisions
public void setAllowIfAllAbstainDecisions(boolean allowIfAllAbstainDecisions) Deprecated. -
setMessageSource
public void setMessageSource(org.springframework.context.MessageSource messageSource) Deprecated.- Specified by:
setMessageSourcein interfaceorg.springframework.context.MessageSourceAware
-
supports
Deprecated.Description copied from interface:AccessDecisionManagerIndicates whether thisAccessDecisionManageris able to process authorization requests presented with the passedConfigAttribute.This allows the
AbstractSecurityInterceptorto check every configuration attribute can be consumed by the configuredAccessDecisionManagerand/orRunAsManagerand/orAfterInvocationManager.- Specified by:
supportsin interfaceAccessDecisionManager- Parameters:
attribute- a configuration attribute that has been configured against theAbstractSecurityInterceptor- Returns:
- true if this
AccessDecisionManagercan support the passed configuration attribute
-
supports
Deprecated.Iterates through allAccessDecisionVoters and ensures each can support the presented class.If one or more voters cannot support the presented class,
falseis returned.- Specified by:
supportsin interfaceAccessDecisionManager- Parameters:
clazz- the type of secured object being presented- Returns:
- true if this type is supported
-
toString
Deprecated.
-
AuthorizationManagerinstead