org.pac4j.springframework.security.web
Class ClientAuthenticationEntryPoint
java.lang.Object
org.pac4j.springframework.security.web.ClientAuthenticationEntryPoint
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.security.web.AuthenticationEntryPoint
public final class ClientAuthenticationEntryPoint
- extends Object
- implements org.springframework.security.web.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBean
This entry point redirects the user to the provider.
- Since:
- 1.0.0
- Author:
- Jerome Leleu
Method Summary |
void |
afterPropertiesSet()
|
void |
commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authException)
|
org.pac4j.core.client.Client<org.pac4j.core.credentials.Credentials,org.pac4j.core.profile.UserProfile> |
getClient()
|
void |
setClient(org.pac4j.core.client.Client<org.pac4j.core.credentials.Credentials,org.pac4j.core.profile.UserProfile> client)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientAuthenticationEntryPoint
public ClientAuthenticationEntryPoint()
commence
public void commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authException)
throws IOException,
javax.servlet.ServletException
- Specified by:
commence
in interface org.springframework.security.web.AuthenticationEntryPoint
- Throws:
IOException
javax.servlet.ServletException
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getClient
public org.pac4j.core.client.Client<org.pac4j.core.credentials.Credentials,org.pac4j.core.profile.UserProfile> getClient()
setClient
public void setClient(org.pac4j.core.client.Client<org.pac4j.core.credentials.Credentials,org.pac4j.core.profile.UserProfile> client)
Copyright © 2013. All Rights Reserved.