com.atlassian.crowd.integration.xwork
Class CrowdAuthenticationInterceptor

java.lang.Object
  extended by com.atlassian.crowd.integration.service.soap.client.GenericClient
      extended by com.atlassian.crowd.integration.xwork.CrowdAuthenticationInterceptor

public class CrowdAuthenticationInterceptor
extends GenericClient

This interceptor manages protecting a 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.


Field Summary
static String ORIGINAL_URL
          The session key stored as a String, is the requested secure url before redirect to the authentication page.
 
Fields inherited from class com.atlassian.crowd.integration.service.soap.client.GenericClient
applciationAuthenticationContext, applicationAuthenticationURL, applicationName, applicationPassword, applicationToken, securityServerURL, sessionIsAuthenticated, sessionLastValidation, sessionTokenKey, sessionValidationInterval, UNABLE_TO_CONNECT
 
Constructor Summary
CrowdAuthenticationInterceptor()
           
 
Method Summary
 void destroy()
           
 void init()
           
 String intercept(ActionInvocation actionInvocation)
           
 
Methods inherited from class com.atlassian.crowd.integration.service.soap.client.GenericClient
authenticate, getApplciationAuthenticationContext, getApplicationAuthenticationURL, getApplicationName, getApplicationPassword, getApplicationToken, getProperties, getSecurityServer, getSecurityServerURL, getSessionIsAuthenticated, getSessionLastValidation, getSessionTokenKey, getSessionValidationInterval, setApplciationAuthenticationContext, setApplicationAuthenticationURL, setApplicationName, setApplicationPassword, setSecurityServerURL, setSessionIsAuthenticated, setSessionLastValidation, setSessionTokenKey, setSessionValidationInterval, updateProperties, updateProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORIGINAL_URL

public static final String ORIGINAL_URL
The session key stored as a String, is the requested secure url before redirect to the authentication page.

Constructor Detail

CrowdAuthenticationInterceptor

public CrowdAuthenticationInterceptor()
Method Detail

destroy

public void destroy()

init

public void init()

intercept

public String intercept(ActionInvocation actionInvocation)
                 throws Exception
Throws:
Exception


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.