Modifier and Type | Method and Description |
---|---|
LogoutToken |
DefaultTokenManager.initLogoutToken(ClientModel client,
UserModel user,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Field and Description |
---|---|
static SearchableModelField<AuthenticatedClientSessionModel> |
AuthenticatedClientSessionModel.SearchableFields.CLIENT_ID |
static SearchableModelField<AuthenticatedClientSessionModel> |
AuthenticatedClientSessionModel.SearchableFields.ID |
static SearchableModelField<AuthenticatedClientSessionModel> |
AuthenticatedClientSessionModel.SearchableFields.IS_OFFLINE |
static SearchableModelField<AuthenticatedClientSessionModel> |
AuthenticatedClientSessionModel.SearchableFields.REALM_ID |
static SearchableModelField<AuthenticatedClientSessionModel> |
AuthenticatedClientSessionModel.SearchableFields.TIMESTAMP |
static SearchableModelField<AuthenticatedClientSessionModel> |
AuthenticatedClientSessionModel.SearchableFields.USER_SESSION_ID |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
UserSessionProvider.createClientSession(RealmModel realm,
ClientModel client,
UserSessionModel userSession) |
AuthenticatedClientSessionModel |
UserSessionProvider.createOfflineClientSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel offlineUserSession)
Will automatically attach newly created offline client session to the offlineUserSession
|
default AuthenticatedClientSessionModel |
UserSessionModel.getAuthenticatedClientSessionByClient(String clientUUID)
Returns a client session for the given client UUID.
|
AuthenticatedClientSessionModel |
ClientSessionContext.getClientSession() |
AuthenticatedClientSessionModel |
UserSessionProvider.getClientSession(UserSessionModel userSession,
ClientModel client,
String clientSessionId,
boolean offline) |
default AuthenticatedClientSessionModel |
UserSessionProvider.getClientSession(UserSessionModel userSession,
ClientModel client,
UUID clientSessionId,
boolean offline)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,AuthenticatedClientSessionModel> |
UserSessionModel.getAuthenticatedClientSessions()
Returns map where key is ID of the client (its UUID) and value is ID respective
AuthenticatedClientSessionModel object. |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
UserSessionProvider.createOfflineClientSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel offlineUserSession)
Will automatically attach newly created offline client session to the offlineUserSession
|
LogoutToken |
TokenManager.initLogoutToken(ClientModel client,
UserModel user,
AuthenticatedClientSessionModel clientSessionModel) |
void |
SamlArtifactSessionMappingStoreProvider.put(String artifact,
int lifespanSeconds,
AuthenticatedClientSessionModel clientSessionModel)
Stores the given data and guarantees that data should be available in the store for at least the time specified by parameter
|
Modifier and Type | Method and Description |
---|---|
void |
JpaUserSessionPersisterProvider.createClientSession(AuthenticatedClientSessionModel clientSession,
boolean offline) |
Modifier and Type | Field and Description |
---|---|
static Map<SearchableModelField<AuthenticatedClientSessionModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapAuthenticatedClientSessionEntity,AuthenticatedClientSessionModel>> |
MapFieldPredicates.CLIENT_SESSION_PREDICATES |
static Map<SearchableModelField<AuthenticatedClientSessionModel>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapAuthenticatedClientSessionEntity,AuthenticatedClientSessionModel>> |
MapFieldPredicates.CLIENT_SESSION_PREDICATES |
Constructor and Description |
---|
UserSessionConcurrentHashMapStorage(ConcurrentHashMapStorage<K,MapAuthenticatedClientSessionEntity,AuthenticatedClientSessionModel> clientSessionStore,
StringKeyConvertor<K> keyConvertor) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAuthenticatedClientSessionModel |
class |
MapAuthenticatedClientSessionAdapter |
Modifier and Type | Field and Description |
---|---|
protected MapKeycloakTransaction<MapAuthenticatedClientSessionEntity,AuthenticatedClientSessionModel> |
MapUserSessionProvider.clientSessionTx |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
MapUserSessionProvider.createClientSession(RealmModel realm,
ClientModel client,
UserSessionModel userSession) |
AuthenticatedClientSessionModel |
MapUserSessionProvider.createOfflineClientSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel offlineUserSession) |
AuthenticatedClientSessionModel |
MapUserSessionAdapter.getAuthenticatedClientSessionByClient(String clientUUID) |
AuthenticatedClientSessionModel |
MapUserSessionProvider.getClientSession(UserSessionModel userSession,
ClientModel client,
String clientSessionId,
boolean offline) |
Modifier and Type | Method and Description |
---|---|
Map<String,AuthenticatedClientSessionModel> |
MapUserSessionAdapter.getAuthenticatedClientSessions() |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
MapUserSessionProvider.createOfflineClientSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel offlineUserSession) |
Constructor and Description |
---|
MapUserSessionProvider(KeycloakSession session,
MapStorage<MapUserSessionEntity,UserSessionModel> userSessionStore,
MapStorage<MapAuthenticatedClientSessionEntity,AuthenticatedClientSessionModel> clientSessionStore) |
Modifier and Type | Class and Description |
---|---|
class |
PersistentAuthenticatedClientSessionAdapter |
Modifier and Type | Method and Description |
---|---|
Map<String,AuthenticatedClientSessionModel> |
PersistentUserSessionAdapter.getAuthenticatedClientSessions() |
Modifier and Type | Method and Description |
---|---|
void |
UserSessionPersisterProvider.createClientSession(AuthenticatedClientSessionModel clientSession,
boolean offline) |
void |
DisabledUserSessionPersisterProvider.createClientSession(AuthenticatedClientSessionModel clientSession,
boolean offline) |
Constructor and Description |
---|
PersistentAuthenticatedClientSessionAdapter(KeycloakSession session,
AuthenticatedClientSessionModel clientSession) |
Constructor and Description |
---|
PersistentUserSessionAdapter(KeycloakSession session,
PersistentUserSessionModel model,
RealmModel realm,
String userId,
Map<String,AuthenticatedClientSessionModel> clientSessions) |
Modifier and Type | Class and Description |
---|---|
class |
AuthenticatedClientSessionAdapter |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
InfinispanUserSessionProvider.createClientSession(RealmModel realm,
ClientModel client,
UserSessionModel userSession) |
AuthenticatedClientSessionModel |
InfinispanUserSessionProvider.createOfflineClientSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel offlineUserSession) |
AuthenticatedClientSessionModel |
UserSessionAdapter.getAuthenticatedClientSessionByClient(String clientUUID) |
Modifier and Type | Method and Description |
---|---|
Map<String,AuthenticatedClientSessionModel> |
UserSessionAdapter.getAuthenticatedClientSessions() |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
InfinispanUserSessionProvider.createOfflineClientSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel offlineUserSession) |
void |
InfinispanSamlArtifactSessionMappingStoreProvider.put(String artifact,
int lifespanSeconds,
AuthenticatedClientSessionModel clientSessionModel) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
LoginProtocol.backchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
javax.ws.rs.core.Response |
LoginProtocol.frontchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
DockerAuthV2Protocol.backchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
javax.ws.rs.core.Response |
DockerAuthV2Protocol.frontchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
DockerResponseToken |
DockerAuthV2AttributeMapper.transformDockerResponseToken(DockerResponseToken responseToken,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
DockerResponseToken |
AllowAllDockerProtocolMapper.transformDockerResponseToken(DockerResponseToken responseToken,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
OIDCLoginProtocol.backchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
static void |
TokenManager.dettachClientSession(AuthenticatedClientSessionModel clientSession) |
javax.ws.rs.core.Response |
OIDCLoginProtocol.frontchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
TokenEndpoint.TokenExchangeSamlProtocol.buildAuthenticatedResponse(AuthenticatedClientSessionModel clientSession,
String redirectUri,
Document samlDocument,
JaxrsSAML2BindingBuilder bindingBuilder) |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
DeviceGrantType.approveOAuth2DeviceAuthorization(AuthenticationSessionModel authSession,
AuthenticatedClientSessionModel clientSession,
KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
OAuth2CodeParser.ParseResult.getClientSession() |
Modifier and Type | Method and Description |
---|---|
static OIDCRedirectUriBuilder |
OIDCRedirectUriBuilder.fromUri(String baseUri,
OIDCResponseMode responseMode,
KeycloakSession session,
AuthenticatedClientSessionModel clientSession) |
static String |
OAuth2CodeParser.persistCode(KeycloakSession session,
AuthenticatedClientSessionModel clientSession,
OAuth2Code codeData)
Will persist the code to the cache and return the object with the codeData and code correctly set
|
Modifier and Type | Method and Description |
---|---|
static AuthenticatedClientSessionModel |
SamlSessionUtils.getClientSession(KeycloakSession session,
RealmModel realm,
String sessionIndex) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
SamlProtocol.backchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
String |
ArtifactResolver.buildArtifact(AuthenticatedClientSessionModel clientSessionModel,
String entityId,
String artifactResponse)
Creates and stores an artifact
|
String |
DefaultSamlArtifactResolver.buildArtifact(AuthenticatedClientSessionModel clientSessionModel,
String entityId,
String artifactResponse) |
protected String |
SamlProtocol.buildArtifactAndStoreResponse(SAML2Object saml2Object,
AuthenticatedClientSessionModel clientSessionModel) |
protected javax.ws.rs.core.Response |
SamlProtocol.buildArtifactAuthenticatedResponse(AuthenticatedClientSessionModel clientSession,
String redirectUri,
SAML2Object samlDocument,
JaxrsSAML2BindingBuilder bindingBuilder)
This method, instead of sending the actual response with the token sends
the artifact message via post or redirect.
|
protected javax.ws.rs.core.Response |
SamlProtocol.buildAuthenticatedResponse(AuthenticatedClientSessionModel clientSession,
String redirectUri,
Document samlDocument,
JaxrsSAML2BindingBuilder bindingBuilder) |
protected LogoutRequestType |
SamlProtocol.createLogoutRequest(String logoutUrl,
AuthenticatedClientSessionModel clientSession,
ClientModel client,
SamlProtocolExtensionsAwareBuilder.NodeGenerator... extensions) |
javax.ws.rs.core.Response |
SamlProtocol.frontchannelLogout(UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
protected String |
SamlProtocol.getSAMLNameId(List<SamlProtocol.ProtocolMapperProcessor<SAMLNameIdMapper>> samlNameIdMappers,
String nameIdFormat,
KeycloakSession session,
UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
static String |
SamlSessionUtils.getSessionIndex(AuthenticatedClientSessionModel clientSession) |
protected boolean |
SamlProtocol.isLogoutPostBindingForClient(AuthenticatedClientSessionModel clientSession) |
protected boolean |
SamlProtocol.isPostBinding(AuthenticatedClientSessionModel clientSession) |
AttributeStatementType |
SamlProtocol.populateAttributeStatements(List<SamlProtocol.ProtocolMapperProcessor<SAMLAttributeStatementMapper>> attributeStatementMappers,
KeycloakSession session,
UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
String |
ArtifactResolver.resolveArtifact(AuthenticatedClientSessionModel clientSessionModel,
String artifact)
Returns a serialized Saml ArtifactResponse corresponding to the artifact that was created by
buildArtifact |
String |
DefaultSamlArtifactResolver.resolveArtifact(AuthenticatedClientSessionModel clientSessionModel,
String artifact) |
Modifier and Type | Method and Description |
---|---|
default LogoutRequestType |
SamlAuthenticationPreprocessor.beforeProcessingLogoutRequest(LogoutRequestType logoutRequest,
UserSessionModel authSession,
AuthenticatedClientSessionModel clientSession)
Called before a logout request is processed.
|
default LogoutRequestType |
SamlAuthenticationPreprocessor.beforeSendingLogoutRequest(LogoutRequestType logoutRequest,
UserSessionModel authSession,
AuthenticatedClientSessionModel clientSession)
Called before a logout request is sent.
|
default StatusResponseType |
SamlAuthenticationPreprocessor.beforeSendingResponse(StatusResponseType statusResponse,
AuthenticatedClientSessionModel clientSession)
Called before a response is sent back to the client.
|
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
ServiceAccountTokenRequestContext.getClientSession() |
Constructor and Description |
---|
ServiceAccountTokenRequestContext(javax.ws.rs.core.MultivaluedMap<String,String> params,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
Auth.getClientSession() |
Modifier and Type | Method and Description |
---|---|
void |
UserSessionManager.createOrUpdateOfflineSession(AuthenticatedClientSessionModel clientSession,
UserSessionModel userSession) |
static boolean |
AuthenticationManager.isSSOAuthentication(AuthenticatedClientSessionModel clientSession) |
javax.ws.rs.core.Response |
ResourceAdminManager.logoutClientSession(RealmModel realm,
ClientModel resource,
AuthenticatedClientSessionModel clientSession) |
javax.ws.rs.core.Response |
ResourceAdminManager.logoutClientSessionWithBackchannelLogoutUrl(ClientModel resource,
AuthenticatedClientSessionModel clientSession) |
protected javax.ws.rs.core.Response |
ResourceAdminManager.sendBackChannelLogoutRequestToClientUri(ClientModel resource,
AuthenticatedClientSessionModel clientSessionModel,
String managementUrl) |
void |
Auth.setClientSession(AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
ResourceAdminManager.logoutClientSessions(RealmModel realm,
ClientModel resource,
List<AuthenticatedClientSessionModel> clientSessions) |
Modifier and Type | Method and Description |
---|---|
AuthenticatedClientSessionModel |
DefaultClientSessionContext.getClientSession() |
Modifier and Type | Method and Description |
---|---|
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionAndClientScopeIds(AuthenticatedClientSessionModel clientSession,
Set<String> clientScopeIds,
KeycloakSession session) |
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionAndClientScopes(AuthenticatedClientSessionModel clientSession,
Stream<ClientScopeModel> clientScopes,
KeycloakSession session) |
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionAndScopeParameter(AuthenticatedClientSessionModel clientSession,
String scopeParam,
KeycloakSession session) |
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionScopeParameter(AuthenticatedClientSessionModel clientSession,
KeycloakSession session)
Useful if we want to "re-compute" client scopes based on the scope parameter
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.