| Modifier and Type | Method and Description |
|---|---|
KeycloakSession |
AbstractAuthenticationFlowContext.getSession()
Current session
|
KeycloakSession |
RequiredActionContext.getSession() |
KeycloakSession |
FormContext.getSession()
Current session
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FormAction.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user)
Is this FormAction configured for the current user?
|
boolean |
Authenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user)
Is this authenticator configured for this user.
|
void |
FormAction.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user)
Set actions to configure authenticator
|
void |
Authenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user)
Set actions to configure authenticator
|
| Modifier and Type | Method and Description |
|---|---|
KeycloakSession |
AuthorizationProvider.getKeycloakSession() |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationProvider |
AuthorizationProviderFactory.create(KeycloakSession session,
RealmModel realm) |
| Constructor and Description |
|---|
AuthorizationProvider(KeycloakSession session,
RealmModel realm,
StoreFactory storeFactory) |
AuthorizationProvider(KeycloakSession session,
RealmModel realm,
StoreFactory storeFactory,
Executor scheduller) |
| Modifier and Type | Field and Description |
|---|---|
protected KeycloakSession |
AbstractIdentityProvider.session |
| Modifier and Type | Method and Description |
|---|---|
KeycloakSession |
AuthenticationRequest.getSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractIdentityProvider.backchannelLogout(KeycloakSession session,
UserSessionModel userSession,
javax.ws.rs.core.UriInfo uriInfo,
RealmModel realm) |
void |
IdentityProvider.backchannelLogout(KeycloakSession session,
UserSessionModel userSession,
javax.ws.rs.core.UriInfo uriInfo,
RealmModel realm) |
T |
AbstractIdentityProviderFactory.create(KeycloakSession session) |
IdentityProviderMapper |
AbstractIdentityProviderMapper.create(KeycloakSession session) |
T |
IdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model)
Creates an
IdentityProvider based on the configuration contained in
model. |
void |
AbstractIdentityProvider.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
BrokeredIdentityContext context) |
void |
IdentityProvider.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
BrokeredIdentityContext context) |
void |
IdentityProviderMapper.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
Called after UserModel is created for first time for this user.
|
void |
AbstractIdentityProviderMapper.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
javax.ws.rs.core.Response |
AbstractIdentityProvider.keycloakInitiatedBrowserLogout(KeycloakSession session,
UserSessionModel userSession,
javax.ws.rs.core.UriInfo uriInfo,
RealmModel realm) |
javax.ws.rs.core.Response |
IdentityProvider.keycloakInitiatedBrowserLogout(KeycloakSession session,
UserSessionModel userSession,
javax.ws.rs.core.UriInfo uriInfo,
RealmModel realm)
Called when a Keycloak application initiates a logout through the browser.
|
Map<String,String> |
IdentityProviderFactory.parseConfig(KeycloakSession session,
InputStream inputStream)
Creates an
IdentityProvider based on the configuration from
inputStream. |
Map<String,String> |
AbstractIdentityProviderFactory.parseConfig(KeycloakSession session,
InputStream inputStream) |
void |
AbstractIdentityProvider.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
BrokeredIdentityContext context) |
void |
IdentityProvider.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
BrokeredIdentityContext context) |
void |
IdentityProviderMapper.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
Called to determine what keycloak username and email to use to process the login request from the external IDP.
|
void |
AbstractIdentityProviderMapper.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
javax.ws.rs.core.Response |
IdentityProvider.retrieveToken(KeycloakSession session,
FederatedIdentityModel identity)
Returns a
Response containing the token previously stored during the authentication process for a
specific user. |
void |
AbstractIdentityProvider.updateBrokeredUser(KeycloakSession session,
RealmModel realm,
UserModel user,
BrokeredIdentityContext context) |
void |
IdentityProvider.updateBrokeredUser(KeycloakSession session,
RealmModel realm,
UserModel user,
BrokeredIdentityContext context) |
void |
IdentityProviderMapper.updateBrokeredUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
Called when this user has logged in before and has already been imported.
|
| Constructor and Description |
|---|
AbstractIdentityProvider(KeycloakSession session,
C config) |
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 |
|---|---|
default ProviderType |
ComponentFactory.create(KeycloakSession session) |
CreatedType |
ComponentFactory.create(KeycloakSession session,
ComponentModel model) |
default void |
ComponentFactory.onCreate(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
void |
ComponentFactory.validateConfiguration(KeycloakSession session,
ComponentModel model) |
| Modifier and Type | Method and Description |
|---|---|
PasswordHashProvider |
Pbkdf2PasswordHashProvider.create(KeycloakSession session) |
| Constructor and Description |
|---|
EventBuilder(RealmModel realm,
KeycloakSession session,
org.keycloak.common.ClientConnection clientConnection) |
| Modifier and Type | Method and Description |
|---|---|
T |
KeyProviderFactory.create(KeycloakSession session,
ComponentModel model) |
| Modifier and Type | Method and Description |
|---|---|
UserFederationSyncResult |
UserFederationMapper.syncDataFromFederationProviderToKeycloak(UserFederationMapperModel mapperModel,
UserFederationProvider federationProvider,
KeycloakSession session,
RealmModel realm)
Sync data from federated storage to Keycloak.
|
UserFederationSyncResult |
UserFederationMapper.syncDataFromKeycloakToFederationProvider(UserFederationMapperModel mapperModel,
UserFederationProvider federationProvider,
KeycloakSession session,
RealmModel realm)
Sync data from Keycloak back to federated storage
|
| Modifier and Type | Method and Description |
|---|---|
static void |
MigrationModelManager.migrate(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
MigrateTo1_7_0.migrate(KeycloakSession session) |
void |
MigrateTo1_2_0.migrate(KeycloakSession session) |
void |
MigrateTo1_5_0.migrate(KeycloakSession session) |
void |
MigrateTo1_8_0.migrate(KeycloakSession session) |
void |
Migration.migrate(KeycloakSession session) |
void |
MigrateTo1_9_2.migrate(KeycloakSession session) |
void |
MigrateTo1_3_0.migrate(KeycloakSession session) |
void |
MigrateTo2_2_0.migrate(KeycloakSession session) |
void |
MigrateTo1_4_0.migrate(KeycloakSession session) |
void |
MigrateTo2_1_0.migrate(KeycloakSession session) |
void |
MigrateTo2_0_0.migrate(KeycloakSession session) |
void |
MigrateTo2_3_0.migrate(KeycloakSession session) |
void |
MigrateTo1_6_0.migrate(KeycloakSession session) |
void |
MigrateTo1_9_0.migrate(KeycloakSession session) |
| Modifier and Type | Field and Description |
|---|---|
protected KeycloakSession |
UserFederationManager.session |
| Modifier and Type | Method and Description |
|---|---|
KeycloakSession |
KeycloakSessionFactory.create() |
KeycloakSession |
RoleContainerModel.RoleRemovedEvent.getKeycloakSession() |
KeycloakSession |
UserModel.UserRemovedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.RealmPostCreateEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.RealmRemovedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.ClientUpdatedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.ClientRemovedEvent.getKeycloakSession() |
| Modifier and Type | Method and Description |
|---|---|
CredentialValidationOutput |
UserCredentialManager.authenticate(KeycloakSession session,
RealmModel realm,
CredentialInput input)
Given a CredentialInput, authenticate the user.
|
UserFederationProvider |
UserFederationProviderFactory.create(KeycloakSession session)
This method is never called and is only an artifact of ProviderFactory.
|
UserFederationProvider |
UserFederationProviderFactory.getInstance(KeycloakSession session,
UserFederationProviderModel model)
called per Keycloak transaction.
|
static PasswordPolicy |
PasswordPolicy.parse(KeycloakSession session,
String policyString) |
void |
KeycloakSessionTask.run(KeycloakSession session) |
static void |
ImpersonationConstants.setupImpersonationService(KeycloakSession session,
RealmModel realm) |
| Constructor and Description |
|---|
UserFederationManager(KeycloakSession session) |
| Constructor and Description |
|---|
DBLockManager(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
UserSessionPersisterProvider |
DisabledUserSessionPersisterProvider.create(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
PasswordPolicyProvider |
RegexPatternsPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
DigitsPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
LowerCasePasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
HashAlgorithmPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
ForceExpiredPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
NotUsernamePasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
UpperCasePasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
HistoryPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
HashIterationsPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
SpecialCharsPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
LengthPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyManagerProvider |
DefaultPasswordPolicyManagerProviderFactory.create(KeycloakSession session) |
| Constructor and Description |
|---|
DefaultPasswordPolicyManagerProvider(KeycloakSession session) |
HistoryPasswordPolicyProvider(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
ClientInstallationProvider.generateInstallation(KeycloakSession session,
RealmModel realm,
ClientModel client,
URI serverBaseUri) |
LoginProtocol |
LoginProtocol.setSession(KeycloakSession session) |
default void |
ProtocolMapper.validateConfig(KeycloakSession session,
RealmModel realm,
ProtocolMapperContainerModel client,
ProtocolMapperModel mapperModel)
Called when instance of mapperModel is created/updated for this protocolMapper through admin endpoint
|
| Modifier and Type | Method and Description |
|---|---|
T |
ProviderFactory.create(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
static ClientSessionModel |
ClientSessionCode.getClientSession(String code,
KeycloakSession session,
RealmModel realm) |
boolean |
BruteForceProtector.isTemporarilyDisabled(KeycloakSession session,
RealmModel realm,
UserModel user) |
static ClientSessionCode |
ClientSessionCode.parse(String code,
KeycloakSession session,
RealmModel realm) |
static ClientSessionCode.ParseResult |
ClientSessionCode.parseResult(String code,
KeycloakSession session,
RealmModel realm) |
| Constructor and Description |
|---|
ClientSessionCode(KeycloakSession session,
RealmModel realm,
ClientSessionModel clientSession) |
UserManager(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
T |
UserStorageProviderFactory.create(KeycloakSession session,
ComponentModel model)
called per Keycloak transaction.
|
default void |
UserStorageProviderFactory.onCreate(KeycloakSession session,
RealmModel realm,
ComponentModel model)
Called when UserStorageProviderModel is created.
|
default void |
UserStorageProviderFactory.validateConfiguration(KeycloakSession session,
ComponentModel config) |
| Modifier and Type | Field and Description |
|---|---|
protected KeycloakSession |
AbstractUserAdapterFederatedStorage.session |
protected KeycloakSession |
AbstractUserAdapter.session |
| Constructor and Description |
|---|
AbstractUserAdapter(KeycloakSession session,
RealmModel realm,
ComponentModel storageProviderModel) |
AbstractUserAdapterFederatedStorage(KeycloakSession session,
RealmModel realm,
ComponentModel storageProviderModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
ScheduledTask.run(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
default JtaTransactionManagerLookup |
JtaTransactionManagerLookup.create(KeycloakSession session) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.