Package org.dspace.rest.authentication
Class NoRedirectAuthenticationLoginSuccessHandler
- java.lang.Object
-
- org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
-
- org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
-
- org.dspace.rest.authentication.NoRedirectAuthenticationLoginSuccessHandler
-
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
public class NoRedirectAuthenticationLoginSuccessHandler extends org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
- Author:
- kevinvandevelde at atmire.com Spring redirects to the home page after a successfull login. This success handles ensures that this is NOT the case.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
NoRedirectAuthenticationLoginSuccessHandler.NoRedirectStrategy
-
Constructor Summary
Constructors Constructor Description NoRedirectAuthenticationLoginSuccessHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
-
Methods inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
clearAuthenticationAttributes, onAuthenticationSuccess
-
Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
determineTargetUrl, determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
-
-