public class AppAuthManager extends AuthenticationManager
AuthenticationManager.AuthenticationStatus, AuthenticationManager.AuthResultAUTH_TIME, CLIENT_LOGOUT_STATE, END_AFTER_REQUIRED_ACTIONS, FORM_USERNAME, INVALIDATE_ACTION_TOKEN, KEYCLOAK_IDENTITY_COOKIE, KEYCLOAK_LOGOUT_PROTOCOL, KEYCLOAK_REMEMBER_ME, KEYCLOAK_SESSION_COOKIE, logger, SET_REDIRECT_URI_AFTER_REQUIRED_ACTIONS, SSO_AUTH| Constructor and Description |
|---|
AppAuthManager() |
actionRequired, authenticateIdentityCookie, backchannelLogout, backchannelLogout, backchannelLogout, backchannelLogoutUserFromClient, browserLogout, createIdentityToken, createLoginCookie, createRememberMeCookie, createRequiredAction, evaluateRequiredActionTriggers, executionActions, expireCookie, expireIdentityCookie, expireOldAuthSessionCookie, expireOldIdentityCookie, expireRememberMeCookie, expireUserSessionCookie, finishBrowserLogout, finishedRequiredActions, getAccountCookiePath, getClientLogoutAction, getIdentityCookiePath, getOldCookiePath, getRealmCookiePath, getRememberMeUsername, getSessionIdFromSessionCookie, isOfflineSessionValid, isSessionValid, isSSOAuthentication, logSuccess, lookupUserForBruteForceLog, nextActionAfterAuthentication, nextRequiredAction, redirectAfterSuccessfulFlow, redirectAfterSuccessfulFlow, redirectToRequiredActions, setClientLogoutAction, setClientScopesInSession, setKcActionStatus, verifyIdentityTokenpublic AuthenticationManager.AuthResult authenticateIdentityCookie(KeycloakSession session, RealmModel realm)
authenticateIdentityCookie in class AuthenticationManagerpublic String extractAuthorizationHeaderTokenOrReturnNull(javax.ws.rs.core.HttpHeaders headers)
headers - public String extractAuthorizationHeaderToken(javax.ws.rs.core.HttpHeaders headers)
headers - javax.ws.rs.NotAuthorizedException - if the Authorization header is not of type Bearer, or the token string is missing.public AuthenticationManager.AuthResult authenticateBearerToken(KeycloakSession session, RealmModel realm)
public AuthenticationManager.AuthResult authenticateBearerToken(KeycloakSession session)
public AuthenticationManager.AuthResult authenticateBearerToken(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers)
public AuthenticationManager.AuthResult authenticateBearerToken(String tokenString, KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers)
Copyright © 2020 JBoss by Red Hat. All rights reserved.