org.apache.myfaces.extensions.cdi.core.api.security
Interface AccessDecisionVoterContext

All Superinterfaces:
Serializable

public interface AccessDecisionVoterContext
extends Serializable

Optional context which allows to get the current state as well as the results of the security check. (Optional because it requires a useful scope which depends on the environment.)


Method Summary
 AccessDecisionState getState()
          Exposes the current state
 List<SecurityViolation> getViolations()
          Exposes the found violations
 

Method Detail

getState

AccessDecisionState getState()
Exposes the current state

Returns:
current state

getViolations

List<SecurityViolation> getViolations()
Exposes the found violations

Returns:
found violations


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