public class FederationEntryPoint extends Object implements org.springframework.security.web.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
ExceptionTranslationFilter to commence authentication via the
WS-Federation protocol.
The user's browser will be redirected to the IDP.
| Constructor and Description |
|---|
FederationEntryPoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
commence(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authenticationException) |
protected String |
extractFullContextPath(javax.servlet.http.HttpServletRequest request) |
ConfigService |
getConfigService() |
String |
getRealm() |
protected void |
preCommence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Template method for you to do your own pre-processing before the redirect occurs.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setConfigService(ConfigService configService) |
void |
setRealm(String realm) |
public ConfigService getConfigService()
public void setConfigService(ConfigService configService)
public String getRealm()
public void setRealm(String realm)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic final void commence(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authenticationException)
throws IOException,
javax.servlet.ServletException
commence in interface org.springframework.security.web.AuthenticationEntryPointIOExceptionjavax.servlet.ServletExceptionprotected void preCommence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - the HttpServletRequestresponse - the HttpServletResponsepublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionprotected String extractFullContextPath(javax.servlet.http.HttpServletRequest request) throws MalformedURLException
MalformedURLExceptionApache Fediz