org.jasig.schedassist.web.security
Class DelegateAuthenticationSuccessHandler
java.lang.Object
org.jasig.schedassist.web.security.DelegateAuthenticationSuccessHandler
- All Implemented Interfaces:
- org.springframework.security.web.authentication.AuthenticationSuccessHandler
public final class DelegateAuthenticationSuccessHandler
- extends Object
- implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
AuthenticationSuccessHandler for the delegation login form.
- Version:
- $Id: DelegateAuthenticationSuccessHandler.java 2089 2010-05-03 19:04:26Z npblair $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegateAuthenticationSuccessHandler
public DelegateAuthenticationSuccessHandler()
setDelegateOwnerTarget
public void setDelegateOwnerTarget(String delegateOwnerTarget)
- Parameters:
delegateOwnerTarget - the delegateOwnerTarget to set
setDelegateRegisterTarget
public void setDelegateRegisterTarget(String delegateRegisterTarget)
- Parameters:
delegateRegisterTarget - the delegateRegisterTarget to set
setLogoutTarget
public void setLogoutTarget(String logoutTarget)
- Parameters:
logoutTarget - the logoutTarget to set
setRedirectStrategy
public void setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy)
- Parameters:
redirectStrategy - the redirectStrategy to set
onAuthenticationSuccess
public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication)
throws IOException,
javax.servlet.ServletException
- Redirects to the correct url based on the
GrantedAuthoritys contained by the Authentication argument.
- Specified by:
onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
- Throws:
IOException
javax.servlet.ServletException- See Also:
AuthenticationSuccessHandler.onAuthenticationSuccess(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.springframework.security.core.Authentication)
Copyright © 2011 Jasig. All Rights Reserved.