com.atlassian.crowd.integration.http
Class HttpAuthenticator
java.lang.Object
com.atlassian.crowd.integration.service.soap.client.GenericClient
com.atlassian.crowd.integration.http.HttpAuthenticator
public class HttpAuthenticator
- extends GenericClient
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 |
Method Summary |
static void |
authenticate(HttpServletRequest request,
HttpServletResponse response,
String username,
String password)
|
static PrincipalAuthenticationContext |
getPrincipalAuthenticationContext(HttpServletRequest request,
HttpServletResponse response,
String username,
String password)
|
static String |
getToken(HttpServletRequest request)
|
static ValidationFactor[] |
getValidationFactors(HttpServletRequest request)
|
static boolean |
isAuthenticated(HttpServletRequest request,
HttpServletResponse response)
|
static void |
logoff(HttpServletRequest request,
HttpServletResponse response)
|
static void |
setPrincipalToken(HttpServletRequest request,
HttpServletResponse response,
String token)
|
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 |
HttpAuthenticator
public HttpAuthenticator()
setPrincipalToken
public static void setPrincipalToken(HttpServletRequest request,
HttpServletResponse response,
String token)
throws InvalidAuthorizationTokenException,
RemoteException
- Throws:
InvalidAuthorizationTokenException
RemoteException
getToken
public static String getToken(HttpServletRequest request)
throws InvalidTokenException
- Throws:
InvalidTokenException
isAuthenticated
public static boolean isAuthenticated(HttpServletRequest request,
HttpServletResponse response)
throws InvalidAuthorizationTokenException,
RemoteException
- Throws:
InvalidAuthorizationTokenException
RemoteException
authenticate
public static void authenticate(HttpServletRequest request,
HttpServletResponse response,
String username,
String password)
throws InvalidAuthorizationTokenException,
RemoteException,
InvalidAuthenticationException,
InactiveAccountException
- Throws:
InvalidAuthorizationTokenException
RemoteException
InvalidAuthenticationException
InactiveAccountException
getValidationFactors
public static ValidationFactor[] getValidationFactors(HttpServletRequest request)
logoff
public static void logoff(HttpServletRequest request,
HttpServletResponse response)
throws InvalidAuthorizationTokenException,
RemoteException
- Throws:
InvalidAuthorizationTokenException
RemoteException
getPrincipalAuthenticationContext
public static PrincipalAuthenticationContext getPrincipalAuthenticationContext(HttpServletRequest request,
HttpServletResponse response,
String username,
String password)
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.