org.apache.myfaces.extensions.cdi.core.impl.security.spi
Interface EditableAccessDecisionVoterContext

All Superinterfaces:
AccessDecisionVoterContext, Serializable

public interface EditableAccessDecisionVoterContext
extends AccessDecisionVoterContext

Interface which allows to provide a custom AccessDecisionVoterContext implementation


Method Summary
 void addViolation(SecurityViolation securityViolation)
          Adds a new SecurityViolation to the context
 void setState(AccessDecisionState accessDecisionVoterState)
          Updates the state of the context
 
Methods inherited from interface org.apache.myfaces.extensions.cdi.core.api.security.AccessDecisionVoterContext
getState, getViolations
 

Method Detail

setState

void setState(AccessDecisionState accessDecisionVoterState)
Updates the state of the context

Parameters:
accessDecisionVoterState - current state

addViolation

void addViolation(SecurityViolation securityViolation)
Adds a new SecurityViolation to the context

Parameters:
securityViolation - security-violation which should be added


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.