public class BeforeInvocationEvent
extends org.springframework.context.ApplicationEvent
preventInvocation()
method.Constructor and Description |
---|
BeforeInvocationEvent(org.springframework.security.core.Authentication authentication,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response) |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.Authentication |
getAuthentication() |
int |
getErrorCode() |
java.lang.String |
getErrorMessage() |
javax.servlet.ServletRequest |
getRequest() |
javax.servlet.ServletResponse |
getResponse() |
org.springframework.security.core.Authentication |
getSource() |
boolean |
isInvocationPrevented() |
void |
preventInvocation() |
void |
setErrorCode(int errorCode) |
void |
setErrorMessage(java.lang.String errorMessage) |
public BeforeInvocationEvent(org.springframework.security.core.Authentication authentication, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
public org.springframework.security.core.Authentication getSource()
getSource
in class java.util.EventObject
public org.springframework.security.core.Authentication getAuthentication()
public javax.servlet.ServletRequest getRequest()
public javax.servlet.ServletResponse getResponse()
public boolean isInvocationPrevented()
public void preventInvocation()
public int getErrorCode()
public void setErrorCode(int errorCode)
public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)