public class ResponseHeaderSettingKerberosAuthenticationSuccessHandler
extends java.lang.Object
implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
| Constructor and Description |
|---|
ResponseHeaderSettingKerberosAuthenticationSuccessHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
void |
setHeaderName(java.lang.String headerName)
Sets the name of the header to set.
|
void |
setHeaderPrefix(java.lang.String headerPrefix)
Sets the value of the prefix for the encoded response token value.
|
public ResponseHeaderSettingKerberosAuthenticationSuccessHandler()
public void setHeaderName(java.lang.String headerName)
headerName - the www authenticate header namepublic void setHeaderPrefix(java.lang.String headerPrefix)
headerPrefix - the negotiate prefixpublic void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication)
throws java.io.IOException,
javax.servlet.ServletException
onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandlerjava.io.IOExceptionjavax.servlet.ServletException