Modifier and Type | Field and Description |
---|---|
protected ClientSessionModel |
RequiredActionContextResult.clientSession |
protected ClientSessionModel |
AuthenticationProcessor.clientSession |
Modifier and Type | Method and Description |
---|---|
static ClientSessionModel |
AuthenticationProcessor.clone(KeycloakSession session,
ClientSessionModel clientSession) |
ClientSessionModel |
RequiredActionContextResult.getClientSession() |
ClientSessionModel |
AuthenticationProcessor.getClientSession() |
ClientSessionModel |
AuthenticationProcessor.Result.getClientSession() |
ClientSessionModel |
RequiredActionContext.getClientSession() |
ClientSessionModel |
FormContext.getClientSession()
ClientSessionModel attached to this flow
|
ClientSessionModel |
AuthenticationFlowContext.getClientSession()
ClientSessionModel attached to this flow
|
Modifier and Type | Method and Description |
---|---|
static ClientSessionModel |
AuthenticationProcessor.clone(KeycloakSession session,
ClientSessionModel clientSession) |
static javax.ws.rs.core.Response |
AuthenticationProcessor.redirectToRequiredActions(RealmModel realm,
ClientSessionModel clientSession,
javax.ws.rs.core.UriInfo uriInfo) |
static void |
AuthenticationProcessor.resetFlow(ClientSessionModel clientSession) |
AuthenticationProcessor |
AuthenticationProcessor.setClientSession(ClientSessionModel clientSession) |
Constructor and Description |
---|
RequiredActionContextResult(UserSessionModel userSession,
ClientSessionModel clientSession,
RealmModel realm,
EventBuilder eventBuilder,
KeycloakSession session,
org.jboss.resteasy.spi.HttpRequest httpRequest,
UserModel user,
RequiredActionFactory factory) |
Modifier and Type | Method and Description |
---|---|
static UserModel |
AbstractIdpAuthenticator.getExistingUser(KeycloakSession session,
RealmModel realm,
ClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
BrokeredIdentityContext |
SerializedBrokeredIdentityContext.deserialize(KeycloakSession session,
ClientSessionModel clientSession) |
static SerializedBrokeredIdentityContext |
SerializedBrokeredIdentityContext.readFromClientSession(ClientSessionModel clientSession,
String noteKey) |
void |
SerializedBrokeredIdentityContext.saveToClientSession(ClientSessionModel clientSession,
String noteKey) |
Modifier and Type | Method and Description |
---|---|
static void |
VerifyEmail.setupKey(ClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
void |
OIDCIdentityProvider.attachUserSession(UserSessionModel userSession,
ClientSessionModel clientSession,
BrokeredIdentityContext context) |
Modifier and Type | Method and Description |
---|---|
ClientSessionModel |
BrokeredIdentityContext.getClientSession() |
ClientSessionModel |
AuthenticationRequest.getClientSession() |
Modifier and Type | Method and Description |
---|---|
void |
IdentityProvider.attachUserSession(UserSessionModel userSession,
ClientSessionModel clientSession,
BrokeredIdentityContext context) |
void |
AbstractIdentityProvider.attachUserSession(UserSessionModel userSession,
ClientSessionModel clientSession,
BrokeredIdentityContext context) |
void |
BrokeredIdentityContext.setClientSession(ClientSessionModel clientSession) |
Constructor and Description |
---|
AuthenticationRequest(KeycloakSession session,
RealmModel realm,
ClientSessionModel clientSession,
org.jboss.resteasy.spi.HttpRequest httpRequest,
javax.ws.rs.core.UriInfo uriInfo,
String state,
String redirectUri) |
Modifier and Type | Method and Description |
---|---|
void |
SAMLIdentityProvider.attachUserSession(UserSessionModel userSession,
ClientSessionModel clientSession,
BrokeredIdentityContext context) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
LoginFormsProvider.createOAuthGrant(ClientSessionModel clientSessionModel) |
LoginFormsProvider |
LoginFormsProvider.setClientSession(ClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
FreeMarkerLoginFormsProvider.createOAuthGrant(ClientSessionModel clientSession) |
LoginFormsProvider |
FreeMarkerLoginFormsProvider.setClientSession(ClientSessionModel clientSession) |
Constructor and Description |
---|
OAuthGrantBean(String code,
ClientSessionModel clientSession,
ClientModel client,
List<RoleModel> realmRolesRequested,
javax.ws.rs.core.MultivaluedMap<String,RoleModel> resourceRolesRequested,
List<ProtocolMapperModel> protocolMappersRequested,
String accessRequestMessage) |
Modifier and Type | Method and Description |
---|---|
ClientSessionModel |
UserSessionProvider.createClientSession(RealmModel realm,
ClientModel client) |
ClientSessionModel |
UserSessionProvider.createOfflineClientSession(ClientSessionModel clientSession) |
ClientSessionModel |
UserSessionProvider.getClientSession(RealmModel realm,
String id) |
ClientSessionModel |
UserSessionProvider.getClientSession(String id) |
ClientSessionModel |
UserSessionProvider.getOfflineClientSession(RealmModel realm,
String clientSessionId) |
ClientSessionModel |
UserSessionProvider.importClientSession(ClientSessionModel persistentClientSession,
boolean offline) |
Modifier and Type | Method and Description |
---|---|
List<ClientSessionModel> |
UserSessionModel.getClientSessions() |
List<ClientSessionModel> |
UserSessionProvider.getOfflineClientSessions(RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
ClientSessionModel |
UserSessionProvider.createOfflineClientSession(ClientSessionModel clientSession) |
ClientSessionModel |
UserSessionProvider.importClientSession(ClientSessionModel persistentClientSession,
boolean offline) |
void |
UserSessionProvider.removeClientSession(RealmModel realm,
ClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
void |
JpaUserSessionPersisterProvider.createClientSession(ClientSessionModel clientSession,
boolean offline) |
Modifier and Type | Method and Description |
---|---|
void |
MongoUserSessionPersisterProvider.createClientSession(ClientSessionModel clientSession,
boolean offline) |
Modifier and Type | Class and Description |
---|---|
class |
PersistentClientSessionAdapter |
Modifier and Type | Method and Description |
---|---|
List<ClientSessionModel> |
PersistentUserSessionAdapter.getClientSessions() |
Modifier and Type | Method and Description |
---|---|
void |
UserSessionPersisterProvider.createClientSession(ClientSessionModel clientSession,
boolean offline) |
void |
DisabledUserSessionPersisterProvider.createClientSession(ClientSessionModel clientSession,
boolean offline) |
Constructor and Description |
---|
PersistentClientSessionAdapter(ClientSessionModel clientSession) |
Constructor and Description |
---|
PersistentUserSessionAdapter(PersistentUserSessionModel model,
RealmModel realm,
UserModel user,
List<ClientSessionModel> clientSessions) |
Modifier and Type | Class and Description |
---|---|
class |
ClientSessionAdapter |
Modifier and Type | Method and Description |
---|---|
ClientSessionModel |
InfinispanUserSessionProvider.createClientSession(RealmModel realm,
ClientModel client) |
ClientSessionModel |
InfinispanUserSessionProvider.createOfflineClientSession(ClientSessionModel clientSession) |
ClientSessionModel |
InfinispanUserSessionProvider.getClientSession(RealmModel realm,
String id) |
protected ClientSessionModel |
InfinispanUserSessionProvider.getClientSession(RealmModel realm,
String id,
boolean offline) |
ClientSessionModel |
InfinispanUserSessionProvider.getClientSession(String id) |
ClientSessionModel |
InfinispanUserSessionProvider.getOfflineClientSession(RealmModel realm,
String clientSessionId) |
Modifier and Type | Method and Description |
---|---|
List<ClientSessionModel> |
UserSessionAdapter.getClientSessions() |
List<ClientSessionModel> |
InfinispanUserSessionProvider.getOfflineClientSessions(RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
ClientSessionModel |
InfinispanUserSessionProvider.createOfflineClientSession(ClientSessionModel clientSession) |
ClientSessionAdapter |
InfinispanUserSessionProvider.importClientSession(ClientSessionModel clientSession,
boolean offline) |
void |
InfinispanUserSessionProvider.removeClientSession(RealmModel realm,
ClientSessionModel clientSession) |
protected void |
InfinispanUserSessionProvider.removeClientSession(RealmModel realm,
ClientSessionModel clientSession,
boolean offline) |
Modifier and Type | Method and Description |
---|---|
static ClientSessionModel |
RestartLoginCookie.restartSession(KeycloakSession session,
RealmModel realm,
String code) |
Modifier and Type | Method and Description |
---|---|
void |
LoginProtocol.backchannelLogout(UserSessionModel userSession,
ClientSessionModel clientSession) |
protected AuthenticationProcessor |
AuthorizationEndpointBase.createProcessor(ClientSessionModel clientSession,
String flowId,
String flowPath) |
javax.ws.rs.core.Response |
LoginProtocol.frontchannelLogout(UserSessionModel userSession,
ClientSessionModel clientSession) |
protected javax.ws.rs.core.Response |
AuthorizationEndpointBase.handleBrowserAuthenticationRequest(ClientSessionModel clientSession,
LoginProtocol protocol,
boolean isPassive,
boolean redirectToAuthentication)
Common method to handle browser authentication request in protocols unified way.
|
boolean |
LoginProtocol.requireReauthentication(UserSessionModel userSession,
ClientSessionModel clientSession) |
javax.ws.rs.core.Response |
LoginProtocol.sendError(ClientSessionModel clientSession,
LoginProtocol.Error error) |
static void |
RestartLoginCookie.setRestartCookie(RealmModel realm,
ClientConnection connection,
javax.ws.rs.core.UriInfo uriInfo,
ClientSessionModel clientSession) |
Constructor and Description |
---|
RestartLoginCookie(ClientSessionModel clientSession) |
Modifier and Type | Field and Description |
---|---|
ClientSessionModel |
TokenManager.TokenValidation.clientSession |
Constructor and Description |
---|
AccessTokenResponseBuilder(RealmModel realm,
ClientModel client,
EventBuilder event,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession) |
TokenValidation(UserModel user,
UserSessionModel userSession,
ClientSessionModel clientSession,
AccessToken newToken) |
Modifier and Type | Method and Description |
---|---|
void |
SamlProtocol.backchannelLogout(UserSessionModel userSession,
ClientSessionModel clientSession) |
protected javax.ws.rs.core.Response |
SamlProtocol.buildAuthenticatedResponse(ClientSessionModel clientSession,
String redirectUri,
Document samlDocument,
JaxrsSAML2BindingBuilder bindingBuilder) |
protected javax.ws.rs.core.Response |
SamlProtocol.buildErrorResponse(ClientSessionModel clientSession,
JaxrsSAML2BindingBuilder binding,
Document document) |
protected SAML2LogoutRequestBuilder |
SamlProtocol.createLogoutRequest(String logoutUrl,
ClientSessionModel clientSession,
ClientModel client) |
javax.ws.rs.core.Response |
SamlProtocol.frontchannelLogout(UserSessionModel userSession,
ClientSessionModel clientSession) |
protected String |
SamlProtocol.getNameId(String nameIdFormat,
ClientSessionModel clientSession,
UserSessionModel userSession) |
protected String |
SamlProtocol.getNameIdFormat(SamlClient samlClient,
ClientSessionModel clientSession) |
protected String |
SamlProtocol.getPersistentNameId(ClientSessionModel clientSession,
UserSessionModel userSession)
Attempts to retrieve the persistent type NameId as follows:
saml.persistent.name.id.for.$clientId user attribute
saml.persistent.name.id.for.* user attribute
G-$randomUuid
If a randomUuid is generated, an attribute for the given saml.persistent.name.id.for.$clientId will be generated,
otherwise no state change will occur with respect to the user's attributes.
|
protected boolean |
SamlProtocol.isLogoutPostBindingForClient(ClientSessionModel clientSession) |
protected boolean |
SamlProtocol.isPostBinding(ClientSessionModel clientSession) |
protected javax.ws.rs.core.Response |
SamlService.newBrowserAuthentication(ClientSessionModel clientSession,
boolean isPassive,
boolean redirectToAuthentication) |
protected javax.ws.rs.core.Response |
SamlService.newBrowserAuthentication(ClientSessionModel clientSession,
boolean isPassive,
boolean redirectToAuthentication,
SamlProtocol samlProtocol) |
AttributeStatementType |
SamlProtocol.populateAttributeStatements(List<SamlProtocol.ProtocolMapperProcessor<SAMLAttributeStatementMapper>> attributeStatementMappers,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession) |
void |
SamlProtocol.populateRoles(SamlProtocol.ProtocolMapperProcessor<SAMLRoleListMapper> roleListMapper,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession,
AttributeStatementType existingAttributeStatement) |
boolean |
SamlProtocol.requireReauthentication(UserSessionModel userSession,
ClientSessionModel clientSession) |
javax.ws.rs.core.Response |
SamlProtocol.sendError(ClientSessionModel clientSession,
LoginProtocol.Error error) |
ResponseType |
SamlProtocol.transformLoginResponse(List<SamlProtocol.ProtocolMapperProcessor<SAMLLoginResponseMapper>> mappers,
ResponseType response,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
SamlEcpProfileService.newBrowserAuthentication(ClientSessionModel clientSession,
boolean isPassive,
boolean redirectToAuthentication,
SamlProtocol samlProtocol) |
Modifier and Type | Method and Description |
---|---|
ClientSessionModel |
UserSessionManager.findOfflineClientSession(RealmModel realm,
String clientSessionId,
String userSessionId) |
ClientSessionModel |
Auth.getClientSession() |
ClientSessionModel |
ClientSessionCode.getClientSession() |
ClientSessionModel |
ClientSessionCode.ParseResult.getClientSession() |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
AuthenticationManager.actionRequired(KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession,
ClientConnection clientConnection,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
EventBuilder event) |
static void |
AuthenticationManager.backchannelLogoutClientSession(KeycloakSession session,
RealmModel realm,
ClientSessionModel clientSession,
UserSessionModel userSession,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers) |
void |
UserSessionManager.createOrUpdateOfflineSession(ClientSessionModel clientSession,
UserSessionModel userSession) |
static void |
AuthenticationManager.evaluateRequiredActionTriggers(KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession,
ClientConnection clientConnection,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
EventBuilder event,
RealmModel realm,
UserModel user) |
protected static javax.ws.rs.core.Response |
AuthenticationManager.executionActions(KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession,
org.jboss.resteasy.spi.HttpRequest request,
EventBuilder event,
RealmModel realm,
UserModel user,
Set<String> requiredActions) |
static javax.ws.rs.core.Response |
AuthenticationManager.finishedRequiredActions(KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession,
ClientConnection clientConnection,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
EventBuilder event) |
static boolean |
AuthenticationManager.isActionRequired(KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession,
ClientConnection clientConnection,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
EventBuilder event) |
boolean |
UserSessionManager.isOfflineTokenAllowed(ClientSessionModel clientSession) |
static boolean |
AuthenticationManager.isSSOAuthentication(ClientSessionModel clientSession) |
boolean |
ResourceAdminManager.logoutClientSession(URI requestUri,
RealmModel realm,
ClientModel resource,
ClientSessionModel clientSession) |
static javax.ws.rs.core.Response |
AuthenticationManager.nextActionAfterAuthentication(KeycloakSession session,
UserSessionModel userSession,
ClientSessionModel clientSession,
ClientConnection clientConnection,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
EventBuilder event) |
static javax.ws.rs.core.Response |
AuthenticationManager.redirectAfterSuccessfulFlow(KeycloakSession session,
RealmModel realm,
UserSessionModel userSession,
ClientSessionModel clientSession,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection clientConnection,
EventBuilder event) |
static javax.ws.rs.core.Response |
AuthenticationManager.redirectAfterSuccessfulFlow(KeycloakSession session,
RealmModel realm,
UserSessionModel userSession,
ClientSessionModel clientSession,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection clientConnection,
EventBuilder event,
LoginProtocol protocol) |
void |
Auth.setClientSession(ClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ResourceAdminManager.logoutClientSessions(URI requestUri,
RealmModel realm,
ClientModel resource,
List<ClientSessionModel> clientSessions) |
Constructor and Description |
---|
ClientSessionCode(RealmModel realm,
ClientSessionModel clientSession) |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
IdentityBrokerService.browserAuthentication(ClientSessionModel clientSession,
String errorMessage) |
protected javax.ws.rs.core.Response |
LoginActionsService.processAuthentication(String execution,
ClientSessionModel clientSession,
String errorMessage) |
protected javax.ws.rs.core.Response |
LoginActionsService.processFlow(String execution,
ClientSessionModel clientSession,
String flowPath,
AuthenticationFlowModel flow,
String errorMessage,
AuthenticationProcessor processor) |
protected javax.ws.rs.core.Response |
LoginActionsService.processRegistration(String execution,
ClientSessionModel clientSession,
String errorMessage) |
protected javax.ws.rs.core.Response |
LoginActionsService.processResetCredentials(String execution,
ClientSessionModel clientSession,
String errorMessage) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.