public class CrowdAuthenticationInterceptor extends Object implements com.opensymphony.xwork.interceptor.Interceptor
web.xml
url-pattern
. If the requesting principal does
not have a valid token, they will be redirected to the authentication path specified in the crowd.properties
configuration file. Additional values are stored to the principal's session such as their originally requested
URL should their authentication be found invalid.Modifier and Type | Field and Description |
---|---|
static String |
ORIGINAL_URL
The session key stored as a
String |
Constructor and Description |
---|
CrowdAuthenticationInterceptor()
Use this default constructor if you are not
using an IoC managed HttpAuthenticator/SecurityServerClient.
|
CrowdAuthenticationInterceptor(HttpAuthenticator httpAuthenticator)
Use this constructor to provide an externally managed
singleton instance of the HttpAuthenticator.
|
public static final String ORIGINAL_URL
String, is the
requested secure url before redirect to the authentication
page.
public CrowdAuthenticationInterceptor()
public CrowdAuthenticationInterceptor(HttpAuthenticator httpAuthenticator)
httpAuthenticator
- externally managed singleton.Copyright © 2013 Atlassian. All Rights Reserved.