com.googlecode.fascinator.portal.security.handler
Class FascinatorLoginUrlAuthenticationEntryPoint

java.lang.Object
  extended by org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
      extended by com.googlecode.fascinator.portal.security.handler.FascinatorLoginUrlAuthenticationEntryPoint
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.security.web.AuthenticationEntryPoint

public class FascinatorLoginUrlAuthenticationEntryPoint
extends org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint

A subclass of LoginUrlAuthenticationEntryPoint that will redirect the user to the login page in the correct portal

Author:
andrewbrazzatti

Constructor Summary
FascinatorLoginUrlAuthenticationEntryPoint()
           
 
Method Summary
protected  String determineUrlToUseForThisRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception)
           
 
Methods inherited from class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
afterPropertiesSet, buildHttpsRedirectUrlForRequest, buildRedirectUrlToLoginPage, commence, getLoginFormUrl, getPortMapper, getPortResolver, isForceHttps, isUseForward, setForceHttps, setLoginFormUrl, setPortMapper, setPortResolver, setUseForward
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FascinatorLoginUrlAuthenticationEntryPoint

public FascinatorLoginUrlAuthenticationEntryPoint()
Method Detail

determineUrlToUseForThisRequest

protected String determineUrlToUseForThisRequest(javax.servlet.http.HttpServletRequest request,
                                                 javax.servlet.http.HttpServletResponse response,
                                                 org.springframework.security.core.AuthenticationException exception)
Overrides:
determineUrlToUseForThisRequest in class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint


Copyright © 2009-2014. All Rights Reserved.