org.jboss.seam.security.events
Class AuthorizationCheckEvent

java.lang.Object
  extended by org.jboss.seam.security.events.AuthorizationCheckEvent

public class AuthorizationCheckEvent
extends Object

This event may be used to perform an authorization check. The constructor should be provided with one or more annotation literal values representing the security binding types to be checked. After firing the event, the isPassed() method should be used to determine whether the authorization check was successful.

WARNING - This event should only be fired and observed synchronously. Unpredictable results may occur otherwise.

Author:
Shane Bryzak

Constructor Summary
AuthorizationCheckEvent(List<? extends Annotation> bindings)
           
 
Method Summary
 List<? extends Annotation> getBindings()
           
 boolean isPassed()
           
 void setPassed(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationCheckEvent

public AuthorizationCheckEvent(List<? extends Annotation> bindings)
Method Detail

getBindings

public List<? extends Annotation> getBindings()

setPassed

public void setPassed(boolean value)

isPassed

public boolean isPassed()


Copyright © 2011 Seam Framework. All Rights Reserved.