src.java.org.codehaus.groovy.grails.plugins.springsecurity
Class WithAjaxAuthenticationProcessingFilterEntryPoint

Field Summary
 String AJAX_HEADER
           
 String ajaxHeader
           
 String ajaxLoginFormUrl
           
 
Constructor Summary
WithAjaxAuthenticationProcessingFilterEntryPoint()
           
 
Method Summary
String determineUrlToUseForThisRequest(HttpServletRequest request, HttpServletResponse response, AuthenticationException exception)
          
void setAjaxHeader(String header)
           Dependency injection for the Ajax header name; defaults to 'X-Requested-With'.
void setAjaxLoginFormUrl(String url)
           Dependency injection for the Ajax login form url, e.g.
 

Constructor Detail

WithAjaxAuthenticationProcessingFilterEntryPoint

WithAjaxAuthenticationProcessingFilterEntryPoint()


Method Detail

determineUrlToUseForThisRequest

String determineUrlToUseForThisRequest(HttpServletRequest request, HttpServletResponse response, AuthenticationException exception)


setAjaxHeader

public void setAjaxHeader(String header)
Dependency injection for the Ajax header name; defaults to 'X-Requested-With'.
param:
header the header name


setAjaxLoginFormUrl

public void setAjaxLoginFormUrl(String url)
Dependency injection for the Ajax login form url, e.g. '/login/authAjax'.
param:
url the url