|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.ui.cas.CasProcessingFilterEntryPoint
public class CasProcessingFilterEntryPoint
Used by the SecurityEnforcementFilter to commence authentication via the JA-SIG Central
Authentication Service (CAS).
The user's browser will be redirected to the JA-SIG CAS enterprise-wide login
page. This page is specified by the loginUrl property. Once login is complete, the CAS login page will
redirect to the page indicated by the service property. The service is a HTTP URL
belonging to the current application. The service URL is monitored by the CasProcessingFilter,
which will validate the CAS login was successful.
| Constructor Summary | |
|---|---|
CasProcessingFilterEntryPoint()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
commence(ServletRequest servletRequest,
ServletResponse servletResponse,
AuthenticationException authenticationException)
Commences an authentication scheme. |
String |
getLoginUrl()
The enterprise-wide CAS login URL. |
ServiceProperties |
getServiceProperties()
|
void |
setLoginUrl(String loginUrl)
|
void |
setServiceProperties(ServiceProperties serviceProperties)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CasProcessingFilterEntryPoint()
| Method Detail |
|---|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanException
public void commence(ServletRequest servletRequest,
ServletResponse servletResponse,
AuthenticationException authenticationException)
throws IOException,
ServletException
AuthenticationEntryPointSecurityEnforcementFilter will populate the
HttpSession attribute named
AuthenticationProcessingFilter.ACEGI_SECURITY_TARGET_URL_KEY with the requested target URL before
calling this method.
Implementations should modify the headers on the ServletResponse as necessary to
commence the authentication process.
commence in interface AuthenticationEntryPointservletRequest - that resulted in an AuthenticationExceptionservletResponse - so that the user agent can begin authenticationauthenticationException - that caused the invocation
IOException - DOCUMENT ME!
ServletException - DOCUMENT ME!public String getLoginUrl()
https://www.mycompany.com/cas/login.
public ServiceProperties getServiceProperties()
public void setLoginUrl(String loginUrl)
public void setServiceProperties(ServiceProperties serviceProperties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||