org.broadleafcommerce.common.security
Class BroadleafAuthenticationFailureHandler

java.lang.Object
  extended by org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
      extended by org.broadleafcommerce.common.security.BroadleafAuthenticationFailureHandler
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationFailureHandler

public class BroadleafAuthenticationFailureHandler
extends org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler


Field Summary
 
Fields inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
logger
 
Constructor Summary
BroadleafAuthenticationFailureHandler()
           
BroadleafAuthenticationFailureHandler(String defaultFailureUrl)
           
 
Method Summary
 void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception)
           
 String validateUrlParam(String url)
           
 
Methods inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
getRedirectStrategy, isAllowSessionCreation, isUseForward, saveException, setAllowSessionCreation, setDefaultFailureUrl, setRedirectStrategy, setUseForward
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadleafAuthenticationFailureHandler

public BroadleafAuthenticationFailureHandler()

BroadleafAuthenticationFailureHandler

public BroadleafAuthenticationFailureHandler(String defaultFailureUrl)
Method Detail

onAuthenticationFailure

public void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response,
                                    org.springframework.security.core.AuthenticationException exception)
                             throws IOException,
                                    javax.servlet.ServletException
Specified by:
onAuthenticationFailure in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
Overrides:
onAuthenticationFailure in class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
Throws:
IOException
javax.servlet.ServletException

validateUrlParam

public String validateUrlParam(String url)


Copyright © 2013. All Rights Reserved.