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

All Known Implementing Classes:
AbstractAccessDecisionVoter

public interface AccessDecisionVoter

Interface for implementing concrete voters. A voter has to add an instance of SecurityViolation to the given result-set, if a restriction is detected.

Author:
Gerhard Petracek

Method Summary
 Set<SecurityViolation> checkPermission(javax.interceptor.InvocationContext invocationContext)
          Checks the permission for the given InvocationContext.
 

Method Detail

checkPermission

Set<SecurityViolation> checkPermission(javax.interceptor.InvocationContext invocationContext)
Checks the permission for the given InvocationContext. If a violation is detected, it should be added to a set which gets returned by the method.

Parameters:
invocationContext - current invocationContext
Returns:
a set which contains violations which have been detected


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