|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.extensions.cdi.core.api.security.event.InvalidBeanCreationEvent
public class InvalidBeanCreationEvent
Event which gets fired if it isn't allowed to create a bean
Constructor Summary | |
---|---|
InvalidBeanCreationEvent(SecurityViolation securityViolation)
Constructor which is required to create the event for the given SecurityViolation |
Method Summary | |
---|---|
SecurityViolation |
getSecurityViolation()
Exposes the current SecurityViolation |
boolean |
isThrowSecurityViolation()
Exposes if the SecurityViolation wrapped by the current event should be thrown as exception |
void |
setThrowSecurityViolation(boolean throwSecurityViolation)
Allows e.g. to filter the current violation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InvalidBeanCreationEvent(SecurityViolation securityViolation)
SecurityViolation
securityViolation
- current security-violationMethod Detail |
---|
public SecurityViolation getSecurityViolation()
SecurityViolation
public void setThrowSecurityViolation(boolean throwSecurityViolation)
throwSecurityViolation
- new value for the flagpublic boolean isThrowSecurityViolation()
SecurityViolation
wrapped by the current event should be thrown as exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |