org.jasig.cas.client.authentication
Class FacesCompatibleAuthenticationRedirectStrategy

java.lang.Object
  extended by org.jasig.cas.client.authentication.FacesCompatibleAuthenticationRedirectStrategy
All Implemented Interfaces:
AuthenticationRedirectStrategy

public final class FacesCompatibleAuthenticationRedirectStrategy
extends Object
implements AuthenticationRedirectStrategy

Implementation of the redirect strategy that can handle a Faces Ajax request in addition to the standard redirect style.

Since:
3.3.0
Author:
Scott Battaglia

Constructor Summary
FacesCompatibleAuthenticationRedirectStrategy()
           
 
Method Summary
 void redirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String potentialRedirectUrl)
          Method name is a bit of a misnomer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesCompatibleAuthenticationRedirectStrategy

public FacesCompatibleAuthenticationRedirectStrategy()
Method Detail

redirect

public void redirect(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     String potentialRedirectUrl)
              throws IOException
Description copied from interface: AuthenticationRedirectStrategy
Method name is a bit of a misnomer. This method handles "redirection" for a localized version of redirection (i.e. AJAX might mean an XML fragment that contains the url to go to).

Specified by:
redirect in interface AuthenticationRedirectStrategy
Parameters:
request - the original HttpServletRequest. MAY NOT BE NULL.
response - the original HttpServletResponse. MAY NOT BE NULL.
potentialRedirectUrl - the url that might be used (there are no guarantees of course!)
Throws:
IOException - the exception to throw if there is some type of error. This will bubble up through the filter.


Copyright © 2006-2015 Jasig. All Rights Reserved.