keycloak
|
公開メンバ関数 | |
AuthenticationSessionManager (KeycloakSession session) | |
RootAuthenticationSessionModel | createAuthenticationSession (RealmModel realm, boolean browserCookie) |
RootAuthenticationSessionModel | getCurrentRootAuthenticationSession (RealmModel realm) |
UserSessionModel | getUserSessionFromAuthCookie (RealmModel realm) |
AuthenticationSessionModel | getCurrentAuthenticationSession (RealmModel realm, ClientModel client, String tabId) |
void | setAuthSessionCookie (String authSessionId, RealmModel realm) |
void | removeAuthenticationSession (RealmModel realm, AuthenticationSessionModel authSession, boolean expireRestartCookie) |
UserSessionModel | getUserSession (AuthenticationSessionModel authSession) |
AuthenticationSessionModel | getAuthenticationSessionByIdAndClient (RealmModel realm, String authSessionId, ClientModel client, String tabId) |
静的公開変数類 | |
static final String | AUTH_SESSION_ID = "AUTH_SESSION_ID" |
static final int | AUTH_SESSION_LIMIT = 3 |
関数 | |
AuthSessionId | decodeAuthSessionId (String encodedAuthSessionId) |
void | reencodeAuthSessionCookie (String oldEncodedAuthSessionId, AuthSessionId newAuthSessionId, RealmModel realm) |
List< String > | getAuthSessionCookies (RealmModel realm) |
非公開変数類 | |
final KeycloakSession | session |
静的非公開変数類 | |
static final Logger | log = Logger.getLogger(AuthenticationSessionManager.class) |
|
inline |
|
inline |
Creates a fresh authentication session for the given realm . Optionally sets the browser authentication session cookie AUTH_SESSION_ID with the ID of the new session.
realm | |
browserCookie | Set the cookie in the browser for the |
|
inlinepackage |
encodedAuthSessionId | encoded ID with attached route in cluster environment (EG. "5e161e00-d426-4ea6-98e9-52eb9844e2d7.node1" ) |
|
inline |
|
inlinepackage |
realm |
|
inline |
Returns current authentication session if it exists, otherwise returns
.
realm |
|
inline |
|
inline |
|
inline |
|
inlinepackage |
|
inline |
|
inline |
authSessionId | decoded authSessionId (without route info attached) |
realm |
|
static |
|
static |
|
staticprivate |
|
private |