Class CacheAwareCrowdHttpAuthenticator

java.lang.Object
com.atlassian.crowd.integration.http.CacheAwareCrowdHttpAuthenticator
All Implemented Interfaces:
CrowdHttpAuthenticator

public class CacheAwareCrowdHttpAuthenticator extends Object implements CrowdHttpAuthenticator
CacheAwareCrowdHttpAuthenticator ensures that a user exists in the cache when a user is retrieved from the server or is authenticated.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password)
    Authenticates the user based on provided credentials.
    authenticateWithoutValidatingPassword(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username)
    Authenticates the user without validating password.
    checkAuthenticated(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Tests whether a request is authenticated via SSO.
    getToken(javax.servlet.http.HttpServletRequest request)
    Retrieves the Crowd authentication token from the request.
    getUser(javax.servlet.http.HttpServletRequest request)
    Attempts to retrieve the currently authenticated User from the request.
    boolean
    isAuthenticated(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Deprecated.
    void
    logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Logs out the authenticated user.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait