org.keycloak.services.managers

## Class AppAuthManager

- java.lang.Object
- - org.keycloak.services.managers.AuthenticationManager
  - - org.keycloak.services.managers.AppAuthManager

-     public class AppAuthManager
      extends AuthenticationManager

  Author:
    Bill Burke, Stian Thorgersen

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.keycloak.services.managers.AuthenticationManager

      `AuthenticationManager.AuthenticationStatus, AuthenticationManager.AuthResult`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static org.jboss.logging.Logger` | `logger`

    - ### Fields inherited from class org.keycloak.services.managers.AuthenticationManager

      `FORM_USERNAME, KEYCLOAK_IDENTITY_COOKIE, KEYCLOAK_REMEMBER_ME, KEYCLOAK_SESSION_COOKIE, protector, providerSession`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AppAuthManager(ProviderSession providerSession)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `AuthenticationManager.AuthResult` | `authenticateBearerToken(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers)`
    `AuthenticationManager.AuthResult` | `authenticateIdentityCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers)`
    `String` | `extractAuthorizationHeaderToken(javax.ws.rs.core.HttpHeaders headers)`

    - ### Methods inherited from class org.keycloak.services.managers.AuthenticationManager

      `authenticateForm, authenticateIdentityCookie, authenticateInternal, createIdentityToken, createLoginCookie, createRememberMeCookie, encodeToken, expireCookie, expireIdentityCookie, expireRememberMeCookie, getIdentityCookiePath, isSessionValid, logout, verifyIdentityToken`

    - ### Methods inherited from class java.lang.Object

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

- - ### Field Detail

    - #### logger

          protected static org.jboss.logging.Logger logger

  - ### Constructor Detail

    - #### AppAuthManager

          public AppAuthManager(ProviderSession providerSession)

  - ### Method Detail

    - #### authenticateIdentityCookie

          public AuthenticationManager.AuthResult authenticateIdentityCookie(RealmModel realm,
                                                                    javax.ws.rs.core.UriInfo uriInfo,
                                                                    javax.ws.rs.core.HttpHeaders headers)

      Overrides:
        `authenticateIdentityCookie` in class `AuthenticationManager`

    - #### extractAuthorizationHeaderToken

          public String extractAuthorizationHeaderToken(javax.ws.rs.core.HttpHeaders headers)

    - #### authenticateBearerToken

          public AuthenticationManager.AuthResult authenticateBearerToken(RealmModel realm,
                                                                 javax.ws.rs.core.UriInfo uriInfo,
                                                                 javax.ws.rs.core.HttpHeaders headers)

Copyright © 2014. All Rights Reserved.