public class GenericErrorAuthenticationFailureHandler extends Object implements org.springframework.security.web.authentication.AuthenticationFailureHandler
Constructor and Description |
---|
GenericErrorAuthenticationFailureHandler() |
GenericErrorAuthenticationFailureHandler(SamlTemplateEngine engine,
String template) |
Modifier and Type | Method and Description |
---|---|
SamlTemplateEngine |
getEngine() |
protected String |
getErrorMessage(Exception exception) |
String |
getTemplate() |
void |
onAuthenticationFailure(HttpServletRequest request,
HttpServletResponse response,
org.springframework.security.core.AuthenticationException exception) |
protected void |
processHtml(HttpServletRequest request,
HttpServletResponse response,
Map<String,Object> model) |
public GenericErrorAuthenticationFailureHandler()
public GenericErrorAuthenticationFailureHandler(SamlTemplateEngine engine, String template)
public void onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) throws IOException, ServletException
onAuthenticationFailure
in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
IOException
ServletException
protected void processHtml(HttpServletRequest request, HttpServletResponse response, Map<String,Object> model)
public SamlTemplateEngine getEngine()
public String getTemplate()