Uses of Interface
org.keycloak.models.KeycloakSession
Packages that use KeycloakSession
Package
Description
Fine-grained Authorization SPI.
-
Uses of KeycloakSession in org.keycloak.authentication
Fields in org.keycloak.authentication declared as KeycloakSessionModifier and TypeFieldDescriptionprotected KeycloakSession
AuthenticationProcessor.session
protected KeycloakSession
RequiredActionContextResult.session
Methods in org.keycloak.authentication that return KeycloakSessionModifier and TypeMethodDescriptionAbstractAuthenticationFlowContext.getSession()
Current sessionAuthenticationProcessor.getSession()
AuthenticationProcessor.Result.getSession()
FormContext.getSession()
Current sessionRequiredActionContext.getSession()
RequiredActionContextResult.getSession()
Methods in org.keycloak.authentication with parameters of type KeycloakSessionModifier and TypeMethodDescriptiondefault boolean
Authenticator.areRequiredActionsEnabled
(KeycloakSession session, RealmModel realm) Checks if all required actions are configured in the realm and are enabledstatic ClientSessionContext
AuthenticationProcessor.attachSession
(AuthenticationSessionModel authSession, UserSessionModel userSession, KeycloakSession session, RealmModel realm, ClientConnection connection, EventBuilder event) static AuthenticationSessionModel
AuthenticationProcessor.clone
(KeycloakSession session, AuthenticationSessionModel authSession) boolean
Authenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) Is this authenticator configured for this user.boolean
FormAction.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) Is this FormAction configured for the current user?CredentialValidator.getCredentialProvider
(KeycloakSession session) default List<CredentialModel>
CredentialValidator.getCredentials
(KeycloakSession session, RealmModel realm, UserModel user) default List<RequiredActionFactory>
Authenticator.getRequiredActions
(KeycloakSession session) Overwrite this if the authenticator is associated withdefault String
CredentialValidator.getType
(KeycloakSession session) default void
RequiredActionProvider.initiatedActionCanceled
(KeycloakSession session, AuthenticationSessionModel authSession) Callback to let the action know that an application-initiated action was canceled.void
Authenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) Set actions to configure authenticatorvoid
FormAction.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) Set actions to configure authenticatorAuthenticationProcessor.setSession
(KeycloakSession session) Constructors in org.keycloak.authentication with parameters of type KeycloakSessionModifierConstructorDescriptionAuthenticationSelectionOption
(KeycloakSession session, AuthenticationExecutionModel authExec) RequiredActionContextResult
(AuthenticationSessionModel authSession, RealmModel realm, EventBuilder eventBuilder, KeycloakSession session, HttpRequest httpRequest, UserModel user, RequiredActionFactory factory) -
Uses of KeycloakSession in org.keycloak.authentication.actiontoken
Methods in org.keycloak.authentication.actiontoken that return KeycloakSessionMethods in org.keycloak.authentication.actiontoken with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAbstractActionTokenHandler.create
(KeycloakSession session) DefaultActionToken.serialize
(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uri) Updates the following fields and serializes this token into a signed JWT.Constructors in org.keycloak.authentication.actiontoken with parameters of type KeycloakSessionModifierConstructorDescriptionActionTokenContext
(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, HttpRequest request, EventBuilder event, ActionTokenHandler<T> handler, String executionId, ActionTokenContext.ProcessAuthenticateFlow processFlow, ActionTokenContext.ProcessBrokerFlow processBrokerFlow) -
Uses of KeycloakSession in org.keycloak.authentication.authenticators
Methods in org.keycloak.authentication.authenticators with parameters of type KeycloakSessionModifier and TypeMethodDescriptionboolean
AttemptedAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) void
AttemptedAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.access
Methods in org.keycloak.authentication.authenticators.access with parameters of type KeycloakSessionModifier and TypeMethodDescriptionboolean
AllowAccessAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
DenyAccessAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) AllowAccessAuthenticatorFactory.create
(KeycloakSession session) DenyAccessAuthenticatorFactory.create
(KeycloakSession session) void
AllowAccessAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
DenyAccessAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.broker
Methods in org.keycloak.authentication.authenticators.broker with parameters of type KeycloakSessionModifier and TypeMethodDescriptionboolean
IdpAutoLinkAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
IdpConfirmLinkAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
IdpCreateUserIfUniqueAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
IdpDetectExistingBrokerUserAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
IdpEmailVerificationAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
IdpReviewProfileAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) IdpAutoLinkAuthenticatorFactory.create
(KeycloakSession session) IdpConfirmLinkAuthenticatorFactory.create
(KeycloakSession session) IdpCreateUserIfUniqueAuthenticatorFactory.create
(KeycloakSession session) IdpDetectExistingBrokerUserAuthenticatorFactory.create
(KeycloakSession session) IdpEmailVerificationAuthenticatorFactory.create
(KeycloakSession session) IdpReviewProfileAuthenticatorFactory.create
(KeycloakSession session) IdpUsernamePasswordFormFactory.create
(KeycloakSession session) static UserModel
AbstractIdpAuthenticator.getExistingUser
(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authSession) void
AbstractIdpAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.broker.util
Methods in org.keycloak.authentication.authenticators.broker.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionSerializedBrokeredIdentityContext.deserialize
(KeycloakSession session, AuthenticationSessionModel authSession) -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.browser
Methods in org.keycloak.authentication.authenticators.browser with parameters of type KeycloakSessionModifier and TypeMethodDescriptionboolean
CookieAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
IdentityProviderAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
OTPFormAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
PasswordForm.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
RecoveryAuthnCodesFormAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
ScriptBasedAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
SpnegoAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
UsernamePasswordForm.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
WebAuthnAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) ConditionalOtpFormAuthenticatorFactory.create
(KeycloakSession session) CookieAuthenticatorFactory.create
(KeycloakSession session) DeployedScriptAuthenticatorFactory.create
(KeycloakSession session) IdentityProviderAuthenticatorFactory.create
(KeycloakSession session) OTPFormAuthenticatorFactory.create
(KeycloakSession session) PasswordFormFactory.create
(KeycloakSession session) RecoveryAuthnCodesFormAuthenticatorFactory.create
(KeycloakSession keycloakSession) ScriptBasedAuthenticatorFactory.create
(KeycloakSession session) SpnegoAuthenticatorFactory.create
(KeycloakSession session) UsernameFormFactory.create
(KeycloakSession session) UsernamePasswordFormFactory.create
(KeycloakSession session) WebAuthnAuthenticatorFactory.create
(KeycloakSession session) WebAuthnPasswordlessAuthenticatorFactory.create
(KeycloakSession session) OTPFormAuthenticator.getCredentialProvider
(KeycloakSession session) PasswordForm.getCredentialProvider
(KeycloakSession session) WebAuthnAuthenticator.getCredentialProvider
(KeycloakSession session) WebAuthnPasswordlessAuthenticator.getCredentialProvider
(KeycloakSession session) OTPFormAuthenticator.getRequiredActions
(KeycloakSession session) WebAuthnAuthenticator.getRequiredActions
(KeycloakSession session) WebAuthnPasswordlessAuthenticator.getRequiredActions
(KeycloakSession session) void
ConditionalOtpFormAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
CookieAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
IdentityProviderAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
OTPFormAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
RecoveryAuthnCodesFormAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
ScriptBasedAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
SpnegoAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
UsernamePasswordForm.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
WebAuthnAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
WebAuthnPasswordlessAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) Constructors in org.keycloak.authentication.authenticators.browser with parameters of type KeycloakSessionModifierConstructorDescriptionRecoveryAuthnCodesFormAuthenticator
(KeycloakSession keycloakSession) WebAuthnAuthenticator
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.client
Methods in org.keycloak.authentication.authenticators.client with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.conditional
Methods in org.keycloak.authentication.authenticators.conditional with parameters of type KeycloakSessionModifier and TypeMethodDescriptiondefault boolean
ConditionalAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) default Authenticator
ConditionalAuthenticatorFactory.create
(KeycloakSession session) ConditionalLoaAuthenticatorFactory.create
(KeycloakSession session) void
ConditionalLoaAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
ConditionalRoleAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
ConditionalUserAttributeValue.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
ConditionalUserConfiguredAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) Constructors in org.keycloak.authentication.authenticators.conditional with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.directgrant
Methods in org.keycloak.authentication.authenticators.directgrant with parameters of type KeycloakSessionModifier and TypeMethodDescriptionboolean
ValidateOTP.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
ValidatePassword.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
ValidateUsername.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) AbstractDirectGrantAuthenticator.create
(KeycloakSession session) ValidateOTP.getCredentialProvider
(KeycloakSession session) void
ValidateOTP.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
ValidatePassword.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
ValidateUsername.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.resetcred
Methods in org.keycloak.authentication.authenticators.resetcred with parameters of type KeycloakSessionModifier and TypeMethodDescriptionboolean
AbstractSetRequiredActionAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
ResetCredentialChooseUser.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
ResetCredentialEmail.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
ResetOTP.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) AbstractSetRequiredActionAuthenticator.create
(KeycloakSession session) ResetCredentialChooseUser.create
(KeycloakSession session) ResetCredentialEmail.create
(KeycloakSession session) ResetOTP.getCredentialProvider
(KeycloakSession session) static Long
ResetCredentialEmail.getLastChangedTimestamp
(KeycloakSession session, RealmModel realm, UserModel user) void
AbstractSetRequiredActionAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
ResetCredentialChooseUser.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
ResetCredentialEmail.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.sessionlimits
Fields in org.keycloak.authentication.authenticators.sessionlimits declared as KeycloakSessionModifier and TypeFieldDescriptionprotected KeycloakSession
UserSessionLimitsAuthenticator.session
Methods in org.keycloak.authentication.authenticators.sessionlimits with parameters of type KeycloakSessionModifier and TypeMethodDescriptionboolean
UserSessionLimitsAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) UserSessionLimitsAuthenticatorFactory.create
(KeycloakSession keycloakSession) void
UserSessionLimitsAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) Constructors in org.keycloak.authentication.authenticators.sessionlimits with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.util
Methods in org.keycloak.authentication.authenticators.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic String
AuthenticatorUtils.getDisabledByBruteForceEventError
(BruteForceProtector protector, KeycloakSession session, RealmModel realm, UserModel user) -
Uses of KeycloakSession in org.keycloak.authentication.authenticators.x509
Methods in org.keycloak.authentication.authenticators.x509 with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAbstractX509ClientCertificateAuthenticator.certificateValidationParameters
(KeycloakSession session, X509AuthenticatorConfigModel config) boolean
AbstractX509ClientCertificateAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) ValidateX509CertificateUsernameFactory.create
(KeycloakSession session) X509ClientCertificateAuthenticatorFactory.create
(KeycloakSession session) CertificateValidator.CertificateValidatorBuilder.session
(KeycloakSession session) void
AbstractX509ClientCertificateAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) Constructors in org.keycloak.authentication.authenticators.x509 with parameters of type KeycloakSessionModifierConstructorDescriptionprotected
CertificateValidator
(X509Certificate[] certChain, int keyUsageBits, List<String> extendedKeyUsage, List<String> certificatePolicy, String certificatePolicyMode, boolean cRLCheckingEnabled, boolean cRLDPCheckingEnabled, CertificateValidator.CRLLoaderImpl crlLoader, boolean oCSPCheckingEnabled, boolean ocspFailOpen, CertificateValidator.OCSPChecker ocspChecker, KeycloakSession session, boolean timestampValidationEnabled, boolean trustValidationEnabled) CRLFileLoader
(KeycloakSession session, String cRLPath) CRLFileLoader
(KeycloakSession session, String cRLPath, CertificateValidator.LdapContext ldapContext) CRLListLoader
(KeycloakSession session, String cRLConfigValue) -
Uses of KeycloakSession in org.keycloak.authentication.forms
Methods in org.keycloak.authentication.forms with parameters of type KeycloakSessionModifier and TypeMethodDescriptionboolean
RegistrationPassword.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
RegistrationRecaptcha.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
RegistrationTermsAndConditions.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) boolean
RegistrationUserCreation.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) RegistrationPage.create
(KeycloakSession session) RegistrationPassword.create
(KeycloakSession session) RegistrationRecaptcha.create
(KeycloakSession session) RegistrationTermsAndConditions.create
(KeycloakSession session) RegistrationUserCreation.create
(KeycloakSession session) void
RegistrationPassword.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
RegistrationRecaptcha.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
RegistrationTermsAndConditions.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) void
RegistrationUserCreation.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) -
Uses of KeycloakSession in org.keycloak.authentication.otp
Methods in org.keycloak.authentication.otp with parameters of type KeycloakSessionModifier and TypeMethodDescriptionFreeOTPProvider.create
(KeycloakSession session) GoogleAuthenticatorProvider.create
(KeycloakSession session) MicrosoftAuthenticatorOTPProvider.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.authentication.requiredactions
Methods in org.keycloak.authentication.requiredactions with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDeleteAccount.create
(KeycloakSession session) RecoveryAuthnCodesAction.create
(KeycloakSession session) TermsAndConditions.create
(KeycloakSession session) UpdateEmail.create
(KeycloakSession session) UpdatePassword.create
(KeycloakSession session) UpdateProfile.create
(KeycloakSession session) UpdateTotp.create
(KeycloakSession session) UpdateUserLocaleAction.create
(KeycloakSession session) VerifyEmail.create
(KeycloakSession session) VerifyUserProfile.create
(KeycloakSession session) WebAuthnRegisterFactory.create
(KeycloakSession session) protected WebAuthnRegister
WebAuthnPasswordlessRegisterFactory.createProvider
(KeycloakSession session, com.webauthn4j.validator.attestation.trustworthiness.certpath.CertPathTrustworthinessValidator trustValidator) protected WebAuthnRegister
WebAuthnRegisterFactory.createProvider
(KeycloakSession session, com.webauthn4j.validator.attestation.trustworthiness.certpath.CertPathTrustworthinessValidator trustValidator) static UserProfile
UpdateEmail.validateEmailUpdate
(KeycloakSession session, UserModel user, String newEmail) Constructors in org.keycloak.authentication.requiredactions with parameters of type KeycloakSessionModifierConstructorDescriptionUpdatePassword
(KeycloakSession session) WebAuthnPasswordlessRegister
(KeycloakSession session, com.webauthn4j.validator.attestation.trustworthiness.certpath.CertPathTrustworthinessValidator certPathtrustValidator) WebAuthnRegister
(KeycloakSession session, com.webauthn4j.validator.attestation.trustworthiness.certpath.CertPathTrustworthinessValidator certPathtrustValidator) -
Uses of KeycloakSession in org.keycloak.authentication.requiredactions.util
Methods in org.keycloak.authentication.requiredactions.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic boolean
RequiredActionsValidator.validRequiredActions
(KeycloakSession session, List<String> requiredActions) Validate provided required actions -
Uses of KeycloakSession in org.keycloak.authorization
Methods in org.keycloak.authorization that return KeycloakSessionMethods in org.keycloak.authorization with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAuthorizationProviderFactory.create
(KeycloakSession session, RealmModel realm) DefaultAuthorizationProviderFactory.create
(KeycloakSession session) DefaultAuthorizationProviderFactory.create
(KeycloakSession session, RealmModel realm) Constructors in org.keycloak.authorization with parameters of type KeycloakSessionModifierConstructorDescriptionAuthorizationProvider
(KeycloakSession session, RealmModel realm, PolicyEvaluator policyEvaluator) -
Uses of KeycloakSession in org.keycloak.authorization.admin
Constructors in org.keycloak.authorization.admin with parameters of type KeycloakSessionModifierConstructorDescriptionAuthorizationService
(KeycloakSession session, ClientModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ResourceSetService
(KeycloakSession session, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ScopeService
(KeycloakSession session, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) -
Uses of KeycloakSession in org.keycloak.authorization.common
Fields in org.keycloak.authorization.common declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
DefaultEvaluationContext.keycloakSession
protected final KeycloakSession
KeycloakIdentity.keycloakSession
Constructors in org.keycloak.authorization.common with parameters of type KeycloakSessionModifierConstructorDescriptionClientModelIdentity
(KeycloakSession session, ClientModel client) DefaultEvaluationContext
(Identity identity, Map<String, List<String>> claims, KeycloakSession keycloakSession) DefaultEvaluationContext
(Identity identity, KeycloakSession keycloakSession) KeycloakIdentity
(KeycloakSession keycloakSession) KeycloakIdentity
(KeycloakSession keycloakSession, IDToken token) KeycloakIdentity
(AccessToken accessToken, KeycloakSession keycloakSession) KeycloakIdentity
(IDToken token, KeycloakSession keycloakSession, RealmModel realm) -
Uses of KeycloakSession in org.keycloak.authorization.config
Methods in org.keycloak.authorization.config with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic final UmaConfiguration
UmaConfiguration.create
(KeycloakSession session) UmaWellKnownProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.authorization.config with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.jpa.store
Methods in org.keycloak.authorization.jpa.store with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.aggregated
Methods in org.keycloak.authorization.policy.provider.aggregated with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.client
Methods in org.keycloak.authorization.policy.provider.client with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.clientscope
Methods in org.keycloak.authorization.policy.provider.clientscope with parameters of type KeycloakSessionModifier and TypeMethodDescriptionClientScopePolicyProviderFactory.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.group
Methods in org.keycloak.authorization.policy.provider.group with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.js
Methods in org.keycloak.authorization.policy.provider.js with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.permission
Methods in org.keycloak.authorization.policy.provider.permission with parameters of type KeycloakSessionModifier and TypeMethodDescriptionResourcePolicyProviderFactory.create
(KeycloakSession session) ScopePolicyProviderFactory.create
(KeycloakSession session) UMAPolicyProviderFactory.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.regex
Methods in org.keycloak.authorization.policy.provider.regex with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.role
Methods in org.keycloak.authorization.policy.provider.role with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.time
Methods in org.keycloak.authorization.policy.provider.time with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.user
Methods in org.keycloak.authorization.policy.provider.user with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.protection.introspect
Methods in org.keycloak.authorization.protection.introspect with parameters of type KeycloakSessionModifier and TypeMethodDescriptionRPTIntrospectionProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.authorization.protection.introspect with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.authorization.protection.resource
Constructors in org.keycloak.authorization.protection.resource with parameters of type KeycloakSessionModifierConstructorDescriptionResourceService
(KeycloakSession session, ResourceServer resourceServer, Identity identity, ResourceSetService resourceManager) -
Uses of KeycloakSession in org.keycloak.authorization.util
Methods in org.keycloak.authorization.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic AccessToken
Tokens.getAccessToken
(String accessToken, KeycloakSession keycloakSession) static AccessToken
Tokens.getAccessToken
(KeycloakSession keycloakSession) -
Uses of KeycloakSession in org.keycloak.broker.oidc
Fields in org.keycloak.broker.oidc declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
AbstractOAuth2IdentityProvider.Endpoint.session
Methods in org.keycloak.broker.oidc with parameters of type KeycloakSessionModifier and TypeMethodDescriptionvoid
OIDCIdentityProvider.backchannelLogout
(KeycloakSession session, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm) KeycloakOIDCIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) OIDCIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) protected SimpleHttp
OIDCIdentityProvider.getRefreshTokenRequest
(KeycloakSession session, String refreshToken, String clientId, String clientSecret) jakarta.ws.rs.core.Response
OIDCIdentityProvider.keycloakInitiatedBrowserLogout
(KeycloakSession session, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm) KeycloakOIDCIdentityProviderFactory.parseConfig
(KeycloakSession session, InputStream inputStream) OIDCIdentityProviderFactory.parseConfig
(KeycloakSession session, InputStream inputStream) OIDCIdentityProviderFactory.parseOIDCConfig
(KeycloakSession session, InputStream inputStream) void
OIDCIdentityProvider.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, BrokeredIdentityContext context) OIDCIdentityProvider.refreshTokenForLogout
(KeycloakSession session, UserSessionModel userSession) Returns access token response as a string from a refresh token invocation on the remote OIDC brokerjakarta.ws.rs.core.Response
AbstractOAuth2IdentityProvider.retrieveToken
(KeycloakSession session, FederatedIdentityModel identity) Constructors in org.keycloak.broker.oidc with parameters of type KeycloakSessionModifierConstructorDescriptionAbstractOAuth2IdentityProvider
(KeycloakSession session, C config) KeycloakOIDCIdentityProvider
(KeycloakSession session, OIDCIdentityProviderConfig config) OIDCIdentityProvider
(KeycloakSession session, OIDCIdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.broker.oidc.mappers
Methods in org.keycloak.broker.oidc.mappers with parameters of type KeycloakSessionModifier and TypeMethodDescriptionvoid
AbstractClaimToGroupMapper.importNewUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
AbstractClaimToRoleMapper.importNewUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
ClaimToUserSessionNoteMapper.importNewUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
AbstractJsonUserAttributeMapper.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
UserAttributeMapper.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
UsernameTemplateMapper.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
AbstractClaimToGroupMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
AbstractClaimToRoleMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
AbstractJsonUserAttributeMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
ClaimToUserSessionNoteMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
UserAttributeMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
UsernameTemplateMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
AbstractClaimToRoleMapper.updateBrokeredUserLegacy
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
AbstractJsonUserAttributeMapper.updateBrokeredUserLegacy
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
ExternalKeycloakRoleToRoleMapper.updateBrokeredUserLegacy
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
UsernameTemplateMapper.updateBrokeredUserLegacy
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) -
Uses of KeycloakSession in org.keycloak.broker.provider
Fields in org.keycloak.broker.provider declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
AbstractIdentityProvider.session
Methods in org.keycloak.broker.provider that return KeycloakSessionMethods in org.keycloak.broker.provider with parameters of type KeycloakSessionModifier and TypeMethodDescriptionvoid
AbstractIdentityProvider.backchannelLogout
(KeycloakSession session, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm) void
IdentityProvider.backchannelLogout
(KeycloakSession session, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm) AbstractIdentityProviderFactory.create
(KeycloakSession session) AbstractIdentityProviderMapper.create
(KeycloakSession session) IdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Creates anIdentityProvider
based on the configuration contained inmodel
.static void
IdentityProviderMapperSyncModeDelegate.delegateUpdateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context, IdentityProviderMapper mapper) void
AbstractIdentityProvider.importNewUser
(KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context) void
AbstractIdentityProviderMapper.importNewUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
HardcodedRoleMapper.importNewUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
HardcodedUserSessionAttributeMapper.importNewUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, 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.jakarta.ws.rs.core.Response
AbstractIdentityProvider.keycloakInitiatedBrowserLogout
(KeycloakSession session, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm) jakarta.ws.rs.core.Response
IdentityProvider.keycloakInitiatedBrowserLogout
(KeycloakSession session, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm) Called when a Keycloak application initiates a logout through the browser.AbstractIdentityProviderFactory.parseConfig
(KeycloakSession session, InputStream inputStream) IdentityProviderFactory.parseConfig
(KeycloakSession session, InputStream inputStream) Creates anIdentityProvider
based on the configuration frominputStream
.void
AbstractIdentityProvider.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, BrokeredIdentityContext context) void
AbstractIdentityProviderMapper.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
HardcodedAttributeMapper.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
HardcodedUserSessionAttributeMapper.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, 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.jakarta.ws.rs.core.Response
IdentityProvider.retrieveToken
(KeycloakSession session, FederatedIdentityModel identity) Returns aResponse
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
AbstractIdentityProviderMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
HardcodedAttributeMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
HardcodedRoleMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
HardcodedUserSessionAttributeMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, 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.void
AbstractIdentityProviderMapper.updateBrokeredUserLegacy
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
HardcodedRoleMapper.updateBrokeredUserLegacy
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
IdentityProviderMapper.updateBrokeredUserLegacy
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) Called when this user has logged in before and has already been imported.Constructors in org.keycloak.broker.provider with parameters of type KeycloakSessionModifierConstructorDescriptionAbstractIdentityProvider
(KeycloakSession session, C config) AuthenticationRequest
(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authSession, HttpRequest httpRequest, jakarta.ws.rs.core.UriInfo uriInfo, IdentityBrokerState state, String redirectUri) -
Uses of KeycloakSession in org.keycloak.broker.provider.util
Methods in org.keycloak.broker.provider.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic SimpleHttp
SimpleHttp.doDelete
(String url, KeycloakSession session) static SimpleHttp
SimpleHttp.doGet
(String url, KeycloakSession session) static SimpleHttp
SimpleHttp.doPost
(String url, KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.broker.saml
Methods in org.keycloak.broker.saml with parameters of type KeycloakSessionModifier and TypeMethodDescriptionvoid
SAMLIdentityProvider.backchannelLogout
(KeycloakSession session, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm) SAMLIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) jakarta.ws.rs.core.Response
SAMLIdentityProvider.keycloakInitiatedBrowserLogout
(KeycloakSession session, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm) SAMLIdentityProviderFactory.parseConfig
(KeycloakSession session, InputStream inputStream) jakarta.ws.rs.core.Response
SAMLIdentityProvider.retrieveToken
(KeycloakSession session, FederatedIdentityModel identity) Constructors in org.keycloak.broker.saml with parameters of type KeycloakSessionModifierConstructorDescriptionSAMLEndpoint
(KeycloakSession session, SAMLIdentityProvider provider, SAMLIdentityProviderConfig config, IdentityProvider.AuthenticationCallback callback, DestinationValidator destinationValidator) SAMLIdentityProvider
(KeycloakSession session, SAMLIdentityProviderConfig config, DestinationValidator destinationValidator) -
Uses of KeycloakSession in org.keycloak.broker.saml.mappers
Methods in org.keycloak.broker.saml.mappers with parameters of type KeycloakSessionModifier and TypeMethodDescriptionvoid
AbstractAttributeToGroupMapper.importNewUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
AbstractAttributeToRoleMapper.importNewUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
UserAttributeMapper.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
UsernameTemplateMapper.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
XPathAttributeMapper.preprocessFederatedIdentity
(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
AbstractAttributeToGroupMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
AbstractAttributeToRoleMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
UserAttributeMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
UsernameTemplateMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
XPathAttributeMapper.updateBrokeredUser
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) void
UsernameTemplateMapper.updateBrokeredUserLegacy
(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context) -
Uses of KeycloakSession in org.keycloak.cluster.infinispan
Methods in org.keycloak.cluster.infinispan with parameters of type KeycloakSessionModifier and TypeMethodDescriptionInfinispanClusterProviderFactory.create
(KeycloakSession session) InfinispanNotificationsManager.create
(KeycloakSession session, org.infinispan.Cache<String, Serializable> workCache, String myAddress, String mySite, Set<org.infinispan.persistence.remote.RemoteStore> remoteStores) protected int
InfinispanClusterProviderFactory.initClusterStartupTime
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.common.util
Methods in org.keycloak.common.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
ResponseSessionTask.run
(KeycloakSession session) abstract jakarta.ws.rs.core.Response
ResponseSessionTask.runInternal
(KeycloakSession session) Builds the response that is to be returned.Constructors in org.keycloak.common.util with parameters of type KeycloakSessionModifierConstructorDescriptionResponseSessionTask
(KeycloakSession originalSession) Constructs a new instance of this task. -
Uses of KeycloakSession in org.keycloak.component
Methods in org.keycloak.component with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAmphibianProviderFactory.create
(KeycloakSession session) default ProviderType
AmphibianProviderFactory.create
(KeycloakSession session, ComponentModel model) Deprecated.default ProviderType
ComponentFactory.create
(KeycloakSession session) ComponentFactory.create
(KeycloakSession session, ComponentModel model) default ComponentFactoryProvider
ComponentFactoryProviderFactory.create
(KeycloakSession session) default void
ComponentFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) Called after a component is createddefault void
AmphibianProviderFactory.onUpdate
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) default void
ComponentFactory.onUpdate
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) Called after the component is updated.default void
AmphibianProviderFactory.preRemove
(KeycloakSession session, RealmModel realm, ComponentModel model) default void
ComponentFactory.preRemove
(KeycloakSession session, RealmModel realm, ComponentModel model) Called before the component is removed.default void
ComponentFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) Called before a component is created or updated. -
Uses of KeycloakSession in org.keycloak.connections.httpclient
Methods in org.keycloak.connections.httpclient with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.connections.infinispan
Methods in org.keycloak.connections.infinispan with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultInfinispanConnectionProviderFactory.create
(KeycloakSession session) InfinispanMultiSiteLoadBalancerCheckProviderFactory.create
(KeycloakSession session) static TopologyInfo
InfinispanUtil.getTopologyInfo
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.connections.jpa
Methods in org.keycloak.connections.jpa with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultJpaConnectionProviderFactory.create
(KeycloakSession session) static jakarta.persistence.EntityManager
PersistenceExceptionConverter.create
(KeycloakSession session, jakarta.persistence.EntityManager em) protected void
DefaultJpaConnectionProviderFactory.export
(Connection connection, String schema, File databaseUpdateFile, KeycloakSession session, JpaUpdaterProvider updater) static jakarta.persistence.EntityManager
JndiEntityManagerLookup.getSessionEntityManager
(KeycloakSession session, String entityManagerFactoryJndiName) void
HibernateStatsReporter.run
(KeycloakSession session) protected void
DefaultJpaConnectionProviderFactory.startGlobalStats
(KeycloakSession session, int globalStatsIntervalSecs) protected void
DefaultJpaConnectionProviderFactory.update
(Connection connection, String schema, KeycloakSession session, JpaUpdaterProvider updater) -
Uses of KeycloakSession in org.keycloak.connections.jpa.updater.liquibase
Methods in org.keycloak.connections.jpa.updater.liquibase that return KeycloakSessionModifier and TypeMethodDescriptionstatic KeycloakSession
ThreadLocalSessionContext.getCurrentSession()
Methods in org.keycloak.connections.jpa.updater.liquibase with parameters of type KeycloakSessionModifier and TypeMethodDescriptionLiquibaseJpaUpdaterProviderFactory.create
(KeycloakSession session) static void
ThreadLocalSessionContext.setCurrentSession
(KeycloakSession session) Constructors in org.keycloak.connections.jpa.updater.liquibase with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.connections.jpa.updater.liquibase.conn
Methods in org.keycloak.connections.jpa.updater.liquibase.conn with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultLiquibaseConnectionProvider.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.connections.jpa.updater.liquibase.custom
Fields in org.keycloak.connections.jpa.updater.liquibase.custom declared as KeycloakSession -
Uses of KeycloakSession in org.keycloak.connections.jpa.updater.liquibase.lock
Methods in org.keycloak.connections.jpa.updater.liquibase.lock with parameters of type KeycloakSessionConstructors in org.keycloak.connections.jpa.updater.liquibase.lock with parameters of type KeycloakSessionModifierConstructorDescriptionLiquibaseDBLockProvider
(LiquibaseDBLockProviderFactory factory, KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.connections.jpa.util
Methods in org.keycloak.connections.jpa.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic jakarta.persistence.EntityManagerFactory
JpaUtils.createEntityManagerFactory
(KeycloakSession session, String unitName, Map<String, Object> properties, boolean jta) JpaUtils.getProvidedEntities
(KeycloakSession session) Get a list of all provided entities by looping over all configured entity providers. -
Uses of KeycloakSession in org.keycloak.credential
Fields in org.keycloak.credential declared as KeycloakSessionModifier and TypeFieldDescriptionprotected KeycloakSession
OTPCredentialProvider.session
protected final KeycloakSession
PasswordCredentialProvider.session
Methods in org.keycloak.credential that return KeycloakSessionModifier and TypeMethodDescriptionprotected KeycloakSession
WebAuthnCredentialProvider.getKeycloakSession()
Methods in org.keycloak.credential with parameters of type KeycloakSessionModifier and TypeMethodDescriptionCredentialTypeMetadata.CredentialTypeMetadataBuilder.build
(KeycloakSession session) This will validate metadata and return themCredentialTypeMetadataContext.CredentialTypeMetadataContextBuilder.build
(KeycloakSession session) OTPCredentialProviderFactory.create
(KeycloakSession session) PasswordCredentialProviderFactory.create
(KeycloakSession session) RecoveryAuthnCodesCredentialProviderFactory.create
(KeycloakSession session) WebAuthnCredentialProviderFactory.create
(KeycloakSession session) WebAuthnPasswordlessCredentialProviderFactory.create
(KeycloakSession session) default T
CredentialProvider.getDefaultCredential
(KeycloakSession session, RealmModel realm, UserModel user) Constructors in org.keycloak.credential with parameters of type KeycloakSessionModifierConstructorDescriptionLegacyUserCredentialManager
(KeycloakSession session, RealmModel realm, UserModel user) OTPCredentialProvider
(KeycloakSession session) WebAuthnCredentialProvider
(KeycloakSession session, com.webauthn4j.converter.util.ObjectConverter objectConverter) WebAuthnPasswordlessCredentialProvider
(KeycloakSession session, com.webauthn4j.converter.util.ObjectConverter objectConverter) -
Uses of KeycloakSession in org.keycloak.credential.hash
Methods in org.keycloak.credential.hash with parameters of type KeycloakSessionModifier and TypeMethodDescriptionPbkdf2PasswordHashProviderFactory.create
(KeycloakSession session) Pbkdf2Sha256PasswordHashProviderFactory.create
(KeycloakSession session) Pbkdf2Sha512PasswordHashProviderFactory.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.crypto
Methods in org.keycloak.crypto with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAes128CbcHmacSha256ContentEncryptionProviderFactory.create
(KeycloakSession session) Aes128GcmContentEncryptionProviderFactory.create
(KeycloakSession session) Aes192CbcHmacSha384ContentEncryptionProviderFactory.create
(KeycloakSession session) Aes192GcmContentEncryptionProviderFactory.create
(KeycloakSession session) Aes256CbcHmacSha512ContentEncryptionProviderFactory.create
(KeycloakSession session) Aes256GcmContentEncryptionProviderFactory.create
(KeycloakSession session) ES256ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) ES256SignatureProviderFactory.create
(KeycloakSession session) ES384ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) ES384SignatureProviderFactory.create
(KeycloakSession session) ES512ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) ES512SignatureProviderFactory.create
(KeycloakSession session) HS256ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) HS256SignatureProviderFactory.create
(KeycloakSession session) HS384ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) HS384SignatureProviderFactory.create
(KeycloakSession session) HS512ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) HS512SignatureProviderFactory.create
(KeycloakSession session) PS256ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) PS256SignatureProviderFactory.create
(KeycloakSession session) PS384ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) PS384SignatureProviderFactory.create
(KeycloakSession session) PS512ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) PS512SignatureProviderFactory.create
(KeycloakSession session) RS256ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) RS256SignatureProviderFactory.create
(KeycloakSession session) RS384ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) RS384SignatureProviderFactory.create
(KeycloakSession session) RS512ClientSignatureVerifierProviderFactory.create
(KeycloakSession session) RS512SignatureProviderFactory.create
(KeycloakSession session) RsaesOaep256CekManagementProviderFactory.create
(KeycloakSession session) RsaesOaepCekManagementProviderFactory.create
(KeycloakSession session) RsaesPkcs1CekManagementProviderFactory.create
(KeycloakSession session) SHA256HashProviderFactory.create
(KeycloakSession session) SHA384HashProviderFactory.create
(KeycloakSession session) SHA512HashProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.crypto with parameters of type KeycloakSessionModifierConstructorDescriptionAesCbcHmacShaContentEncryptionProvider
(KeycloakSession session, String jweAlgorithmName) AesGcmContentEncryptionProvider
(KeycloakSession session, String jweAlgorithmName) AsymmetricClientSignatureVerifierProvider
(KeycloakSession session, String algorithm) AsymmetricSignatureProvider
(KeycloakSession session, String algorithm) ClientAsymmetricSignatureVerifierContext
(KeycloakSession session, ClientModel client, JWSInput input) ClientECDSASignatureVerifierContext
(KeycloakSession session, ClientModel client, JWSInput input) ClientMacSignatureVerifierContext
(KeycloakSession session, ClientModel client, String algorithm) ECDSAClientSignatureVerifierProvider
(KeycloakSession session, String algorithm) ECDSASignatureProvider
(KeycloakSession session, String algorithm) MacSecretClientSignatureVerifierProvider
(KeycloakSession session, String algorithm) MacSecretSignatureProvider
(KeycloakSession session, String algorithm) RsaCekManagementProvider
(KeycloakSession session, String jweAlgorithmName) ServerAsymmetricSignatureSignerContext
(KeycloakSession session, String algorithm) ServerAsymmetricSignatureVerifierContext
(KeycloakSession session, String kid, String algorithm) ServerECDSASignatureSignerContext
(KeycloakSession session, String algorithm) ServerECDSASignatureVerifierContext
(KeycloakSession session, String kid, String algorithm) ServerMacSignatureSignerContext
(KeycloakSession session, String algorithm) ServerMacSignatureVerifierContext
(KeycloakSession session, String kid, String algorithm) -
Uses of KeycloakSession in org.keycloak.deployment
Methods in org.keycloak.deployment with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultDeployedConfigurationsProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.deployment with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.device
Methods in org.keycloak.device with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic void
DeviceActivityManager.attachDevice
(UserSessionModel userSession, KeycloakSession session) Attaches a device to the givenuserSession
where the device information is obtained from theHttpHeaders.USER_AGENT
in the current request, if available.DeviceRepresentationProviderFactoryImpl.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.email
Methods in org.keycloak.email with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultEmailSenderProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.email with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.email.freemarker
Fields in org.keycloak.email.freemarker declared as KeycloakSessionModifier and TypeFieldDescriptionprotected KeycloakSession
FreeMarkerEmailTemplateProvider.session
Methods in org.keycloak.email.freemarker with parameters of type KeycloakSessionModifier and TypeMethodDescriptionFreeMarkerEmailTemplateProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.email.freemarker with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.encoding
Methods in org.keycloak.encoding with parameters of type KeycloakSessionModifier and TypeMethodDescriptionGzipResourceEncodingProviderFactory.create
(KeycloakSession session) static ResourceEncodingProvider
ResourceEncodingHelper.getResourceEncodingProvider
(KeycloakSession session, String contentType) Constructors in org.keycloak.encoding with parameters of type KeycloakSessionModifierConstructorDescriptionGzipResourceEncodingProvider
(KeycloakSession session, File cacheDir) -
Uses of KeycloakSession in org.keycloak.events
Constructors in org.keycloak.events with parameters of type KeycloakSessionModifierConstructorDescriptionEventBuilder
(RealmModel realm, KeycloakSession session) EventBuilder
(RealmModel realm, KeycloakSession session, ClientConnection clientConnection) -
Uses of KeycloakSession in org.keycloak.events.email
Methods in org.keycloak.events.email with parameters of type KeycloakSessionModifier and TypeMethodDescriptionEmailEventListenerProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.events.email with parameters of type KeycloakSessionModifierConstructorDescriptionEmailEventListenerProvider
(KeycloakSession session, Set<EventType> includedEvents) -
Uses of KeycloakSession in org.keycloak.events.jpa
Methods in org.keycloak.events.jpa with parameters of type KeycloakSessionModifier and TypeMethodDescriptionJpaEventStoreProviderFactory.create
(KeycloakSession session) void
JpaEventStoreProviderFactory.invalidate
(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params) Constructors in org.keycloak.events.jpa with parameters of type KeycloakSessionModifierConstructorDescriptionJpaEventStoreProvider
(KeycloakSession session, jakarta.persistence.EntityManager em) -
Uses of KeycloakSession in org.keycloak.events.log
Methods in org.keycloak.events.log with parameters of type KeycloakSessionModifier and TypeMethodDescriptionJBossLoggingEventListenerProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.events.log with parameters of type KeycloakSessionModifierConstructorDescriptionJBossLoggingEventListenerProvider
(KeycloakSession session, org.jboss.logging.Logger logger, org.jboss.logging.Logger.Level successLevel, org.jboss.logging.Logger.Level errorLevel, Character quotes, boolean sanitize) -
Uses of KeycloakSession in org.keycloak.executors
Methods in org.keycloak.executors with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultExecutorsProviderFactory.create
(KeycloakSession session) protected ExecutorService
DefaultExecutorsProviderFactory.createPoolEmbedded
(String taskType, KeycloakSession session) protected ThreadFactory
DefaultExecutorsProviderFactory.createThreadFactory
(String taskType, KeycloakSession session) protected ExecutorService
DefaultExecutorsProviderFactory.getExecutor
(String taskType, KeycloakSession session) protected ExecutorService
DefaultExecutorsProviderFactory.getPoolManaged
(String taskType, KeycloakSession session) protected ExecutorService
DefaultExecutorsProviderFactory.retrievePool
(String taskType, KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.exportimport
Methods in org.keycloak.exportimport with parameters of type KeycloakSessionModifier and TypeMethodDescriptionKeycloakClientDescriptionConverter.create
(KeycloakSession session) Constructors in org.keycloak.exportimport with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.exportimport.dir
Methods in org.keycloak.exportimport.dir with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDirExportProviderFactory.create
(KeycloakSession session) DirImportProviderFactory.create
(KeycloakSession session) protected void
DirExportProvider.writeFederatedUsers
(String fileName, KeycloakSession session, RealmModel realm, List<String> users) protected void
DirExportProvider.writeUsers
(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users) -
Uses of KeycloakSession in org.keycloak.exportimport.singlefile
Methods in org.keycloak.exportimport.singlefile with parameters of type KeycloakSessionModifier and TypeMethodDescriptionSingleFileExportProviderFactory.create
(KeycloakSession session) SingleFileImportProviderFactory.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.exportimport.util
Methods in org.keycloak.exportimport.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic ClientRepresentation
ExportUtils.exportClient
(KeycloakSession session, ClientModel client) Full export of application including claims and secretstatic UserRepresentation
ExportUtils.exportFederatedUser
(KeycloakSession session, RealmModel realm, String id, ExportOptions options) Full export of user data stored in federated storage (including role mappings and credentials)static void
ExportUtils.exportFederatedUsersToStream
(KeycloakSession session, RealmModel realm, List<String> usersToExport, com.fasterxml.jackson.databind.ObjectMapper mapper, OutputStream os) static void
ExportUtils.exportFederatedUsersToStream
(KeycloakSession session, RealmModel realm, List<String> usersToExport, com.fasterxml.jackson.databind.ObjectMapper mapper, OutputStream os, ExportOptions options) static RealmRepresentation
ExportUtils.exportRealm
(KeycloakSession session, RealmModel realm, boolean includeUsers, boolean internal) static RealmRepresentation
ExportUtils.exportRealm
(KeycloakSession session, RealmModel realm, ExportOptions options, boolean internal) static UserRepresentation
ExportUtils.exportUser
(KeycloakSession session, RealmModel realm, UserModel user, ExportOptions options, boolean internal) Full export of user (including role mappings and credentials)static void
ExportUtils.exportUsersToStream
(KeycloakSession session, RealmModel realm, List<UserModel> usersToExport, com.fasterxml.jackson.databind.ObjectMapper mapper, OutputStream os) static void
ExportUtils.exportUsersToStream
(KeycloakSession session, RealmModel realm, List<UserModel> usersToExport, com.fasterxml.jackson.databind.ObjectMapper mapper, OutputStream os, ExportOptions options) static void
ImportUtils.importFederatedUsersFromStream
(KeycloakSession session, String realmName, com.fasterxml.jackson.databind.ObjectMapper mapper, InputStream is) static void
ImportUtils.importFromStream
(KeycloakSession session, com.fasterxml.jackson.databind.ObjectMapper mapper, InputStream is, Strategy strategy) Fully import realm (or more realms from particular stream)static boolean
ImportUtils.importRealm
(KeycloakSession session, RealmRepresentation rep, Strategy strategy, boolean skipUserDependent) Fully import realm from representation, save it to model and return model of newly created realmstatic void
ImportUtils.importRealms
(KeycloakSession session, Collection<RealmRepresentation> realms, Strategy strategy) static void
ImportUtils.importUsersFromStream
(KeycloakSession session, String realmName, com.fasterxml.jackson.databind.ObjectMapper mapper, InputStream is) void
ExportImportSessionTask.run
(KeycloakSession session) protected abstract void
ExportImportSessionTask.runExportImportTask
(KeycloakSession session) protected abstract void
MultipleStepsExportProvider.writeFederatedUsers
(String fileName, KeycloakSession session, RealmModel realm, List<String> users) protected abstract void
MultipleStepsExportProvider.writeUsers
(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users) -
Uses of KeycloakSession in org.keycloak.federation.kerberos
Fields in org.keycloak.federation.kerberos declared as KeycloakSessionMethods in org.keycloak.federation.kerberos with parameters of type KeycloakSessionModifier and TypeMethodDescriptionKerberosFederationProviderFactory.create
(KeycloakSession session, ComponentModel model) void
KerberosFederationProviderFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) void
KerberosFederationProviderFactory.onUpdate
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) void
KerberosFederationProviderFactory.preRemove
(KeycloakSession session, RealmModel realm, ComponentModel model) Constructors in org.keycloak.federation.kerberos with parameters of type KeycloakSessionModifierConstructorDescriptionKerberosFederationProvider
(KeycloakSession session, UserStorageProviderModel model, KerberosFederationProviderFactory factory) -
Uses of KeycloakSession in org.keycloak.federation.sssd
Fields in org.keycloak.federation.sssd declared as KeycloakSessionMethods in org.keycloak.federation.sssd with parameters of type KeycloakSessionModifier and TypeMethodDescriptionSSSDFederationProviderFactory.create
(KeycloakSession session, ComponentModel model) Constructors in org.keycloak.federation.sssd with parameters of type KeycloakSessionModifierConstructorDescriptionSSSDFederationProvider
(KeycloakSession session, UserStorageProviderModel model, SSSDFederationProviderFactory sssdFederationProviderFactory) -
Uses of KeycloakSession in org.keycloak.forms.login.freemarker
Fields in org.keycloak.forms.login.freemarker declared as KeycloakSessionMethods in org.keycloak.forms.login.freemarker with parameters of type KeycloakSessionModifier and TypeMethodDescriptionFreeMarkerLoginFormsProviderFactory.create
(KeycloakSession session) static void
AuthenticationStateCookie.expireCookie
(RealmModel realm, KeycloakSession session) static List<IdentityProviderModel>
LoginFormsUtil.filterIdentityProviders
(Stream<IdentityProviderModel> providers, KeycloakSession session, AuthenticationFlowContext context) static List<IdentityProviderModel>
LoginFormsUtil.filterIdentityProvidersForTheme
(Stream<IdentityProviderModel> providers, KeycloakSession session, AuthenticationFlowContext context) static void
AuthenticationStateCookie.generateAndSetCookie
(KeycloakSession session, RealmModel realm, RootAuthenticationSessionModel rootAuthSession, int cookieMaxAge) Constructors in org.keycloak.forms.login.freemarker with parameters of type KeycloakSessionModifierConstructorDescriptionAuthenticatorConfiguredMethod
(RealmModel realm, UserModel user, KeycloakSession session) DetachedInfoStateChecker
(KeycloakSession session, RealmModel realm) -
Uses of KeycloakSession in org.keycloak.forms.login.freemarker.model
Methods in org.keycloak.forms.login.freemarker.model with parameters of type KeycloakSessionModifier and TypeMethodDescriptionprotected void
AbstractUserProfileBean.init
(KeycloakSession session, boolean writeableOnly) Subclass have to call this method at the end of constructor to init user profile data.Constructors in org.keycloak.forms.login.freemarker.model with parameters of type KeycloakSessionModifierConstructorDescriptionClientBean
(KeycloakSession session, ClientModel client) FrontChannelLogoutBean
(KeycloakSession session) IdentityProviderBean
(RealmModel realm, KeycloakSession session, List<IdentityProviderModel> identityProviders, URI baseURI) IdpReviewProfileBean
(UpdateProfileContext idpCtx, jakarta.ws.rs.core.MultivaluedMap<String, String> formData, KeycloakSession session) RecoveryAuthnCodeInputLoginBean
(KeycloakSession session, RealmModel realm, UserModel user) RegisterBean
(jakarta.ws.rs.core.MultivaluedMap<String, String> formData, KeycloakSession session) TotpBean
(KeycloakSession session, RealmModel realm, UserModel user, jakarta.ws.rs.core.UriBuilder uriBuilder) TotpLoginBean
(KeycloakSession session, RealmModel realm, UserModel user, String selectedCredentialId) VerifyProfileBean
(UserModel user, jakarta.ws.rs.core.MultivaluedMap<String, String> formData, KeycloakSession session) WebAuthnAuthenticatorsBean
(KeycloakSession session, RealmModel realm, UserModel user, String credentialType) -
Uses of KeycloakSession in org.keycloak.headers
Methods in org.keycloak.headers with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultSecurityHeadersProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.headers with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.jose.jws
Constructors in org.keycloak.jose.jws with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.keys
Methods in org.keycloak.keys with parameters of type KeycloakSessionModifier and TypeMethodDescriptionGeneratedAesKeyProviderFactory.create
(KeycloakSession session, ComponentModel model) GeneratedEcdsaKeyProviderFactory.create
(KeycloakSession session, ComponentModel model) GeneratedHmacKeyProviderFactory.create
(KeycloakSession session, ComponentModel model) GeneratedRsaEncKeyProviderFactory.create
(KeycloakSession session, ComponentModel model) GeneratedRsaKeyProviderFactory.create
(KeycloakSession session, ComponentModel model) ImportedRsaEncKeyProviderFactory.create
(KeycloakSession session, ComponentModel model) ImportedRsaKeyProviderFactory.create
(KeycloakSession session, ComponentModel model) JavaKeystoreKeyProviderFactory.create
(KeycloakSession session, ComponentModel model) KeyProviderFactory.create
(KeycloakSession session, ComponentModel model) boolean
AbstractGeneratedRsaKeyProviderFactory.createFallbackKeys
(KeycloakSession session, KeyUse keyUse, String algorithm) boolean
GeneratedAesKeyProviderFactory.createFallbackKeys
(KeycloakSession session, KeyUse keyUse, String algorithm) boolean
GeneratedEcdsaKeyProviderFactory.createFallbackKeys
(KeycloakSession session, KeyUse keyUse, String algorithm) boolean
GeneratedHmacKeyProviderFactory.createFallbackKeys
(KeycloakSession session, KeyUse keyUse, String algorithm) default boolean
KeyProviderFactory.createFallbackKeys
(KeycloakSession session, KeyUse keyUse, String algorithm) void
AbstractEcdsaKeyProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) void
AbstractGeneratedRsaKeyProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) void
AbstractGeneratedSecretKeyProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) void
AbstractImportedRsaKeyProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) void
AbstractRsaKeyProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) void
GeneratedEcdsaKeyProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) void
JavaKeystoreKeyProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) Constructors in org.keycloak.keys with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.keys.infinispan
Methods in org.keycloak.keys.infinispan with parameters of type KeycloakSessionModifier and TypeMethodDescriptionInfinispanCachePublicKeyProviderFactory.create
(KeycloakSession session) InfinispanPublicKeyStorageProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.keys.infinispan with parameters of type KeycloakSessionModifierConstructorDescriptionInfinispanCachePublicKeyProvider
(KeycloakSession session, org.infinispan.Cache<String, PublicKeysEntry> keys) InfinispanPublicKeyStorageProvider
(KeycloakSession session, org.infinispan.Cache<String, PublicKeysEntry> keys, Map<String, FutureTask<PublicKeysEntry>> tasksInProgress, int minTimeBetweenRequests) -
Uses of KeycloakSession in org.keycloak.keys.loader
Methods in org.keycloak.keys.loader with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic PublicKey
PublicKeyStorageManager.getClientPublicKey
(KeycloakSession session, ClientModel client, JWSInput input) static KeyWrapper
PublicKeyStorageManager.getClientPublicKeyWrapper
(KeycloakSession session, ClientModel client, JWK.Use keyUse, String algAlgorithm) static KeyWrapper
PublicKeyStorageManager.getClientPublicKeyWrapper
(KeycloakSession session, ClientModel client, JWSInput input) static KeyWrapper
PublicKeyStorageManager.getIdentityProviderKeyWrapper
(KeycloakSession session, RealmModel realm, OIDCIdentityProviderConfig idpConfig, JWSInput input) Constructors in org.keycloak.keys.loader with parameters of type KeycloakSessionModifierConstructorDescriptionClientPublicKeyLoader
(KeycloakSession session, ClientModel client) ClientPublicKeyLoader
(KeycloakSession session, ClientModel client, JWK.Use keyUse) OIDCIdentityProviderPublicKeyLoader
(KeycloakSession session, OIDCIdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.locale
Methods in org.keycloak.locale with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultLocaleSelectorProviderFactory.create
(KeycloakSession session) DefaultLocaleUpdaterProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.locale with parameters of type KeycloakSessionModifierConstructorDescription -
Uses of KeycloakSession in org.keycloak.migration
Methods in org.keycloak.migration with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic void
MigrationModelManager.migrate
(KeycloakSession session) static void
MigrationModelManager.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) -
Uses of KeycloakSession in org.keycloak.migration.migrators
Methods in org.keycloak.migration.migrators with parameters of type KeycloakSessionModifier and TypeMethodDescriptionvoid
MigrateTo1_2_0.migrate
(KeycloakSession session) void
MigrateTo1_3_0.migrate
(KeycloakSession session) void
MigrateTo1_4_0.migrate
(KeycloakSession session) void
MigrateTo1_5_0.migrate
(KeycloakSession session) void
MigrateTo1_6_0.migrate
(KeycloakSession session) void
MigrateTo1_7_0.migrate
(KeycloakSession session) void
MigrateTo1_8_0.migrate
(KeycloakSession session) void
MigrateTo1_9_0.migrate
(KeycloakSession session) void
MigrateTo1_9_2.migrate
(KeycloakSession session) void
MigrateTo12_0_0.migrate
(KeycloakSession session) void
MigrateTo14_0_0.migrate
(KeycloakSession session) void
MigrateTo18_0_0.migrate
(KeycloakSession session) void
MigrateTo2_0_0.migrate
(KeycloakSession session) void
MigrateTo2_1_0.migrate
(KeycloakSession session) void
MigrateTo2_2_0.migrate
(KeycloakSession session) void
MigrateTo2_3_0.migrate
(KeycloakSession session) void
MigrateTo2_5_0.migrate
(KeycloakSession session) void
MigrateTo20_0_0.migrate
(KeycloakSession session) void
MigrateTo21_0_0.migrate
(KeycloakSession session) void
MigrateTo22_0_0.migrate
(KeycloakSession session) void
MigrateTo23_0_0.migrate
(KeycloakSession session) void
MigrateTo3_0_0.migrate
(KeycloakSession session) void
MigrateTo3_1_0.migrate
(KeycloakSession session) void
MigrateTo3_2_0.migrate
(KeycloakSession session) void
MigrateTo3_4_0.migrate
(KeycloakSession session) void
MigrateTo3_4_1.migrate
(KeycloakSession session) void
MigrateTo3_4_2.migrate
(KeycloakSession session) void
MigrateTo4_0_0.migrate
(KeycloakSession session) void
MigrateTo4_2_0.migrate
(KeycloakSession session) void
MigrateTo4_6_0.migrate
(KeycloakSession session) void
MigrateTo6_0_0.migrate
(KeycloakSession session) void
MigrateTo8_0_0.migrate
(KeycloakSession session) void
MigrateTo8_0_2.migrate
(KeycloakSession session) void
MigrateTo9_0_0.migrate
(KeycloakSession session) void
MigrateTo9_0_4.migrate
(KeycloakSession session) void
Migration.migrate
(KeycloakSession session) void
MigrateTo1_2_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_3_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_4_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_5_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_6_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_7_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_8_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo1_9_2.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo18_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo2_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo2_1_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo2_2_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo2_3_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo2_5_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo20_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo21_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo22_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo23_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_1_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_2_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_4_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_4_1.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo3_4_2.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo4_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo4_2_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo4_6_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo6_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo8_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo8_0_2.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo9_0_0.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) void
MigrateTo9_0_4.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) default void
Migration.migrateImport
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) Called after full import of representation.static void
MigrationUtils.migrateOldOfflineToken
(KeycloakSession session, RealmModel realm, ClientModel client, UserModel user) protected void
MigrateTo1_4_0.migrateRealm
(KeycloakSession session, RealmModel realm) protected void
MigrateTo1_5_0.migrateRealm
(KeycloakSession session, RealmModel realm) protected void
MigrateTo1_6_0.migrateRealm
(KeycloakSession session, ProtocolMapperModel localeMapper, RealmModel realm) protected void
MigrateTo1_7_0.migrateRealm
(KeycloakSession session, RealmModel realm) protected void
MigrateTo18_0_0.migrateRealm
(KeycloakSession session, RealmModel realm) protected void
MigrateTo3_2_0.migrateRealm
(KeycloakSession session, RealmModel realm) protected void
MigrateTo4_0_0.migrateRealm
(KeycloakSession session, RealmModel realm, boolean json) protected void
MigrateTo4_6_0.migrateRealm
(KeycloakSession session, RealmModel realm, boolean json) protected void
MigrateTo6_0_0.migrateRealm
(KeycloakSession session, RealmModel realm, boolean jsn) -
Uses of KeycloakSession in org.keycloak.models
Methods in org.keycloak.models that return KeycloakSessionModifier and TypeMethodDescriptionKeycloakSessionFactory.create()
ClientModel.ClientIdChangeEvent.getKeycloakSession()
ClientModel.ClientRemovedEvent.getKeycloakSession()
ClientModel.ClientUpdatedEvent.getKeycloakSession()
ClientScopeModel.ClientScopeRemovedEvent.getKeycloakSession()
GroupModel.GroupPathChangeEvent.getKeycloakSession()
GroupModel.GroupRemovedEvent.getKeycloakSession()
RealmModel.IdentityProviderRemovedEvent.getKeycloakSession()
RealmModel.IdentityProviderUpdatedEvent.getKeycloakSession()
RealmModel.RealmCreationEvent.getKeycloakSession()
RealmModel.RealmPostCreateEvent.getKeycloakSession()
RealmModel.RealmRemovedEvent.getKeycloakSession()
RoleContainerModel.RoleRemovedEvent.getKeycloakSession()
RoleModel.RoleNameChangeEvent.getKeycloakSession()
UserModel.UserRemovedEvent.getKeycloakSession()
UserSessionProvider.getKeycloakSession()
Returns currently used Keycloak session.Methods in org.keycloak.models with parameters of type KeycloakSessionModifier and TypeMethodDescriptionPasswordPolicy.Builder.build
(KeycloakSession session) DefaultOAuth2DeviceUserCodeProviderFactory.create
(KeycloakSession session) static PasswordPolicy
PasswordPolicy.parse
(KeycloakSession session, String policyString) void
KeycloakSessionTask.run
(KeycloakSession session) KeycloakSessionTaskWithResult.run
(KeycloakSession session) Computes a result.static void
ImpersonationConstants.setupImpersonationService
(KeycloakSession session, RealmModel realm) Constructors in org.keycloak.models with parameters of type KeycloakSessionModifierConstructorDescriptionKeycloakUriInfo
(KeycloakSession session, UrlType type, jakarta.ws.rs.core.UriInfo delegate) UserManager
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.models.cache
Methods in org.keycloak.models.cache that return KeycloakSession -
Uses of KeycloakSession in org.keycloak.models.cache.infinispan
Fields in org.keycloak.models.cache.infinispan declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
GroupAdapter.keycloakSession
protected final KeycloakSession
UserAdapter.keycloakSession
protected KeycloakSession
RealmAdapter.session
protected KeycloakSession
RealmCacheSession.session
protected KeycloakSession
UserCacheSession.session
Methods in org.keycloak.models.cache.infinispan with parameters of type KeycloakSessionModifier and TypeMethodDescription<T> T
RealmCacheManager.computeSerialized
(KeycloakSession session, String id, BiFunction<String, KeycloakSession, T> compute) Compute a cached realm and ensure that this happens only once with the current Keycloak instance.InfinispanCacheRealmProviderFactory.create
(KeycloakSession session) InfinispanUserCacheProviderFactory.create
(KeycloakSession session) void
InfinispanUserCacheProviderFactory.invalidate
(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params) void
UserCacheSession.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) void
UserCacheSession.onUpdate
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) void
CacheManager.sendInvalidationEvents
(KeycloakSession session, Collection<InvalidationEvent> invalidationEvents, String eventKey) Method parameters in org.keycloak.models.cache.infinispan with type arguments of type KeycloakSessionModifier and TypeMethodDescription<T> T
RealmCacheManager.computeSerialized
(KeycloakSession session, String id, BiFunction<String, KeycloakSession, T> compute) Compute a cached realm and ensure that this happens only once with the current Keycloak instance.Constructors in org.keycloak.models.cache.infinispan with parameters of type KeycloakSessionModifierConstructorDescriptionGroupAdapter
(CachedGroup cached, RealmCacheSession cacheSession, KeycloakSession keycloakSession, RealmModel realm) RealmAdapter
(KeycloakSession session, CachedRealm cached, RealmCacheSession cacheSession) RealmCacheSession
(RealmCacheManager cache, KeycloakSession session) SubjectCredentialManagerCacheAdapter
(KeycloakSession session, RealmModel realm, UserModel user) UserAdapter
(CachedUser cached, UserCacheSession userProvider, KeycloakSession keycloakSession, RealmModel realm) UserCacheSession
(UserCacheManager cache, KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.models.cache.infinispan.authorization
Fields in org.keycloak.models.cache.infinispan.authorization declared as KeycloakSessionMethods in org.keycloak.models.cache.infinispan.authorization with parameters of type KeycloakSessionModifier and TypeMethodDescriptionInfinispanCacheStoreFactoryProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.models.cache.infinispan.authorization with parameters of type KeycloakSessionModifierConstructorDescriptionStoreFactoryCacheSession
(StoreFactoryCacheManager cache, KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.models.dblock
Methods in org.keycloak.models.dblock with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDBLockGlobalLockProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.models.dblock with parameters of type KeycloakSessionModifierConstructorDescriptionDBLockGlobalLockProvider
(KeycloakSession session, DBLockProvider dbLockProvider) DBLockManager
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.models.delegate
Constructors in org.keycloak.models.delegate with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.models.jpa
Fields in org.keycloak.models.jpa declared as KeycloakSessionModifier and TypeFieldDescriptionprotected KeycloakSession
ClientAdapter.session
protected KeycloakSession
ClientScopeAdapter.session
protected KeycloakSession
RealmAdapter.session
protected KeycloakSession
RoleAdapter.session
Methods in org.keycloak.models.jpa with parameters of type KeycloakSessionModifier and TypeMethodDescriptionJpaClientProviderFactory.create
(KeycloakSession session) JpaClientScopeProviderFactory.create
(KeycloakSession session) JpaDeploymentStateProviderFactory.create
(KeycloakSession session) JpaGroupProviderFactory.create
(KeycloakSession session) JpaRealmProviderFactory.create
(KeycloakSession session) JpaRoleProviderFactory.create
(KeycloakSession session) JpaUserCredentialStoreFactory.create
(KeycloakSession session) JpaUserProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.models.jpa with parameters of type KeycloakSessionModifierConstructorDescriptionClientAdapter
(RealmModel realm, jakarta.persistence.EntityManager em, KeycloakSession session, ClientEntity entity) ClientScopeAdapter
(RealmModel realm, jakarta.persistence.EntityManager em, KeycloakSession session, ClientScopeEntity entity) JpaRealmProvider
(KeycloakSession session, jakarta.persistence.EntityManager em, Set<String> clientSearchableAttributes, Set<String> groupSearchableAttributes) JpaUserCredentialStore
(KeycloakSession session, jakarta.persistence.EntityManager em) JpaUserProvider
(KeycloakSession session, jakarta.persistence.EntityManager em) RealmAdapter
(KeycloakSession session, jakarta.persistence.EntityManager em, RealmEntity realm) RoleAdapter
(KeycloakSession session, RealmModel realm, jakarta.persistence.EntityManager em, RoleEntity role) UserAdapter
(KeycloakSession session, RealmModel realm, jakarta.persistence.EntityManager em, UserEntity user) -
Uses of KeycloakSession in org.keycloak.models.jpa.session
Methods in org.keycloak.models.jpa.session with parameters of type KeycloakSessionModifier and TypeMethodDescriptionJpaUserSessionPersisterProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.models.jpa.session with parameters of type KeycloakSessionModifierConstructorDescriptionJpaUserSessionPersisterProvider
(KeycloakSession session, jakarta.persistence.EntityManager em) -
Uses of KeycloakSession in org.keycloak.models.light
Methods in org.keycloak.models.light with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic LightweightUserAdapter
LightweightUserAdapter.fromString
(KeycloakSession session, RealmModel realm, String serializedForm) Constructors in org.keycloak.models.light with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.models.locking
Methods in org.keycloak.models.locking with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.models.session
Methods in org.keycloak.models.session with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDisabledUserSessionPersisterProvider.create
(KeycloakSession session) Constructors in org.keycloak.models.session with parameters of type KeycloakSessionModifierConstructorDescriptionPersistentAuthenticatedClientSessionAdapter
(KeycloakSession session, AuthenticatedClientSessionModel clientSession) PersistentAuthenticatedClientSessionAdapter
(KeycloakSession session, PersistentClientSessionModel model, RealmModel realm, ClientModel client, UserSessionModel userSession) PersistentUserSessionAdapter
(KeycloakSession session, PersistentUserSessionModel model, RealmModel realm, String userId, Map<String, AuthenticatedClientSessionModel> clientSessions) -
Uses of KeycloakSession in org.keycloak.models.sessions.infinispan
Fields in org.keycloak.models.sessions.infinispan declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
InfinispanUserLoginFailureProvider.session
protected final KeycloakSession
InfinispanUserSessionProvider.session
Methods in org.keycloak.models.sessions.infinispan that return KeycloakSessionMethods in org.keycloak.models.sessions.infinispan with parameters of type KeycloakSessionModifier and TypeMethodDescriptionprotected void
InfinispanUserLoginFailureProviderFactory.checkRemoteCaches
(KeycloakSession session) protected void
InfinispanUserSessionProviderFactory.checkRemoteCaches
(KeycloakSession session) InfinispanAuthenticationSessionProviderFactory.create
(KeycloakSession session) InfinispanSingleUseObjectProviderFactory.create
(KeycloakSession session) InfinispanStickySessionEncoderProviderFactory.create
(KeycloakSession session) InfinispanUserLoginFailureProviderFactory.create
(KeycloakSession session) InfinispanUserSessionProviderFactory.create
(KeycloakSession session) protected void
InfinispanAuthenticationSessionProviderFactory.registerClusterListeners
(KeycloakSession session) protected void
InfinispanUserLoginFailureProviderFactory.registerClusterListeners
(KeycloakSession session) protected void
InfinispanUserSessionProviderFactory.registerClusterListeners
(KeycloakSession session) Constructors in org.keycloak.models.sessions.infinispan with parameters of type KeycloakSessionModifierConstructorDescriptionAuthenticatedClientSessionAdapter
(KeycloakSession kcSession, InfinispanUserSessionProvider provider, AuthenticatedClientSessionEntity entity, ClientModel client, UserSessionModel userSession, InfinispanChangelogBasedTransaction<UUID, AuthenticatedClientSessionEntity> clientSessionUpdateTx, boolean offline) AuthenticationSessionAdapter
(KeycloakSession session, RootAuthenticationSessionAdapter parent, String tabId, AuthenticationSessionEntity entity) InfinispanAuthenticationSessionProvider
(KeycloakSession session, InfinispanKeyGenerator keyGenerator, org.infinispan.Cache<String, RootAuthenticationSessionEntity> cache, int authSessionsLimit) InfinispanSingleUseObjectProvider
(KeycloakSession session, Supplier<org.infinispan.commons.api.BasicCache<String, SingleUseObjectValueEntity>> singleUseObjectCache) InfinispanStickySessionEncoderProvider
(KeycloakSession session, boolean shouldAttachRoute) InfinispanUserLoginFailureProvider
(KeycloakSession session, RemoteCacheInvoker remoteCacheInvoker, org.infinispan.Cache<LoginFailureKey, SessionEntityWrapper<LoginFailureEntity>> loginFailureCache) InfinispanUserSessionProvider
(KeycloakSession session, RemoteCacheInvoker remoteCacheInvoker, CrossDCLastSessionRefreshStore lastSessionRefreshStore, CrossDCLastSessionRefreshStore offlineLastSessionRefreshStore, PersisterLastSessionRefreshStore persisterLastSessionRefreshStore, InfinispanKeyGenerator keyGenerator, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> sessionCache, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> offlineSessionCache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> clientSessionCache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> offlineClientSessionCache, boolean loadOfflineSessionsFromDatabase) RootAuthenticationSessionAdapter
(KeycloakSession session, InfinispanAuthenticationSessionProvider provider, org.infinispan.Cache<String, RootAuthenticationSessionEntity> cache, RealmModel realm, RootAuthenticationSessionEntity entity, int authSessionsLimt) UserSessionAdapter
(KeycloakSession session, UserModel user, InfinispanUserSessionProvider provider, InfinispanChangelogBasedTransaction<String, UserSessionEntity> userSessionUpdateTx, InfinispanChangelogBasedTransaction<UUID, AuthenticatedClientSessionEntity> clientSessionUpdateTx, RealmModel realm, UserSessionEntity entity, boolean offline) -
Uses of KeycloakSession in org.keycloak.models.sessions.infinispan.changes
Constructors in org.keycloak.models.sessions.infinispan.changes with parameters of type KeycloakSessionModifierConstructorDescriptionInfinispanChangelogBasedTransaction
(KeycloakSession kcSession, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, RemoteCacheInvoker remoteCacheInvoker, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader) -
Uses of KeycloakSession in org.keycloak.models.sessions.infinispan.changes.sessions
Methods in org.keycloak.models.sessions.infinispan.changes.sessions with parameters of type KeycloakSessionModifier and TypeMethodDescriptionCrossDCLastSessionRefreshStoreFactory.createAndInit
(KeycloakSession kcSession, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, boolean offline) CrossDCLastSessionRefreshStoreFactory.createAndInit
(KeycloakSession kcSession, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, long timerIntervalMs, int maxIntervalBetweenMessagesSeconds, int maxCount, boolean offline) PersisterLastSessionRefreshStoreFactory.createAndInit
(KeycloakSession kcSession, boolean offline) void
AbstractLastSessionRefreshStore.putLastSessionRefresh
(KeycloakSession kcSession, String sessionId, String realmId, int lastSessionRefresh) protected abstract void
AbstractLastSessionRefreshStore.sendMessage
(KeycloakSession kcSession, Map<String, SessionData> refreshesToSend) Bulk update the underlying store with all the user sessions, which were refreshed by Keycloak since the last call of this methodprotected void
CrossDCLastSessionRefreshStore.sendMessage
(KeycloakSession kcSession, Map<String, SessionData> refreshesToSend) protected void
PersisterLastSessionRefreshStore.sendMessage
(KeycloakSession kcSession, Map<String, SessionData> refreshesToSend) protected void
AbstractLastSessionRefreshStoreFactory.setupPeriodicTimer
(KeycloakSession kcSession, AbstractLastSessionRefreshStore store, long timerIntervalMs, String eventKey) CrossDCLastSessionRefreshChecker.shouldSaveClientSessionToRemoteCache
(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<AuthenticatedClientSessionEntity> sessionWrapper, UserSessionModel userSession, boolean offline, int newTimestamp) CrossDCLastSessionRefreshChecker.shouldSaveUserSessionToRemoteCache
(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<UserSessionEntity> sessionWrapper, boolean offline, int newLastSessionRefresh) Constructors in org.keycloak.models.sessions.infinispan.changes.sessions with parameters of type KeycloakSessionModifierConstructorDescriptionCrossDCLastSessionRefreshListener
(KeycloakSession session, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, boolean offline) -
Uses of KeycloakSession in org.keycloak.models.sessions.infinispan.events
Methods in org.keycloak.models.sessions.infinispan.events with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic ClientRemovedSessionEvent
ClientRemovedSessionEvent.create
(KeycloakSession session, String eventKey, String realmId, boolean resendingEvent, String clientUuid) static <T extends SessionClusterEvent>
TSessionClusterEvent.createEvent
(Class<T> eventClass, String eventKey, KeycloakSession session, String realmId, boolean resendingEvent) protected abstract void
AbstractAuthSessionClusterListener.eventReceived
(KeycloakSession session, InfinispanAuthenticationSessionProvider provider, SE sessionEvent) protected abstract void
AbstractUserSessionClusterListener.eventReceived
(KeycloakSession session, T provider, SE sessionEvent) Constructors in org.keycloak.models.sessions.infinispan.events with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.models.sessions.infinispan.initializer
Methods in org.keycloak.models.sessions.infinispan.initializer with parameters of type KeycloakSessionModifier and TypeMethodDescriptionOfflinePersistentUserSessionLoader.computeLoaderContext
(KeycloakSession session) SessionLoader.computeLoaderContext
(KeycloakSession session) Will be triggered just once on cluster coordinator node to count the number of segments and other context data specific to whole computation.void
OfflinePersistentUserSessionLoader.init
(KeycloakSession session) void
SessionLoader.init
(KeycloakSession session) Will be triggered just once on cluster coordinator node to perform some generic initialization tasks (Eg.OfflinePersistentUserSessionLoader.loadSessions
(KeycloakSession session, OfflinePersistentLoaderContext loaderContext, OfflinePersistentWorkerContext ctx) SessionLoader.loadSessions
(KeycloakSession session, LOADER_CONTEXT loaderContext, WORKER_CONTEXT workerContext) Will be called on all cluster nodes to load the specified page.Constructors in org.keycloak.models.sessions.infinispan.initializer with parameters of type KeycloakSessionModifierConstructorDescriptionDBLockBasedCacheInitializer
(KeycloakSession session, CacheInitializer delegate) -
Uses of KeycloakSession in org.keycloak.models.sessions.infinispan.remotestore
Methods in org.keycloak.models.sessions.infinispan.remotestore with parameters of type KeycloakSessionModifier and TypeMethodDescriptionRemoteCacheSessionsLoader.computeLoaderContext
(KeycloakSession session) static <K,
V extends SessionEntity>
RemoteCacheSessionListenerRemoteCacheSessionListener.createListener
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.client.hotrod.RemoteCache<K, SessionEntityWrapper<V>> remoteCache, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader) protected org.infinispan.Cache
RemoteCacheSessionsLoader.getCache
(KeycloakSession session) protected org.infinispan.client.hotrod.RemoteCache
RemoteCacheSessionsLoader.getRemoteCache
(KeycloakSession session) protected void
RemoteCacheSessionListener.init
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.client.hotrod.RemoteCache<K, SessionEntityWrapper<V>> remoteCache, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader) void
RemoteCacheSessionsLoader.init
(KeycloakSession session) RemoteCacheSessionsLoader.loadSessions
(KeycloakSession session, RemoteCacheSessionsLoaderContext loaderContext, SessionLoader.WorkerContext ctx) <K,
V extends SessionEntity>
voidRemoteCacheInvoker.runTask
(KeycloakSession kcSession, RealmModel realm, String cacheName, K key, MergedUpdate<V> task, SessionEntityWrapper<V> sessionWrapper) -
Uses of KeycloakSession in org.keycloak.models.sessions.infinispan.util
Methods in org.keycloak.models.sessions.infinispan.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionInfinispanKeyGenerator.generateKeyString
(KeycloakSession session, org.infinispan.Cache<String, ?> cache) InfinispanKeyGenerator.generateKeyUUID
(KeycloakSession session, org.infinispan.Cache<UUID, ?> cache) -
Uses of KeycloakSession in org.keycloak.models.utils
Methods in org.keycloak.models.utils with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic void
KeycloakModelUtils.cloneContextRealmClientSessionToSession
(KeycloakContext origContext, KeycloakSession targetSession) Sets up the context for the specified session with the RealmModel, clientModel and AuthenticatedSessionModel.static void
KeycloakModelUtils.cloneContextRealmClientToSession
(KeycloakContext origContext, KeycloakSession targetSession) Sets up the context for the specified session with the RealmModel.static ClientModel
RepresentationToModel.createClient
(KeycloakSession session, RealmModel realm, ClientRepresentation resourceRep) Does not create scope or role mappings!static ClientModel
RepresentationToModel.createClient
(KeycloakSession session, RealmModel realm, ClientRepresentation resourceRep, Map<String, String> mappedFlows) static ClientScopeModel
RepresentationToModel.createClientScope
(KeycloakSession session, RealmModel realm, ClientScopeRepresentation resourceRep) static void
RepresentationToModel.createCredentials
(UserRepresentation userRep, KeycloakSession session, RealmModel realm, UserModel user, boolean adminRequest) static void
DefaultClientScopes.createDefaultClientScopes
(KeycloakSession session, RealmModel realm, boolean addScopesToExistingClients) static void
RepresentationToModel.createFederatedIdentities
(UserRepresentation userRep, KeycloakSession session, RealmModel realm, UserModel user) static void
RepresentationToModel.createGroups
(KeycloakSession session, UserRepresentation userRep, RealmModel newRealm, UserModel user) static ResourceServer
RepresentationToModel.createResourceServer
(ClientModel client, KeycloakSession session, boolean addDefaultRoles) static UserModel
RepresentationToModel.createUser
(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep) static void
ModelToRepresentation.exportAuthenticationFlows
(KeycloakSession session, RealmModel realm, RealmRepresentation rep) static void
ModelToRepresentation.exportGroups
(KeycloakSession session, RealmModel realm, RealmRepresentation rep) static GroupModel
KeycloakModelUtils.findGroupByPath
(KeycloakSession session, RealmModel realm, String path) Finds group by path.static GroupModel
KeycloakModelUtils.findGroupByPath
(KeycloakSession session, RealmModel realm, String[] path) Finds group by path.static UserModel
KeycloakModelUtils.findUserByNameOrEmail
(KeycloakSession session, RealmModel realm, String username) Try to find user by username or email for authenticationstatic Map<String,
ProviderConfigProperty> ComponentUtil.getComponentConfigProperties
(KeycloakSession session, String providerType, String providerId) static Map<String,
ProviderConfigProperty> ComponentUtil.getComponentConfigProperties
(KeycloakSession session, ComponentModel component) static Map<String,
ProviderConfigProperty> ComponentUtil.getComponentConfigProperties
(KeycloakSession session, ComponentRepresentation component) static ComponentFactory
ComponentUtil.getComponentFactory
(KeycloakSession session, ComponentModel component) static ComponentFactory
ComponentUtil.getComponentFactory
(KeycloakSession session, ComponentRepresentation component) static String
KeycloakModelUtils.getIdentityProviderDisplayName
(KeycloakSession session, IdentityProviderModel provider) static void
RepresentationToModel.importAuthorizationSettings
(ClientRepresentation clientRepresentation, ClientModel client, KeycloakSession session) static void
RepresentationToModel.importRealm
(KeycloakSession session, RealmRepresentation rep, RealmModel newRealm, boolean skipUserDependent) static boolean
KeycloakModelUtils.isRealmProviderJpa
(KeycloakSession session) static void
ComponentUtil.notifyCreated
(KeycloakSession session, RealmModel realm, ComponentModel model) static void
ComponentUtil.notifyPreRemove
(KeycloakSession session, RealmModel realm, ComponentModel model) static void
ComponentUtil.notifyUpdated
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) static Stream<GroupModel>
ModelToRepresentation.searchGroupModelsByAttributes
(KeycloakSession session, RealmModel realm, Map<String, String> attributes, Integer first, Integer max) static void
KeycloakModelUtils.setDefaultGroups
(KeycloakSession session, RealmModel realm, Stream<String> groups) Sets the default groups on the realmStripSecretsUtils.strip
(KeycloakSession session, String providerType, ComponentExportRepresentation rep) static ComponentRepresentation
StripSecretsUtils.strip
(KeycloakSession session, ComponentRepresentation rep) static void
StripSecretsUtils.stripForExport
(KeycloakSession session, RealmRepresentation rep) static Stream<GroupRepresentation>
ModelToRepresentation.toGroupHierarchy
(KeycloakSession session, RealmModel realm, boolean full) Deprecated.static AuthenticationExecutionModel
RepresentationToModel.toModel
(KeycloakSession session, RealmModel realm, AuthenticationExecutionRepresentation rep) static ComponentModel
RepresentationToModel.toModel
(KeycloakSession session, ComponentRepresentation rep) static IdentityProviderModel
RepresentationToModel.toModel
(RealmModel realm, IdentityProviderRepresentation representation, KeycloakSession session) static ClientRepresentation
ModelToRepresentation.toRepresentation
(ClientModel clientModel, KeycloakSession session) static ComponentRepresentation
ModelToRepresentation.toRepresentation
(KeycloakSession session, ComponentModel component, boolean internal) static RealmRepresentation
ModelToRepresentation.toRepresentation
(KeycloakSession session, RealmModel realm, boolean internal) ModelToRepresentation.toRepresentation
(KeycloakSession session, RealmModel realm, AuthenticationExecutionModel model) ModelToRepresentation.toRepresentation
(KeycloakSession session, RealmModel realm, AuthenticationFlowModel model) static UserRepresentation
ModelToRepresentation.toRepresentation
(KeycloakSession session, RealmModel realm, UserModel user) static ResourceServerRepresentation
ModelToRepresentation.toResourceServerRepresentation
(KeycloakSession session, ClientModel client) static void
RepresentationToModel.updateClient
(ClientRepresentation rep, ClientModel resource, KeycloakSession session) static void
RepresentationToModel.updateComponent
(KeycloakSession session, ComponentRepresentation rep, ComponentModel component, boolean internal) static void
RepresentationToModel.updateRealm
(RealmRepresentation rep, RealmModel realm, KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.partialimport
Methods in org.keycloak.partialimport with parameters of type KeycloakSessionModifier and TypeMethodDescriptionabstract void
AbstractPartialImport.create
(RealmModel realm, KeycloakSession session, T resourceRep) void
ClientsPartialImport.create
(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep) void
GroupsPartialImport.create
(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep) void
IdentityProviderMappersPartialImport.create
(RealmModel realm, KeycloakSession session, IdentityProviderMapperRepresentation idpMapperRep) void
IdentityProvidersPartialImport.create
(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep) void
RealmRolesPartialImport.create
(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep) void
UsersPartialImport.create
(RealmModel realm, KeycloakSession session, UserRepresentation user) AbstractPartialImport.doImport
(PartialImportRepresentation partialImportRep, RealmModel realm, KeycloakSession session) PartialImport.doImport
(PartialImportRepresentation rep, RealmModel realm, KeycloakSession session) Create (or re-create) all the imported resources.RolesPartialImport.doImport
(PartialImportRepresentation rep, RealmModel realm, KeycloakSession session) abstract boolean
AbstractPartialImport.exists
(RealmModel realm, KeycloakSession session, T resourceRep) boolean
ClientRolesPartialImport.exists
(RealmModel realm, KeycloakSession session, String clientId, RoleRepresentation roleRep) boolean
ClientsPartialImport.exists
(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep) boolean
GroupsPartialImport.exists
(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep) boolean
IdentityProviderMappersPartialImport.exists
(RealmModel realm, KeycloakSession session, IdentityProviderMapperRepresentation idpMapperRep) boolean
IdentityProvidersPartialImport.exists
(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep) boolean
RealmRolesPartialImport.exists
(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep) boolean
UsersPartialImport.exists
(RealmModel realm, KeycloakSession session, UserRepresentation user) abstract String
AbstractPartialImport.getModelId
(RealmModel realm, KeycloakSession session, T resourceRep) ClientsPartialImport.getModelId
(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep) GroupsPartialImport.getModelId
(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep) IdentityProviderMappersPartialImport.getModelId
(RealmModel realm, KeycloakSession session, IdentityProviderMapperRepresentation idpMapperRep) IdentityProvidersPartialImport.getModelId
(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep) RealmRolesPartialImport.getModelId
(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep) UsersPartialImport.getModelId
(RealmModel realm, KeycloakSession session, UserRepresentation user) void
AbstractPartialImport.prepare
(PartialImportRepresentation partialImportRep, RealmModel realm, KeycloakSession session) void
ClientRolesPartialImport.prepare
(PartialImportRepresentation partialImportRep, RealmModel realm, KeycloakSession session) void
PartialImport.prepare
(PartialImportRepresentation rep, RealmModel realm, KeycloakSession session) Find which resources will need to be skipped or overwritten.void
RolesPartialImport.prepare
(PartialImportRepresentation rep, RealmModel realm, KeycloakSession session) abstract void
AbstractPartialImport.remove
(RealmModel realm, KeycloakSession session, T resourceRep) void
ClientsPartialImport.remove
(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep) void
GroupsPartialImport.remove
(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep) void
IdentityProviderMappersPartialImport.remove
(RealmModel realm, KeycloakSession session, IdentityProviderMapperRepresentation idpMapperRep) void
IdentityProvidersPartialImport.remove
(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep) void
RealmRolesPartialImport.remove
(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep) void
UsersPartialImport.remove
(RealmModel realm, KeycloakSession session, UserRepresentation user) void
AbstractPartialImport.removeOverwrites
(RealmModel realm, KeycloakSession session) void
PartialImport.removeOverwrites
(RealmModel realm, KeycloakSession session) Delete resources that will be overwritten.void
RolesPartialImport.removeOverwrites
(RealmModel realm, KeycloakSession session) Constructors in org.keycloak.partialimport with parameters of type KeycloakSessionModifierConstructorDescriptionPartialImportManager
(PartialImportRepresentation rep, KeycloakSession session, RealmModel realm) -
Uses of KeycloakSession in org.keycloak.policy
Methods in org.keycloak.policy with parameters of type KeycloakSessionModifier and TypeMethodDescriptionBlacklistPasswordPolicyProviderFactory.create
(KeycloakSession session) DefaultPasswordPolicyManagerProviderFactory.create
(KeycloakSession session) DigitsPasswordPolicyProviderFactory.create
(KeycloakSession session) ForceExpiredPasswordPolicyProviderFactory.create
(KeycloakSession session) HashAlgorithmPasswordPolicyProviderFactory.create
(KeycloakSession session) HashIterationsPasswordPolicyProviderFactory.create
(KeycloakSession session) HistoryPasswordPolicyProviderFactory.create
(KeycloakSession session) LengthPasswordPolicyProviderFactory.create
(KeycloakSession session) LowerCasePasswordPolicyProviderFactory.create
(KeycloakSession session) MaxAuthAgePasswordPolicyProviderFactory.create
(KeycloakSession session) MaximumLengthPasswordPolicyProviderFactory.create
(KeycloakSession session) NotEmailPasswordPolicyProviderFactory.create
(KeycloakSession session) NotUsernamePasswordPolicyProviderFactory.create
(KeycloakSession session) RecoveryCodesWarningThresholdPasswordPolicyProviderFactory.create
(KeycloakSession session) RegexPatternsPasswordPolicyProviderFactory.create
(KeycloakSession session) SpecialCharsPasswordPolicyProviderFactory.create
(KeycloakSession session) UpperCasePasswordPolicyProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.policy with parameters of type KeycloakSessionModifierConstructorDescription -
Uses of KeycloakSession in org.keycloak.protocol
Fields in org.keycloak.protocol declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
AuthorizationEndpointBase.session
Methods in org.keycloak.protocol with parameters of type KeycloakSessionModifier and TypeMethodDescriptionLoginProtocolFactory.createProtocolEndpoint
(KeycloakSession session, EventBuilder event) static void
RestartLoginCookie.expireRestartCookie
(RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, KeycloakSession session) static ProtocolMapperModel
ProtocolMapperUtils.findLocaleMapper
(KeycloakSession session) Find the builtin locale mapper.jakarta.ws.rs.core.Response
ClientInstallationProvider.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri) default ProtocolMapperModel
ProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) Get effective configuration of protocol mapper.static jakarta.ws.rs.core.Cookie
RestartLoginCookie.getRestartCookie
(KeycloakSession session) static Stream<Map.Entry<ProtocolMapperModel,
ProtocolMapper>> ProtocolMapperUtils.getSortedProtocolMappers
(KeycloakSession session, ClientSessionContext ctx) static Stream<Map.Entry<ProtocolMapperModel,
ProtocolMapper>> ProtocolMapperUtils.getSortedProtocolMappers
(KeycloakSession session, ClientSessionContext ctx, Predicate<Map.Entry<ProtocolMapperModel, ProtocolMapper>> filter) static boolean
ProtocolMapperUtils.isEnabled
(KeycloakSession session, ProtocolMapperModel mapper) static AuthenticationSessionModel
RestartLoginCookie.restartSession
(KeycloakSession session, RealmModel realm, RootAuthenticationSessionModel rootSession, String expectedClientId, jakarta.ws.rs.core.Cookie cook) static void
RestartLoginCookie.setRestartCookie
(KeycloakSession session, RealmModel realm, ClientConnection connection, jakarta.ws.rs.core.UriInfo uriInfo, AuthenticationSessionModel authSession) 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 endpointConstructors in org.keycloak.protocol with parameters of type KeycloakSessionModifierConstructorDescriptionAuthorizationEndpointBase
(KeycloakSession session, EventBuilder event) -
Uses of KeycloakSession in org.keycloak.protocol.docker
Methods in org.keycloak.protocol.docker with parameters of type KeycloakSessionModifier and TypeMethodDescriptionboolean
DockerAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) DockerAuthenticatorFactory.create
(KeycloakSession session) DockerAuthV2ProtocolFactory.create
(KeycloakSession session) DockerAuthV2ProtocolFactory.createProtocolEndpoint
(KeycloakSession session, EventBuilder event) DockerAuthV2Protocol.setSession
(KeycloakSession session) Constructors in org.keycloak.protocol.docker with parameters of type KeycloakSessionModifierConstructorDescriptionDockerAuthV2Protocol
(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.core.HttpHeaders headers, EventBuilder event) DockerEndpoint
(KeycloakSession session, EventBuilder event, EventType login) DockerV2LoginProtocolService
(KeycloakSession session, EventBuilder event) -
Uses of KeycloakSession in org.keycloak.protocol.docker.installation
Methods in org.keycloak.protocol.docker.installation with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDockerComposeYamlInstallationProvider.create
(KeycloakSession session) DockerRegistryConfigFileInstallationProvider.create
(KeycloakSession session) DockerVariableOverrideInstallationProvider.create
(KeycloakSession session) jakarta.ws.rs.core.Response
DockerComposeYamlInstallationProvider.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri) jakarta.ws.rs.core.Response
DockerRegistryConfigFileInstallationProvider.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri) jakarta.ws.rs.core.Response
DockerVariableOverrideInstallationProvider.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri) -
Uses of KeycloakSession in org.keycloak.protocol.docker.mapper
Methods in org.keycloak.protocol.docker.mapper with parameters of type KeycloakSessionModifier and TypeMethodDescriptionfinal ProtocolMapper
DockerAuthV2ProtocolMapper.create
(KeycloakSession session) AllowAllDockerProtocolMapper.transformDockerResponseToken
(DockerResponseToken responseToken, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) DockerAuthV2AttributeMapper.transformDockerResponseToken
(DockerResponseToken responseToken, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) -
Uses of KeycloakSession in org.keycloak.protocol.oidc
Fields in org.keycloak.protocol.oidc declared as KeycloakSessionMethods in org.keycloak.protocol.oidc that return KeycloakSessionMethods in org.keycloak.protocol.oidc with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic ClientSessionContext
TokenManager.attachAuthenticationSession
(KeycloakSession session, UserSessionModel userSession, AuthenticationSessionModel authSession) boolean
TokenManager.checkTokenValidForIntrospection
(KeycloakSession session, RealmModel realm, AccessToken token, boolean updateTimestamps) Checks if the token is valid.AccessTokenIntrospectionProviderFactory.create
(KeycloakSession session) DefaultTokenExchangeProviderFactory.create
(KeycloakSession session) OIDCClientDescriptionConverterFactory.create
(KeycloakSession session) OIDCLoginProtocolFactory.create
(KeycloakSession session) OIDCWellKnownProviderFactory.create
(KeycloakSession session) RefreshTokenIntrospectionProviderFactory.create
(KeycloakSession session) TokenManager.createClientAccessToken
(KeycloakSession session, RealmModel realm, ClientModel client, UserModel user, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCLoginProtocolFactory.createProtocolEndpoint
(KeycloakSession session, EventBuilder event) static FrontChannelLogoutHandler
FrontChannelLogoutHandler.current
(KeycloakSession session) static FrontChannelLogoutHandler
FrontChannelLogoutHandler.currentOrCreate
(KeycloakSession session, AuthenticatedClientSessionModel clientSession) static TokenManager.NotBeforeCheck
TokenManager.NotBeforeCheck.forModel
(KeycloakSession session, RealmModel realmModel, UserModel userModel) TokenManager.getValidOIDCIdentityProvidersForBackchannelLogout
(RealmModel realm, KeycloakSession session, String encodedLogoutToken, LogoutToken logoutToken) static UserModel
TokenManager.lookupUserFromStatelessToken
(KeycloakSession session, RealmModel realm, AccessToken token) Lookup user from the "stateless" token.TokenManager.refreshAccessToken
(KeycloakSession session, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection connection, RealmModel realm, ClientModel authorizedClient, String encodedRefreshToken, EventBuilder event, jakarta.ws.rs.core.HttpHeaders headers, HttpRequest request) TokenManager.responseBuilder
(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCLoginProtocol.setSession
(KeycloakSession session) TokenManager.toRefreshToken
(KeycloakSession session, String encodedRefreshToken) TokenManager.transformAccessToken
(KeycloakSession session, AccessToken token, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenManager.transformAccessTokenResponse
(KeycloakSession session, AccessTokenResponse accessTokenResponse, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenManager.transformIDToken
(KeycloakSession session, IDToken token, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenManager.transformIntrospectionAccessToken
(KeycloakSession session, AccessToken token, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenManager.transformUserInfoAccessToken
(KeycloakSession session, AccessToken token, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenManager.validateToken
(KeycloakSession session, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection connection, RealmModel realm, RefreshToken oldToken, jakarta.ws.rs.core.HttpHeaders headers) static boolean
TokenManager.verifyConsentStillAvailable
(KeycloakSession session, UserModel user, ClientModel client, Stream<ClientScopeModel> requestedClientScopes) TokenManager.verifyIDToken
(KeycloakSession session, RealmModel realm, String encodedIDToken) TokenManager.verifyIDTokenSignature
(KeycloakSession session, String encodedIDToken) TokenManager.verifyLogoutToken
(KeycloakSession session, RealmModel realm, String encodedLogoutToken) TokenManager.verifyRefreshToken
(KeycloakSession session, RealmModel realm, ClientModel client, HttpRequest request, String encodedRefreshToken, boolean checkExpiration) Constructors in org.keycloak.protocol.oidc with parameters of type KeycloakSessionModifierConstructorDescriptionAccessTokenResponseBuilder
(RealmModel realm, ClientModel client, EventBuilder event, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCLoginProtocol
(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.core.HttpHeaders headers, EventBuilder event) OIDCLoginProtocolService
(KeycloakSession session, EventBuilder event, OIDCProviderConfig providerConfig) OIDCWellKnownProvider
(KeycloakSession session) OIDCWellKnownProvider
(KeycloakSession session, Map<String, Object> openidConfigOverride, boolean includeClientScopes) TokenExchangeContext
(KeycloakSession session, jakarta.ws.rs.core.MultivaluedMap<String, String> formParams, Object cors, RealmModel realm, EventBuilder event, ClientModel client, ClientConnection clientConnection, jakarta.ws.rs.core.HttpHeaders headers, Object tokenManager, Map<String, String> clientAuthAttributes) TokenRevocationCheck
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.endpoints
Methods in org.keycloak.protocol.oidc.endpoints with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic jakarta.ws.rs.core.Response
IframeUtil.returnIframeFromResources
(String fileName, String version, KeycloakSession session) AuthorizationEndpointChecker.session
(KeycloakSession session) Constructors in org.keycloak.protocol.oidc.endpoints with parameters of type KeycloakSessionModifierConstructorDescriptionAuthorizationEndpoint
(KeycloakSession session, EventBuilder event) LoginStatusIframeEndpoint
(KeycloakSession session) LogoutEndpoint
(KeycloakSession session, TokenManager tokenManager, EventBuilder event, OIDCProviderConfig providerConfig) TokenEndpoint
(KeycloakSession session, TokenManager tokenManager, EventBuilder event) TokenIntrospectionEndpoint
(KeycloakSession session, EventBuilder event) TokenRevocationEndpoint
(KeycloakSession session, EventBuilder event) UserInfoEndpoint
(KeycloakSession session, TokenManager tokenManager) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.endpoints.request
Methods in org.keycloak.protocol.oidc.endpoints.request with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic String
AuthorizationEndpointRequestParserProcessor.getClientId
(EventBuilder event, KeycloakSession session, jakarta.ws.rs.core.MultivaluedMap<String, String> requestParams) static AuthorizationEndpointRequest
AuthorizationEndpointRequestParserProcessor.parseRequest
(EventBuilder event, KeycloakSession session, ClientModel client, jakarta.ws.rs.core.MultivaluedMap<String, String> requestParams, AuthorizationEndpointRequestParserProcessor.EndpointType endpointType) Constructors in org.keycloak.protocol.oidc.endpoints.request with parameters of type KeycloakSessionModifierConstructorDescriptionAuthzEndpointRequestObjectParser
(KeycloakSession session, String requestObject, ClientModel client) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.grants.ciba
Constructors in org.keycloak.protocol.oidc.grants.ciba with parameters of type KeycloakSessionModifierConstructorDescriptionCibaGrantType
(jakarta.ws.rs.core.MultivaluedMap<String, String> formParams, ClientModel client, KeycloakSession session, TokenEndpoint tokenEndpoint, RealmModel realm, EventBuilder event, Cors cors) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.grants.ciba.channel
Fields in org.keycloak.protocol.oidc.grants.ciba.channel declared as KeycloakSessionModifier and TypeFieldDescriptionprotected KeycloakSession
HttpAuthenticationChannelProvider.session
Methods in org.keycloak.protocol.oidc.grants.ciba.channel with parameters of type KeycloakSessionModifier and TypeMethodDescriptionHttpAuthenticationChannelProviderFactory.create
(KeycloakSession session) static CIBAAuthenticationRequest
CIBAAuthenticationRequest.deserialize
(KeycloakSession session, String jwe) Deserialize the givenjwe
to aCIBAAuthenticationRequest
instance.CIBAAuthenticationRequest.serialize
(KeycloakSession session) Serializes this instance to a JWE.Constructors in org.keycloak.protocol.oidc.grants.ciba.channel with parameters of type KeycloakSessionModifierConstructorDescriptionCIBAAuthenticationRequest
(KeycloakSession session, UserModel user, ClientModel client) HttpAuthenticationChannelProvider
(KeycloakSession session, String httpAuthenticationRequestUri) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.grants.ciba.clientpolicy.executor
Methods in org.keycloak.protocol.oidc.grants.ciba.clientpolicy.executor with parameters of type KeycloakSessionModifier and TypeMethodDescriptionSecureCibaAuthenticationRequestSigningAlgorithmExecutorFactory.create
(KeycloakSession session) SecureCibaSessionEnforceExecutorFactory.create
(KeycloakSession session) SecureCibaSignedAuthenticationRequestExecutorFactory.create
(KeycloakSession session) Constructors in org.keycloak.protocol.oidc.grants.ciba.clientpolicy.executor with parameters of type KeycloakSessionModifierConstructorDescription -
Uses of KeycloakSession in org.keycloak.protocol.oidc.grants.ciba.endpoints
Fields in org.keycloak.protocol.oidc.grants.ciba.endpoints declared as KeycloakSessionMethods in org.keycloak.protocol.oidc.grants.ciba.endpoints with parameters of type KeycloakSessionConstructors in org.keycloak.protocol.oidc.grants.ciba.endpoints with parameters of type KeycloakSessionModifierConstructorDescriptionAbstractCibaEndpoint
(KeycloakSession session, EventBuilder event) BackchannelAuthenticationCallbackEndpoint
(KeycloakSession session, EventBuilder event) BackchannelAuthenticationEndpoint
(KeycloakSession session, EventBuilder event) CibaRootEndpoint
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.grants.ciba.endpoints.request
Methods in org.keycloak.protocol.oidc.grants.ciba.endpoints.request with parameters of type KeycloakSessionModifier and TypeMethodDescriptionBackchannelAuthenticationEndpointRequestParserProcessor.parseRequest
(EventBuilder event, KeycloakSession session, ClientModel client, jakarta.ws.rs.core.MultivaluedMap<String, String> requestParams, CibaConfig config) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.grants.ciba.resolvers
Methods in org.keycloak.protocol.oidc.grants.ciba.resolvers with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultCIBALoginUserResolverFactory.create
(KeycloakSession session) Constructors in org.keycloak.protocol.oidc.grants.ciba.resolvers with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.protocol.oidc.grants.device
Methods in org.keycloak.protocol.oidc.grants.device with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic jakarta.ws.rs.core.Response
DeviceGrantType.approveOAuth2DeviceAuthorization
(AuthenticationSessionModel authSession, AuthenticatedClientSessionModel clientSession, KeycloakSession session) static boolean
DeviceGrantType.approveUserCode
(KeycloakSession session, RealmModel realm, String userCode, String userSessionId, Map<String, String> additionalParams) static jakarta.ws.rs.core.Response
DeviceGrantType.denyOAuth2DeviceAuthorization
(AuthenticationSessionModel authSession, LoginProtocol.Error error, KeycloakSession session) static boolean
DeviceGrantType.denyUserCode
(KeycloakSession session, RealmModel realm, String userCode) static OAuth2DeviceCodeModel
DeviceGrantType.getDeviceByDeviceCode
(KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, String deviceCode) static boolean
DeviceGrantType.isPollingAllowed
(KeycloakSession session, OAuth2DeviceCodeModel deviceCodeModel) static void
DeviceGrantType.removeDeviceByDeviceCode
(KeycloakSession session, String deviceCode) static void
DeviceGrantType.removeDeviceByUserCode
(KeycloakSession session, RealmModel realm, String userCode) Constructors in org.keycloak.protocol.oidc.grants.device with parameters of type KeycloakSessionModifierConstructorDescriptionDeviceGrantType
(jakarta.ws.rs.core.MultivaluedMap<String, String> formParams, ClientModel client, KeycloakSession session, TokenEndpoint tokenEndpoint, RealmModel realm, EventBuilder event, Cors cors) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.grants.device.endpoints
Methods in org.keycloak.protocol.oidc.grants.device.endpoints with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDeviceEndpointFactory.create
(KeycloakSession session) static OAuth2DeviceCodeModel
DeviceEndpoint.getDeviceByUserCode
(KeycloakSession session, RealmModel realm, String userCode) Constructors in org.keycloak.protocol.oidc.grants.device.endpoints with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.protocol.oidc.installation
Methods in org.keycloak.protocol.oidc.installation with parameters of type KeycloakSessionModifier and TypeMethodDescriptionKeycloakOIDCClientInstallation.create
(KeycloakSession session) KeycloakOIDCJbossSubsystemClientCliInstallation.create
(KeycloakSession session) KeycloakOIDCJbossSubsystemClientInstallation.create
(KeycloakSession session) jakarta.ws.rs.core.Response
KeycloakOIDCClientInstallation.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri) jakarta.ws.rs.core.Response
KeycloakOIDCJbossSubsystemClientCliInstallation.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri) jakarta.ws.rs.core.Response
KeycloakOIDCJbossSubsystemClientInstallation.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri) KeycloakOIDCClientInstallation.getClientCredentialsAdapterConfig
(KeycloakSession session, ClientModel client) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.mappers
Methods in org.keycloak.protocol.oidc.mappers with parameters of type KeycloakSessionModifier and TypeMethodDescriptionfinal ProtocolMapper
AbstractOIDCProtocolMapper.create
(KeycloakSession session) AbstractOIDCProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) AllowedWebOriginsProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) AudienceResolveProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) protected void
AbstractOIDCProtocolMapper.setClaim
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) Intended to be overridden inProtocolMapper
implementations to add claims to an token.protected void
AbstractOIDCProtocolMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) Intended to be overridden inProtocolMapper
implementations to add claims to an token.protected void
AcrProtocolMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
AudienceProtocolMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
ClaimsParameterTokenMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
ClaimsParameterWithValueIdTokenMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
HardcodedClaim.setClaim
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
HardcodedRole.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx) protected void
RoleNameMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx) protected void
ScriptBasedOIDCProtocolMapper.setClaim
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
ScriptBasedOIDCProtocolMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
UserClientRoleMappingMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx) protected void
UserRealmRoleMappingMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx) protected void
UserSessionNoteMapper.setClaim
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AllowedWebOriginsProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AudienceResolveProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCAccessTokenMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformAccessTokenResponse
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCAccessTokenResponseMapper.transformAccessTokenResponse
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformIDToken
(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformIDToken
(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCIDTokenMapper.transformIDToken
(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSession) AbstractOIDCProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AllowedWebOriginsProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AudienceResolveProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenIntrospectionTokenMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) UserInfoTokenMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) void
AbstractPairwiseSubMapper.validateAdditionalConfig
(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel mapperContainer, ProtocolMapperModel mapperModel) Override to add additional configuration validation.void
SHA256PairwiseSubMapper.validateAdditionalConfig
(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel mapperContainer, ProtocolMapperModel mapperModel) final void
AbstractPairwiseSubMapper.validateConfig
(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel mapperContainer, ProtocolMapperModel mapperModel) void
ScriptBasedOIDCProtocolMapper.validateConfig
(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel client, ProtocolMapperModel mapperModel) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.par.endpoints
Fields in org.keycloak.protocol.oidc.par.endpoints declared as KeycloakSessionMethods in org.keycloak.protocol.oidc.par.endpoints with parameters of type KeycloakSessionConstructors in org.keycloak.protocol.oidc.par.endpoints with parameters of type KeycloakSessionModifierConstructorDescriptionAbstractParEndpoint
(KeycloakSession session, EventBuilder event) ParEndpoint
(KeycloakSession session, EventBuilder event) ParRootEndpoint
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.par.endpoints.request
Methods in org.keycloak.protocol.oidc.par.endpoints.request with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic AuthorizationEndpointRequest
ParEndpointRequestParserProcessor.parseRequest
(EventBuilder event, KeycloakSession session, ClientModel client, jakarta.ws.rs.core.MultivaluedMap<String, String> requestParams) Constructors in org.keycloak.protocol.oidc.par.endpoints.request with parameters of type KeycloakSessionModifierConstructorDescriptionAuthzEndpointParParser
(KeycloakSession session, ClientModel client, String requestUri) ParEndpointRequestObjectParser
(KeycloakSession session, String requestObject, ClientModel client) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.rar.parsers
Methods in org.keycloak.protocol.oidc.rar.parsers with parameters of type KeycloakSessionModifier and TypeMethodDescriptionClientScopeAuthorizationRequestParserProviderFactory.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.protocol.oidc.utils
Methods in org.keycloak.protocol.oidc.utils with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAuthorizeClientUtil.authorizeClient
(KeycloakSession session, EventBuilder event, Cors cors) static ClientAuthenticatorFactory
AuthorizeClientUtil.findClientAuthenticatorForOIDCAuthMethod
(KeycloakSession session, String oidcAuthMethod) static OIDCRedirectUriBuilder
OIDCRedirectUriBuilder.fromUri
(String baseUri, OIDCResponseMode responseMode, KeycloakSession session, AuthenticatedClientSessionModel clientSession) static AuthenticationProcessor
AuthorizeClientUtil.getAuthenticationProcessor
(KeycloakSession session, EventBuilder event) static String
RedirectUtils.getFirstValidRedirectUri
(KeycloakSession session, String rootUrl, Set<String> validRedirects) static OAuth2CodeParser.ParseResult
OAuth2CodeParser.parseCode
(KeycloakSession session, String code, RealmModel realm, EventBuilder event) Will parse the code and retrieve the corresponding OAuth2Code and AuthenticatedClientSessionModel.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 setRedirectUtils.resolveValidRedirects
(KeycloakSession session, String rootUrl, Set<String> validRedirects) WebOriginsUtils.resolveValidWebOrigins
(KeycloakSession session, ClientModel client) static JSONWebKeySet
JWKSHttpUtils.sendJwksRequest
(KeycloakSession session, String jwksURI) static jakarta.ws.rs.core.Response
LogoutUtil.sendResponseAfterLogoutFinished
(KeycloakSession session, AuthenticationSessionModel logoutSession) static void
PairwiseSubMapperValidator.validate
(KeycloakSession session, String rootUrl, Set<String> redirectUris, String sectorIdentifierUri) static void
PairwiseSubMapperValidator.validate
(KeycloakSession session, ClientModel client, ProtocolMapperModel mapperModel) static String
RedirectUtils.verifyRealmRedirectUri
(KeycloakSession session, String redirectUri) Deprecated.static String
RedirectUtils.verifyRedirectUri
(KeycloakSession session, String rootUrl, String redirectUri, Set<String> validRedirects, boolean requireRedirectUri) static String
RedirectUtils.verifyRedirectUri
(KeycloakSession session, String redirectUri, ClientModel client) static String
RedirectUtils.verifyRedirectUri
(KeycloakSession session, String redirectUri, ClientModel client, boolean requireRedirectUri) -
Uses of KeycloakSession in org.keycloak.protocol.saml
Fields in org.keycloak.protocol.saml declared as KeycloakSessionMethods in org.keycloak.protocol.saml with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultSamlArtifactResolverFactory.create
(KeycloakSession session) EntityDescriptorDescriptionConverter.create
(KeycloakSession session) SamlProtocolFactory.create
(KeycloakSession session) SamlProtocolFactory.createProtocolEndpoint
(KeycloakSession session, EventBuilder event) protected abstract jakarta.ws.rs.core.Response
SamlService.BindingProtocol.error
(KeycloakSession session, AuthenticationSessionModel authenticationSession, jakarta.ws.rs.core.Response.Status status, String message, Object... parameters) protected jakarta.ws.rs.core.Response
SamlService.PostBindingProtocol.error
(KeycloakSession session, AuthenticationSessionModel authenticationSession, jakarta.ws.rs.core.Response.Status status, String message, Object... parameters) protected jakarta.ws.rs.core.Response
SamlService.RedirectBindingProtocol.error
(KeycloakSession session, AuthenticationSessionModel authenticationSession, jakarta.ws.rs.core.Response.Status status, String message, Object... parameters) SamlSessionUtils.getClientSession
(KeycloakSession session, RealmModel realm, String sessionIndex) protected URI
SamlService.BindingProtocol.getExpectedDestinationUri
(KeycloakSession session) KEYCLOAK-12616, KEYCLOAK-12944: construct the expected destination URI using the configured base URI.static String
SamlService.getIDPMetadataDescriptor
(jakarta.ws.rs.core.UriInfo uriInfo, KeycloakSession session, RealmModel realm) static String
SamlProtocol.getLogoutServiceUrl
(KeycloakSession session, ClientModel client, String bindingType, boolean backChannelLogout) SamlService.getOrCreateLoginSessionForIdpInitiatedSso
(KeycloakSession session, RealmModel realm, ClientModel client, String relayState) Creates a client session object for SAML IdP-initiated SSO session.SamlSessionUtils.getSamlAuthenticationPreprocessorIterator
(KeycloakSession session) protected String
SamlProtocol.getSAMLNameId
(List<SamlProtocol.ProtocolMapperProcessor<SAMLNameIdMapper>> samlNameIdMappers, String nameIdFormat, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) SamlProtocol.populateAttributeStatements
(List<SamlProtocol.ProtocolMapperProcessor<SAMLAttributeStatementMapper>> attributeStatementMappers, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
SamlProtocol.populateRoles
(SamlProtocol.ProtocolMapperProcessor<SAMLRoleListMapper> roleListMapper, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx, AttributeStatementType existingAttributeStatement) ArtifactResolver.selectSourceClient
(KeycloakSession session, String artifact) Returns client model that issued artifactDefaultSamlArtifactResolver.selectSourceClient
(KeycloakSession session, String artifact) SamlProtocol.setSession
(KeycloakSession session) SamlProtocol.transformLoginResponse
(List<SamlProtocol.ProtocolMapperProcessor<SAMLLoginResponseMapper>> mappers, ResponseType response, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) Constructors in org.keycloak.protocol.saml with parameters of type KeycloakSessionModifierConstructorDescriptionJaxrsSAML2BindingBuilder
(KeycloakSession session) SAMLDecryptionKeysLocator
(KeycloakSession session, RealmModel realm, String requestedAlgorithm) SamlService
(KeycloakSession session, EventBuilder event, DestinationValidator destinationValidator) -
Uses of KeycloakSession in org.keycloak.protocol.saml.clientregistration
Methods in org.keycloak.protocol.saml.clientregistration with parameters of type KeycloakSessionModifier and TypeMethodDescriptionEntityDescriptorClientRegistrationProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.protocol.saml.clientregistration with parameters of type KeycloakSessionModifierConstructorDescriptionEntityDescriptorClientRegistrationContext
(KeycloakSession session, ClientRepresentation client, ClientRegistrationProvider provider) -
Uses of KeycloakSession in org.keycloak.protocol.saml.installation
Methods in org.keycloak.protocol.saml.installation with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic void
KeycloakSamlClientInstallation.baseXml
(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri, SamlClient samlClient, StringBuilder buffer) KeycloakSamlClientInstallation.create
(KeycloakSession session) KeycloakSamlSubsystemCliInstallation.create
(KeycloakSession session) KeycloakSamlSubsystemInstallation.create
(KeycloakSession session) ModAuthMellonClientInstallation.create
(KeycloakSession session) SamlSPDescriptorClientInstallation.create
(KeycloakSession session) jakarta.ws.rs.core.Response
KeycloakSamlClientInstallation.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri) jakarta.ws.rs.core.Response
KeycloakSamlSubsystemCliInstallation.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri) jakarta.ws.rs.core.Response
KeycloakSamlSubsystemInstallation.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri) jakarta.ws.rs.core.Response
ModAuthMellonClientInstallation.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri) jakarta.ws.rs.core.Response
SamlSPDescriptorClientInstallation.generateInstallation
(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri) -
Uses of KeycloakSession in org.keycloak.protocol.saml.mappers
Methods in org.keycloak.protocol.saml.mappers with parameters of type KeycloakSessionModifier and TypeMethodDescriptionfinal ProtocolMapper
AbstractSAMLProtocolMapper.create
(KeycloakSession session) final ProtocolMapper
RoleNameMapper.create
(KeycloakSession session) SAMLNameIdMapper.mapperNameId
(String nameIdFormat, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) UserAttributeNameIdMapper.mapperNameId
(String nameIdFormat, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
RoleListMapper.mapRoles
(AttributeStatementType roleAttributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) void
SAMLRoleListMapper.mapRoles
(AttributeStatementType roleAttributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) void
GroupMembershipMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
HardcodedAttributeMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
SAMLAttributeStatementMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
ScriptBasedMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) This method attaches one or many attributes to the passed attribute statement.void
UserAttributeStatementMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
UserPropertyAttributeStatementMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
UserSessionNoteStatementMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) SAMLAudienceProtocolMapper.transformLoginResponse
(ResponseType response, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) SAMLAudienceResolveProtocolMapper.transformLoginResponse
(ResponseType response, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) SAMLLoginResponseMapper.transformLoginResponse
(ResponseType response, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) void
ScriptBasedMapper.validateConfig
(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel client, ProtocolMapperModel mapperModel) -
Uses of KeycloakSession in org.keycloak.protocol.saml.profile.ecp
Constructors in org.keycloak.protocol.saml.profile.ecp with parameters of type KeycloakSessionModifierConstructorDescriptionSamlEcpProfileService
(KeycloakSession session, EventBuilder event, DestinationValidator destinationValidator) -
Uses of KeycloakSession in org.keycloak.protocol.saml.profile.ecp.authenticator
Methods in org.keycloak.protocol.saml.profile.ecp.authenticator with parameters of type KeycloakSessionModifier and TypeMethodDescriptionboolean
HttpBasicAuthenticator.configuredFor
(KeycloakSession session, RealmModel realm, UserModel user) HttpBasicAuthenticatorFactory.create
(KeycloakSession session) void
HttpBasicAuthenticator.setRequiredActions
(KeycloakSession session, RealmModel realm, UserModel user) -
Uses of KeycloakSession in org.keycloak.protocol.saml.profile.util
Methods in org.keycloak.protocol.saml.profile.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionjakarta.xml.soap.SOAPMessage
Soap.SoapMessageBuilder.call
(String url, KeycloakSession session) Performs a synchronous call, sending the current message to the given url. -
Uses of KeycloakSession in org.keycloak.provider
Methods in org.keycloak.provider with parameters of type KeycloakSessionModifier and TypeMethodDescriptiondefault ExceptionConverter
ExceptionConverter.create
(KeycloakSession session) ProviderFactory.create
(KeycloakSession session) void
InvalidationHandler.invalidate
(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params) Invalidates intermediate states of the given objects -
Uses of KeycloakSession in org.keycloak.scripting
Methods in org.keycloak.scripting with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultScriptingProviderFactory.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.services
Classes in org.keycloak.services that implement KeycloakSessionFields in org.keycloak.services declared as KeycloakSessionMethods in org.keycloak.services that return KeycloakSessionModifier and TypeMethodDescriptionDefaultKeycloakSessionFactory.create()
protected KeycloakSession
DefaultKeycloakContext.getSession()
Methods in org.keycloak.services with parameters of type KeycloakSessionModifier and TypeMethodDescriptionprotected DefaultKeycloakContext
DefaultKeycloakSession.createKeycloakContext
(KeycloakSession session) static jakarta.ws.rs.core.Response
ErrorPage.error
(KeycloakSession session, AuthenticationSessionModel authenticationSession, jakarta.ws.rs.core.Response.Status status, String message, Object... parameters) void
DefaultComponentFactoryProviderFactory.invalidate
(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... ids) void
DefaultKeycloakSessionFactory.invalidate
(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... ids) Constructors in org.keycloak.services with parameters of type KeycloakSessionModifierConstructorDescriptionDefaultKeycloakContext
(KeycloakSession session) ErrorPageException
(KeycloakSession session, jakarta.ws.rs.core.Response.Status status, String errorMessage, Object... parameters) ErrorPageException
(KeycloakSession session, AuthenticationSessionModel authSession, jakarta.ws.rs.core.Response.Status status, String errorMessage, Object... parameters) HttpResponseImpl
(KeycloakSession session, org.jboss.resteasy.spi.HttpResponse delegate) -
Uses of KeycloakSession in org.keycloak.services.clientpolicy
Methods in org.keycloak.services.clientpolicy with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultClientPolicyManagerFactory.create
(KeycloakSession session) protected List<ClientProfileRepresentation>
DefaultClientPolicyManagerFactory.getGlobalClientProfiles
(KeycloakSession session) When this method is called, assumption is that CLIENT_POLICIES feature is enabledConstructors in org.keycloak.services.clientpolicy with parameters of type KeycloakSessionModifierConstructorDescriptionDefaultClientPolicyManager
(KeycloakSession session, Supplier<List<ClientProfileRepresentation>> globalClientProfilesSupplier) -
Uses of KeycloakSession in org.keycloak.services.clientpolicy.condition
Fields in org.keycloak.services.clientpolicy.condition declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
AbstractClientPolicyConditionProvider.session
Methods in org.keycloak.services.clientpolicy.condition with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAnyClientConditionFactory.create
(KeycloakSession session) ClientAccessTypeConditionFactory.create
(KeycloakSession session) ClientRolesConditionFactory.create
(KeycloakSession session) ClientScopesConditionFactory.create
(KeycloakSession session) ClientUpdaterContextConditionFactory.create
(KeycloakSession session) ClientUpdaterSourceGroupsConditionFactory.create
(KeycloakSession session) ClientUpdaterSourceHostsConditionFactory.create
(KeycloakSession session) ClientUpdaterSourceRolesConditionFactory.create
(KeycloakSession session) Constructors in org.keycloak.services.clientpolicy.condition with parameters of type KeycloakSessionModifierConstructorDescriptionAnyClientCondition
(KeycloakSession session) ClientAccessTypeCondition
(KeycloakSession session) ClientRolesCondition
(KeycloakSession session) ClientScopesCondition
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.services.clientpolicy.context
Constructors in org.keycloak.services.clientpolicy.context with parameters of type KeycloakSessionModifierConstructorDescriptionDynamicClientUnregisterContext
(KeycloakSession session, ClientModel targetClient, JsonWebToken token, RealmModel realm) DynamicClientUpdatedContext
(KeycloakSession session, ClientModel updatedClient, JsonWebToken token, RealmModel realm) DynamicClientViewContext
(KeycloakSession session, ClientModel targetClient, JsonWebToken token, RealmModel realm) -
Uses of KeycloakSession in org.keycloak.services.clientpolicy.executor
Fields in org.keycloak.services.clientpolicy.executor declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
ConfidentialClientAcceptExecutor.session
protected final KeycloakSession
SecureParContentsExecutor.session
protected final KeycloakSession
SecureResponseTypeExecutor.session
protected final KeycloakSession
SuppressRefreshTokenRotationExecutor.session
Methods in org.keycloak.services.clientpolicy.executor with parameters of type KeycloakSessionModifier and TypeMethodDescriptionClientSecretRotationExecutorFactory.create
(KeycloakSession session) ConfidentialClientAcceptExecutorFactory.create
(KeycloakSession session) ConsentRequiredExecutorFactory.create
(KeycloakSession session) FullScopeDisabledExecutorFactory.create
(KeycloakSession session) HolderOfKeyEnforcerExecutorFactory.create
(KeycloakSession session) IntentClientBindCheckExecutorFactory.create
(KeycloakSession session) PKCEEnforcerExecutorFactory.create
(KeycloakSession session) RegistrationAccessTokenRotationDisabledExecutorFactory.create
(KeycloakSession session) RejectImplicitGrantExecutorFactory.create
(KeycloakSession session) RejectRequestExecutorFactory.create
(KeycloakSession session) RejectResourceOwnerPasswordCredentialsGrantExecutorFactory.create
(KeycloakSession session) SecureClientAuthenticatorExecutorFactory.create
(KeycloakSession session) SecureClientUrisExecutorFactory.create
(KeycloakSession session) SecureLogoutExecutorFactory.create
(KeycloakSession session) SecureParContentsExecutorFactory.create
(KeycloakSession session) SecureRequestObjectExecutorFactory.create
(KeycloakSession session) SecureResponseTypeExecutorFactory.create
(KeycloakSession session) SecureSessionEnforceExecutorFactory.create
(KeycloakSession session) SecureSigningAlgorithmExecutorFactory.create
(KeycloakSession session) SecureSigningAlgorithmForSignedJwtExecutorFactory.create
(KeycloakSession session) SuppressRefreshTokenRotationExecutorFactory.create
(KeycloakSession session) Constructors in org.keycloak.services.clientpolicy.executor with parameters of type KeycloakSessionModifierConstructorDescriptionPKCEEnforcerExecutor
(KeycloakSession session) RegistrationAccessTokenRotationDisabledExecutor
(String providerId, KeycloakSession session) RejectRequestExecutor
(KeycloakSession session) SecureClientUrisExecutor
(KeycloakSession session) SecureLogoutExecutor
(KeycloakSession session) SecureParContentsExecutor
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.services.clientregistration
Fields in org.keycloak.services.clientregistration declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
AbstractClientRegistrationContext.session
protected KeycloakSession
AbstractClientRegistrationProvider.session
Methods in org.keycloak.services.clientregistration that return KeycloakSessionModifier and TypeMethodDescriptionAbstractClientRegistrationContext.getSession()
ClientRegistrationContext.getSession()
Methods in org.keycloak.services.clientregistration with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAdapterInstallationClientRegistrationProviderFactory.create
(KeycloakSession session) DefaultClientRegistrationProviderFactory.create
(KeycloakSession session) static String
ClientRegistrationTokenUtils.createInitialAccessToken
(KeycloakSession session, RealmModel realm, ClientInitialAccessModel model) static String
ClientRegistrationTokenUtils.updateRegistrationAccessToken
(KeycloakSession session, ClientModel client, RegistrationAuth registrationAuth) static String
ClientRegistrationTokenUtils.updateRegistrationAccessToken
(KeycloakSession session, RealmModel realm, ClientModel client, RegistrationAuth registrationAuth) static String
ClientRegistrationTokenUtils.updateTokenSignature
(KeycloakSession session, ClientRegistrationAuth auth) ClientRegistrationTokenUtils.verifyToken
(KeycloakSession session, RealmModel realm, String token) Constructors in org.keycloak.services.clientregistration with parameters of type KeycloakSessionModifierConstructorDescriptionAbstractClientRegistrationContext
(KeycloakSession session, ClientRepresentation client, ClientRegistrationProvider provider) ClientRegistrationAuth
(KeycloakSession session, ClientRegistrationProvider provider, EventBuilder event, String endpoint) ClientRegistrationService
(KeycloakSession session, EventBuilder event) DefaultClientRegistrationContext
(KeycloakSession session, ClientRepresentation client, ClientRegistrationProvider provider) -
Uses of KeycloakSession in org.keycloak.services.clientregistration.oidc
Methods in org.keycloak.services.clientregistration.oidc with parameters of type KeycloakSessionModifier and TypeMethodDescriptionOIDCClientRegistrationProviderFactory.create
(KeycloakSession session) static OIDCClientRepresentation
DescriptionConverter.toExternalResponse
(KeycloakSession session, ClientRepresentation client, URI uri) static ClientRepresentation
DescriptionConverter.toInternal
(KeycloakSession session, OIDCClientRepresentation clientOIDC) Constructors in org.keycloak.services.clientregistration.oidc with parameters of type KeycloakSessionModifierConstructorDescriptionOIDCClientRegistrationContext
(KeycloakSession session, ClientRepresentation client, ClientRegistrationProvider provider, OIDCClientRepresentation oidcRep) -
Uses of KeycloakSession in org.keycloak.services.clientregistration.policy
Methods in org.keycloak.services.clientregistration.policy with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAbstractClientRegistrationPolicyFactory.getConfigProperties
(KeycloakSession session) ClientRegistrationPolicyFactory.getConfigProperties
(KeycloakSession session) Get config properties filled for particular session.static void
ClientRegistrationPolicyManager.triggerBeforeRemove
(KeycloakSession session, ClientRegistrationProvider provider, RegistrationAuth authType, ClientModel client) static void
ClientRegistrationPolicyManager.triggerBeforeView
(KeycloakSession session, ClientRegistrationProvider provider, RegistrationAuth authType, ClientModel client) void
AbstractClientRegistrationPolicyFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) -
Uses of KeycloakSession in org.keycloak.services.clientregistration.policy.impl
Methods in org.keycloak.services.clientregistration.policy.impl with parameters of type KeycloakSessionModifier and TypeMethodDescriptionClientDisabledClientRegistrationPolicyFactory.create
(KeycloakSession session, ComponentModel model) ClientScopesClientRegistrationPolicyFactory.create
(KeycloakSession session, ComponentModel model) ConsentRequiredClientRegistrationPolicyFactory.create
(KeycloakSession session, ComponentModel model) MaxClientsClientRegistrationPolicyFactory.create
(KeycloakSession session, ComponentModel model) ProtocolMappersClientRegistrationPolicyFactory.create
(KeycloakSession session, ComponentModel model) ScopeClientRegistrationPolicyFactory.create
(KeycloakSession session, ComponentModel model) TrustedHostClientRegistrationPolicyFactory.create
(KeycloakSession session, ComponentModel model) ClientScopesClientRegistrationPolicyFactory.getConfigProperties
(KeycloakSession session) void
MaxClientsClientRegistrationPolicyFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) void
TrustedHostClientRegistrationPolicyFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) Constructors in org.keycloak.services.clientregistration.policy.impl with parameters of type KeycloakSessionModifierConstructorDescriptionClientScopesClientRegistrationPolicy
(KeycloakSession session, ComponentModel componentModel) MaxClientsClientRegistrationPolicy
(KeycloakSession session, ComponentModel componentModel) ProtocolMappersClientRegistrationPolicy
(KeycloakSession session, ComponentModel componentModel) ScopeClientRegistrationPolicy
(KeycloakSession session, ComponentModel componentModel) TrustedHostClientRegistrationPolicy
(KeycloakSession session, ComponentModel componentModel) -
Uses of KeycloakSession in org.keycloak.services.error
Methods in org.keycloak.services.error with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic jakarta.ws.rs.core.Response
KeycloakErrorHandler.getResponse
(KeycloakSession session, Throwable throwable) -
Uses of KeycloakSession in org.keycloak.services.filters
Methods in org.keycloak.services.filters with parameters of type KeycloakSessionModifier and TypeMethodDescriptionprotected void
AbstractRequestFilter.close
(KeycloakSession session) Method parameters in org.keycloak.services.filters with type arguments of type KeycloakSessionModifier and TypeMethodDescriptionprotected void
AbstractRequestFilter.filter
(ClientConnection clientConnection, Consumer<KeycloakSession> next) -
Uses of KeycloakSession in org.keycloak.services.managers
Fields in org.keycloak.services.managers declared as KeycloakSessionMethods in org.keycloak.services.managers that return KeycloakSessionMethods in org.keycloak.services.managers with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic jakarta.ws.rs.core.Response
AuthenticationManager.actionRequired
(KeycloakSession session, AuthenticationSessionModel authSession, HttpRequest request, EventBuilder event) static void
UserConsentManager.addConsent
(KeycloakSession session, RealmModel realm, UserModel user, UserConsentModel consent) Add user consent for the user.AppAuthManager.authenticateIdentityCookie
(KeycloakSession session, RealmModel realm) AuthenticationManager.authenticateIdentityCookie
(KeycloakSession session, RealmModel realm) AuthenticationManager.authenticateIdentityCookie
(KeycloakSession session, RealmModel realm, boolean checkActive) static BackchannelLogoutResponse
AuthenticationManager.backchannelLogout
(KeycloakSession session, RealmModel realm, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection connection, jakarta.ws.rs.core.HttpHeaders headers, boolean logoutBroker) static BackchannelLogoutResponse
AuthenticationManager.backchannelLogout
(KeycloakSession session, RealmModel realm, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection connection, jakarta.ws.rs.core.HttpHeaders headers, boolean logoutBroker, boolean offlineSession) static void
AuthenticationManager.backchannelLogout
(KeycloakSession session, UserSessionModel userSession, boolean logoutBroker) static void
AuthenticationManager.backchannelLogoutUserFromClient
(KeycloakSession session, RealmModel realm, UserModel user, ClientModel client, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.core.HttpHeaders headers) Logout all clientSessions of this user and clientstatic jakarta.ws.rs.core.Response
AuthenticationManager.browserLogout
(KeycloakSession session, RealmModel realm, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection connection, jakarta.ws.rs.core.HttpHeaders headers) void
BruteForceProtector.cleanUpPermanentLockout
(KeycloakSession session, RealmModel realm, UserModel user) Clears any remaining traces of the permanent lockout.void
DefaultBruteForceProtector.cleanUpPermanentLockout
(KeycloakSession session, RealmModel realm, UserModel user) DefaultBruteForceProtectorFactory.create
(KeycloakSession session) RealmManagerProviderFactory.create
(KeycloakSession session) Deprecated.static ClientModel
ClientManager.createClient
(KeycloakSession session, RealmModel realm, ClientRepresentation rep) Should not be called from an import.static IdentityCookieToken
AuthenticationManager.createIdentityToken
(KeycloakSession keycloakSession, RealmModel realm, UserModel user, UserSessionModel session, String issuer) static void
AuthenticationManager.createLoginCookie
(KeycloakSession keycloakSession, RealmModel realm, UserModel user, UserSessionModel session, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection connection) static AuthenticationSessionModel
AuthenticationManager.createOrJoinLogoutSession
(KeycloakSession session, RealmModel realm, AuthenticationSessionManager asm, UserSessionModel userSession, boolean browserCookie) static void
AuthenticationManager.createRememberMeCookie
(String username, jakarta.ws.rs.core.UriInfo uriInfo, KeycloakSession session) static void
AuthenticationManager.evaluateRequiredActionTriggers
(KeycloakSession session, AuthenticationSessionModel authSession, HttpRequest request, EventBuilder event, RealmModel realm, UserModel user) protected static jakarta.ws.rs.core.Response
AuthenticationManager.executionActions
(KeycloakSession session, AuthenticationSessionModel authSession, HttpRequest request, EventBuilder event, RealmModel realm, UserModel user, Stream<String> requiredActions) static void
AuthenticationManager.expireAuthSessionCookie
(RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, KeycloakSession session) static void
AuthenticationManager.expireCookie
(RealmModel realm, String cookieName, String path, boolean httpOnly, ClientConnection connection, ServerCookie.SameSiteAttributeValue sameSite, KeycloakSession session) static void
AuthenticationManager.expireIdentityCookie
(RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, KeycloakSession session) static void
AuthenticationManager.expireOldAuthSessionCookie
(RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, KeycloakSession session) static void
AuthenticationManager.expireOldIdentityCookie
(RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, KeycloakSession session) static void
AuthenticationManager.expireRememberMeCookie
(RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, KeycloakSession session) static boolean
AuthenticationManager.expireUserSessionCookie
(KeycloakSession session, UserSessionModel userSession, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.core.HttpHeaders headers, ClientConnection connection) protected void
DefaultBruteForceProtector.failure
(KeycloakSession session, DefaultBruteForceProtector.LoginEvent event) static jakarta.ws.rs.core.Response
AuthenticationManager.finishBrowserLogout
(KeycloakSession session, RealmModel realm, UserSessionModel userSession, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection connection, jakarta.ws.rs.core.HttpHeaders headers) static jakarta.ws.rs.core.Response
AuthenticationManager.finishedRequiredActions
(KeycloakSession session, AuthenticationSessionModel authSession, UserSessionModel userSession, ClientConnection clientConnection, HttpRequest request, jakarta.ws.rs.core.UriInfo uriInfo, EventBuilder event) static void
AuthenticationManager.finishUnconfirmedUserSession
(KeycloakSession session, RealmModel realm, UserSessionModel userSessionModel) static String
ResourceAdminManager.getBackchannelLogoutUrl
(KeycloakSession session, ClientModel client) static <CLIENT_SESSION extends CommonClientSessionModel>
CLIENT_SESSIONClientSessionCode.getClientSession
(String code, String tabId, KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, Class<CLIENT_SESSION> sessionClass) static UserConsentModel
UserConsentManager.getConsentByClient
(KeycloakSession session, RealmModel realm, UserModel user, String clientInternalId) Returns UserConsentModel given by a user for the client with clientInternalIdstatic Stream<UserConsentModel>
UserConsentManager.getConsentsStream
(KeycloakSession session, RealmModel realm, UserModel user) Obtains the consents associated with the userstatic String
ResourceAdminManager.getManagementUrl
(KeycloakSession session, ClientModel client) protected RealmModel
DefaultBruteForceProtector.getRealmModel
(KeycloakSession session, DefaultBruteForceProtector.LoginEvent event) static String
AuthenticationManager.getSessionIdFromSessionCookie
(KeycloakSession session) protected UserLoginFailureModel
DefaultBruteForceProtector.getUserModel
(KeycloakSession session, DefaultBruteForceProtector.LoginEvent event) boolean
BruteForceProtector.isPermanentlyLockedOut
(KeycloakSession session, RealmModel realm, UserModel user) boolean
DefaultBruteForceProtector.isPermanentlyLockedOut
(KeycloakSession session, RealmModel realm, UserModel user) boolean
BruteForceProtector.isTemporarilyDisabled
(KeycloakSession session, RealmModel realm, UserModel user) boolean
DefaultBruteForceProtector.isTemporarilyDisabled
(KeycloakSession session, RealmModel realm, UserModel user) static void
AuthenticationManager.logSuccess
(KeycloakSession session, AuthenticationSessionModel authSession) static UserModel
AuthenticationManager.lookupUserForBruteForceLog
(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authenticationSession) static jakarta.ws.rs.core.Response
AuthenticationManager.nextActionAfterAuthentication
(KeycloakSession session, AuthenticationSessionModel authSession, ClientConnection clientConnection, HttpRequest request, jakarta.ws.rs.core.UriInfo uriInfo, EventBuilder event) static String
AuthenticationManager.nextRequiredAction
(KeycloakSession session, AuthenticationSessionModel authSession, HttpRequest request, EventBuilder event) static <CLIENT_SESSION extends CommonClientSessionModel>
ClientSessionCode.ParseResult<CLIENT_SESSION>ClientSessionCode.parseResult
(String code, String tabId, KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, CLIENT_SESSION clientSession) static <CLIENT_SESSION extends CommonClientSessionModel>
ClientSessionCode.ParseResult<CLIENT_SESSION>ClientSessionCode.parseResult
(String code, String tabId, KeycloakSession session, RealmModel realm, ClientModel client, EventBuilder event, Class<CLIENT_SESSION> sessionClass) static Set<LDAPCapabilityRepresentation>
LDAPServerCapabilitiesManager.queryServerCapabilities
(TestLdapConnectionRepresentation config, KeycloakSession session, RealmModel realm) static jakarta.ws.rs.core.Response
AuthenticationManager.redirectAfterSuccessfulFlow
(KeycloakSession session, RealmModel realm, UserSessionModel userSession, ClientSessionContext clientSessionCtx, HttpRequest request, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, EventBuilder event, AuthenticationSessionModel authSession) static jakarta.ws.rs.core.Response
AuthenticationManager.redirectAfterSuccessfulFlow
(KeycloakSession session, RealmModel realm, UserSessionModel userSession, ClientSessionContext clientSessionCtx, HttpRequest request, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, EventBuilder event, AuthenticationSessionModel authSession, LoginProtocol protocol) static jakarta.ws.rs.core.Response
AuthenticationManager.redirectToRequiredActions
(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authSession, jakarta.ws.rs.core.UriInfo uriInfo, String requiredAction) static String
ResourceAdminManager.resolveUri
(KeycloakSession session, String rootUrl, String uri) static boolean
UserConsentManager.revokeConsentForClient
(KeycloakSession session, RealmModel realm, UserModel user, String clientInternalId) Remove a user consent given by the user and client idstatic boolean
UserConsentManager.revokeConsentToClient
(KeycloakSession session, ClientModel client, UserModel user) Revoke consent of given user to given clientAppAuthManager.BearerTokenAuthenticator.setSession
(KeycloakSession session) protected void
DefaultBruteForceProtector.success
(KeycloakSession session, DefaultBruteForceProtector.LoginEvent event) static void
LDAPServerCapabilitiesManager.testLDAP
(TestLdapConnectionRepresentation config, KeycloakSession session, RealmModel realm) static void
UserConsentManager.updateConsent
(KeycloakSession session, RealmModel realm, UserModel user, UserConsentModel consent) Update client scopes in the stored user consentAuthenticationManager.verifyIdentityToken
(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, ClientConnection connection, boolean checkActive, boolean checkTokenType, String checkAudience, boolean isCookie, String tokenString, jakarta.ws.rs.core.HttpHeaders headers, TokenVerifier.Predicate<? super AccessToken>... additionalChecks) Constructors in org.keycloak.services.managers with parameters of type KeycloakSessionModifierConstructorDescriptionApplianceBootstrap
(KeycloakSession session) BearerTokenAuthenticator
(KeycloakSession session) ClientSessionCode
(KeycloakSession session, RealmModel realm, CLIENT_SESSION commonLoginSession) RealmManager
(KeycloakSession session) ResourceAdminManager
(KeycloakSession session) UserSessionCrossDCManager
(KeycloakSession session) UserSessionManager
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.services.migration
Methods in org.keycloak.services.migration with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultMigrationProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.services.migration with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.services.resources
Fields in org.keycloak.services.resources declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
AbstractSecuredLocalService.session
protected final KeycloakSession
ClientsManagementService.session
protected final KeycloakSession
LoginActionsService.session
protected final KeycloakSession
PublicRealmResource.session
protected KeycloakSession
RealmsResource.session
Methods in org.keycloak.services.resources that return KeycloakSessionMethods in org.keycloak.services.resources with parameters of type KeycloakSessionModifier and TypeMethodDescriptionCors.allowedOrigins
(KeycloakSession session, ClientModel client) static void
LoginActionsServiceChecks.checkIsClientValid
(KeycloakSession session, ClientModel client) Verifies whether the client denoted by client ID in token'siss
(issuedFor
) field both exists and is enabled.static void
LoginActionsServiceChecks.checkIsUserValid
(KeycloakSession session, RealmModel realm, String userId, Consumer<UserModel> userSetter) Verifies whether the user given by ID both exists in the current realm.static IdentityProvider<?>
IdentityBrokerService.getIdentityProvider
(KeycloakSession session, RealmModel realm, String alias) static IdentityProviderFactory<?>
IdentityBrokerService.getIdentityProviderFactory
(KeycloakSession session, IdentityProviderModel model) static PublishedRealmRepresentation
PublicRealmResource.realmRep
(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo) static jakarta.ws.rs.core.Response
LoginActionsService.redirectToAfterBrokerLoginEndpoint
(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, AuthenticationSessionModel authSession, boolean firstBrokerLogin) Constructors in org.keycloak.services.resources with parameters of type KeycloakSessionModifierConstructorDescriptionAbstractSecuredLocalService
(KeycloakSession session, ClientModel client) ClientsManagementService
(KeycloakSession session, EventBuilder event) IdentityBrokerService
(KeycloakSession session) LoginActionsService
(KeycloakSession session, EventBuilder event) LogoutSessionCodeChecks
(RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, HttpRequest request, ClientConnection clientConnection, KeycloakSession session, EventBuilder event, String code, String clientId, String tabId) PublicRealmResource
(KeycloakSession session) SessionCodeChecks
(RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo, HttpRequest request, ClientConnection clientConnection, KeycloakSession session, EventBuilder event, String authSessionId, String code, String execution, String clientId, String tabId, String flowPath) -
Uses of KeycloakSession in org.keycloak.services.resources.account
Fields in org.keycloak.services.resources.account declared as KeycloakSessionMethods in org.keycloak.services.resources.account with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAccountConsoleFactory.create
(KeycloakSession session) LinkedAccountsResource.getLinkedAccounts
(KeycloakSession session, RealmModel realm, UserModel user) boolean
PasswordUtil.isConfigured
(KeycloakSession session, RealmModel realm, UserModel user) Deprecated.Constructors in org.keycloak.services.resources.account with parameters of type KeycloakSessionModifierConstructorDescriptionAccountConsole
(KeycloakSession session, ClientModel client, Theme theme) AccountCredentialResource
(KeycloakSession session, UserModel user, Auth auth) AccountLoader
(KeycloakSession session, EventBuilder event) AccountRestService
(KeycloakSession session, Auth auth, EventBuilder event, AccountRestApiVersion version) LinkedAccountsResource
(KeycloakSession session, HttpRequest request, Auth auth, EventBuilder event, UserModel user) PasswordUtil
(KeycloakSession session, UserModel user) Deprecated.SessionResource
(KeycloakSession session, Auth auth) -
Uses of KeycloakSession in org.keycloak.services.resources.account.resources
Constructors in org.keycloak.services.resources.account.resources with parameters of type KeycloakSessionModifierConstructorDescriptionprotected
AbstractResourceService
(KeycloakSession session, UserModel user, Auth auth, HttpRequest request) ResourcesService
(KeycloakSession session, UserModel user, Auth auth, HttpRequest request) -
Uses of KeycloakSession in org.keycloak.services.resources.admin
Fields in org.keycloak.services.resources.admin declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
AdminConsole.session
protected KeycloakSession
AdminRoot.session
protected final KeycloakSession
AttackDetectionResource.session
protected final KeycloakSession
ClearKeysCacheResource.session
protected final KeycloakSession
ClearRealmCacheResource.session
protected final KeycloakSession
ClearUserCacheResource.session
protected final KeycloakSession
ClientAttributeCertificateResource.session
protected KeycloakSession
ClientInitialAccessResource.session
protected final KeycloakSession
ClientPoliciesResource.session
protected final KeycloakSession
ClientProfilesResource.session
protected final KeycloakSession
ClientRegistrationPolicyResource.session
protected final KeycloakSession
ClientResource.session
protected KeycloakSession
ClientRoleMappingsResource.session
protected KeycloakSession
ClientScopeResource.session
protected final KeycloakSession
ClientScopesResource.session
protected final KeycloakSession
ClientsResource.session
protected final KeycloakSession
ClientStorageProviderResource.session
protected final KeycloakSession
ComponentResource.session
protected final KeycloakSession
LdapServerCapabilitiesResource.session
protected final KeycloakSession
ProtocolMappersResource.session
protected final KeycloakSession
RealmAdminResource.session
protected final KeycloakSession
RealmLocalizationResource.session
protected final KeycloakSession
RealmsAdminResource.session
protected final KeycloakSession
RoleMapperResource.session
protected KeycloakSession
ScopeMappedClientResource.session
protected KeycloakSession
ScopeMappedResource.session
protected final KeycloakSession
TestLdapConnectionResource.session
protected final KeycloakSession
UserProfileResource.session
protected final KeycloakSession
UserResource.session
protected final KeycloakSession
UsersResource.session
protected final KeycloakSession
UserStorageProviderResource.session
Methods in org.keycloak.services.resources.admin with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAdminEventBuilder.clone
(KeycloakSession session) Create a new instance of theAdminEventBuilder
that is bound to a new session.static void
AuthenticationManagementResource.copy
(KeycloakSession session, RealmModel realm, String newName, AuthenticationFlowModel from, AuthenticationFlowModel to) static AuthenticationFlowModel
AuthenticationManagementResource.copyFlow
(KeycloakSession session, RealmModel realm, AuthenticationFlowModel flow, String newName) ClearKeysCacheRealmAdminProvider.create
(KeycloakSession session) ClearRealmCacheRealmAdminProvider.create
(KeycloakSession session) ClearUserCacheRealmAdminProvider.create
(KeycloakSession session) LdapServerCapabilitiesRealmAdminProvider.create
(KeycloakSession session) TestLdapConnectionRealmAdminProvider.create
(KeycloakSession session) UserStorageProviderRealmAdminProvider.create
(KeycloakSession session) static UserProfileMetadata
UserProfileResource.createUserProfileMetadata
(KeycloakSession session, UserProfile profile) static Properties
AdminRoot.getMessages
(KeycloakSession session, RealmModel realm, String lang) static Properties
AdminRoot.getMessages
(KeycloakSession session, RealmModel realm, String lang, String... bundles) ClearKeysCacheRealmAdminProvider.getResource
(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ClearRealmCacheRealmAdminProvider.getResource
(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ClearUserCacheRealmAdminProvider.getResource
(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) LdapServerCapabilitiesRealmAdminProvider.getResource
(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) TestLdapConnectionRealmAdminProvider.getResource
(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) UserStorageProviderRealmAdminProvider.getResource
(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) static Theme
AdminRoot.getTheme
(KeycloakSession session, RealmModel realm) AdminEventBuilder.refreshRealmEventsConfig
(KeycloakSession session) Refreshes the builder assuming that the realm event information has changed.protected void
AdminRoot.resolveRealmAndUpdateSession
(String name, KeycloakSession session) static void
GroupResource.updateGroup
(GroupRepresentation rep, GroupModel model, RealmModel realm, KeycloakSession session) protected void
RoleResource.updateRole
(RoleRepresentation rep, RoleModel role, RealmModel realm, KeycloakSession session) static void
UserResource.updateUserFromRep
(UserProfile profile, UserModel user, UserRepresentation rep, KeycloakSession session, boolean isUpdateExistingUser) static jakarta.ws.rs.core.Response
UserResource.validateUserProfile
(UserProfile profile, KeycloakSession session, AdminAuth adminAuth) Constructors in org.keycloak.services.resources.admin with parameters of type KeycloakSessionModifierConstructorDescriptionAdminConsole
(KeycloakSession session) AdminEventBuilder
(RealmModel realm, AdminAuth auth, KeycloakSession session, ClientConnection clientConnection) AttackDetectionResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) AuthenticationManagementResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ClearKeysCacheResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ClearRealmCacheResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ClearUserCacheResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ClientAttributeCertificateResource
(AdminPermissionEvaluator auth, ClientModel client, KeycloakSession session, String attributePrefix, AdminEventBuilder adminEvent) ClientInitialAccessResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ClientPoliciesResource
(KeycloakSession session, AdminPermissionEvaluator auth) ClientProfilesResource
(KeycloakSession session, AdminPermissionEvaluator auth) ClientRegistrationPolicyResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ClientResource
(RealmModel realm, AdminPermissionEvaluator auth, ClientModel clientModel, KeycloakSession session, AdminEventBuilder adminEvent) ClientRoleMappingsResource
(jakarta.ws.rs.core.UriInfo uriInfo, KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, RoleMapperModel user, ClientModel client, AdminEventBuilder adminEvent, AdminPermissionEvaluator.RequirePermissionCheck manageCheck, AdminPermissionEvaluator.RequirePermissionCheck viewCheck) ClientScopeEvaluateResource
(KeycloakSession session, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm, AdminPermissionEvaluator auth, ClientModel client, ClientConnection clientConnection) ClientScopeResource
(RealmModel realm, AdminPermissionEvaluator auth, ClientScopeModel clientScope, KeycloakSession session, AdminEventBuilder adminEvent) ClientScopesResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ClientsResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ClientStorageProviderResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ComponentResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) GroupResource
(RealmModel realm, GroupModel group, KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) GroupsResource
(RealmModel realm, KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) IdentityProviderResource
(AdminPermissionEvaluator auth, RealmModel realm, KeycloakSession session, IdentityProviderModel identityProviderModel, AdminEventBuilder adminEvent) IdentityProvidersResource
(RealmModel realm, KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) KeyResource
(RealmModel realm, KeycloakSession session, AdminPermissionEvaluator auth) LdapServerCapabilitiesResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ProtocolMappersResource
(KeycloakSession session, ProtocolMapperContainerModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent, AdminPermissionEvaluator.RequirePermissionCheck managePermission, AdminPermissionEvaluator.RequirePermissionCheck viewPermission) RealmAdminResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) RealmLocalizationResource
(KeycloakSession session, AdminPermissionEvaluator auth) RealmsAdminResource
(KeycloakSession session, AdminAuth auth, TokenManager tokenManager) RealmsAdminResourcePreflight
(KeycloakSession session, AdminAuth auth, TokenManager tokenManager) RealmsAdminResourcePreflight
(KeycloakSession session, AdminAuth auth, TokenManager tokenManager, HttpRequest request) RoleByIdResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) RoleContainerResource
(KeycloakSession session, jakarta.ws.rs.core.UriInfo uriInfo, RealmModel realm, AdminPermissionEvaluator auth, RoleContainerModel roleContainer, AdminEventBuilder adminEvent) RoleMapperResource
(KeycloakSession session, AdminPermissionEvaluator auth, RoleMapperModel roleMapper, AdminEventBuilder adminEvent, AdminPermissionEvaluator.RequirePermissionCheck manageCheck, AdminPermissionEvaluator.RequirePermissionCheck viewCheck) ScopeMappedClientResource
(RealmModel realm, AdminPermissionEvaluator auth, ScopeContainerModel scopeContainer, KeycloakSession session, ClientModel scopedClient, AdminEventBuilder adminEvent, AdminPermissionEvaluator.RequirePermissionCheck managePermission, AdminPermissionEvaluator.RequirePermissionCheck viewPermission) ScopeMappedResource
(RealmModel realm, AdminPermissionEvaluator auth, ScopeContainerModel scopeContainer, KeycloakSession session, AdminEventBuilder adminEvent, AdminPermissionEvaluator.RequirePermissionCheck managePermission, AdminPermissionEvaluator.RequirePermissionCheck viewPermission) TestLdapConnectionResource
(KeycloakSession session, AdminPermissionEvaluator auth) UserProfileResource
(KeycloakSession session, AdminPermissionEvaluator auth) UserResource
(KeycloakSession session, UserModel user, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) UsersResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) UserStorageProviderResource
(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) -
Uses of KeycloakSession in org.keycloak.services.resources.admin.ext
Methods in org.keycloak.services.resources.admin.ext with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAdminRealmResourceProvider.getResource
(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) Returns a JAX-RS resource instance. -
Uses of KeycloakSession in org.keycloak.services.resources.admin.info
Constructors in org.keycloak.services.resources.admin.info with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.services.resources.admin.permissions
Methods in org.keycloak.services.resources.admin.permissions with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic AdminPermissionEvaluator
AdminPermissions.evaluator
(KeycloakSession session, RealmModel realm, RealmModel adminsRealm, UserModel admin) static AdminPermissionEvaluator
AdminPermissions.evaluator
(KeycloakSession session, RealmModel realm, AdminAuth auth) static AdminPermissionManagement
AdminPermissions.management
(KeycloakSession session, RealmModel realm) static RealmsPermissionEvaluator
AdminPermissions.realms
(KeycloakSession session, RealmModel adminsRealm, UserModel admin) static RealmsPermissionEvaluator
AdminPermissions.realms
(KeycloakSession session, AdminAuth auth) -
Uses of KeycloakSession in org.keycloak.services.scheduled
Methods in org.keycloak.services.scheduled with parameters of type KeycloakSessionModifier and TypeMethodDescriptionvoid
ClearExpiredAdminEvents.run
(KeycloakSession session) void
ClearExpiredClientInitialAccessTokens.run
(KeycloakSession session) void
ClearExpiredEvents.run
(KeycloakSession session) void
ClearExpiredUserSessions.run
(KeycloakSession session) protected void
ClusterAwareScheduledTaskRunner.runTask
(KeycloakSession session) protected void
ScheduledTaskRunner.runTask
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.services.util
Methods in org.keycloak.services.util with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic void
CookieHelper.addCookie
(String name, String value, String path, String domain, String comment, int maxAge, boolean secure, boolean httpOnly, ServerCookie.SameSiteAttributeValue sameSite, KeycloakSession session) Set a response cookie.static void
CookieHelper.addCookie
(String name, String value, String path, String domain, String comment, int maxAge, boolean secure, boolean httpOnly, KeycloakSession session) Set a response cookie avoiding SameSite parameterstatic AccessToken.Confirmation
MtlsHoKTokenUtil.bindTokenWithClientCertificate
(HttpRequest request, KeycloakSession session) static UserSessionModel
UserSessionUtil.findValidSession
(KeycloakSession session, RealmModel realm, AccessToken token, EventBuilder event, ClientModel client) static DefaultClientSessionContext
DefaultClientSessionContext.fromClientSessionAndClientScopeIds
(AuthenticatedClientSessionModel clientSession, Set<String> clientScopeIds, 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 parameterstatic AuthorizationRequestContext
AuthorizationContextUtil.getAuthorizationRequestContextFromScopes
(KeycloakSession session, String scope) Base function to obtain a bare AuthorizationRequestContext with just OAuth2 Scopesstatic AuthorizationRequestContext
AuthorizationContextUtil.getAuthorizationRequestContextFromScopesWithClient
(KeycloakSession session, String scope) An extension ofAuthorizationContextUtil.getAuthorizationRequestContextFromScopes(org.keycloak.models.KeycloakSession, java.lang.String)
that appends the current context's clientstatic Stream<AuthorizationDetails>
AuthorizationContextUtil.getAuthorizationRequestsStreamFromScopesWithClient
(KeycloakSession session, String scope) An extension of {@link AuthorizationContextUtil#getAuthorizationRequestContextFromScopesWithClient)} that returns the list as a Streamstatic Stream<ClientScopeModel>
AuthorizationContextUtil.getClientScopesStreamFromAuthorizationRequestContextWithClient
(KeycloakSession session, String scope) Helper method to return a Stream of all theClientScopeModel
in the currentAuthorizationRequestContext
CookieHelper.getCookieValue
(KeycloakSession session, String name) abstract jakarta.ws.rs.core.Response
BrowserHistoryHelper.loadSavedResponse
(KeycloakSession session, AuthenticationSessionModel authSession) static void
CacheControlUtil.noBackButtonCacheControlHeader
(KeycloakSession session) static void
LocaleUtil.processLocaleParam
(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authSession) static String
ResolveRelative.resolveRelativeUri
(KeycloakSession session, String rootUrl, String url) static String
ResolveRelative.resolveRootUrl
(KeycloakSession session, String rootUrl) abstract jakarta.ws.rs.core.Response
BrowserHistoryHelper.saveResponseAndRedirect
(KeycloakSession session, AuthenticationSessionModel authSession, jakarta.ws.rs.core.Response response, boolean actionRequest, HttpRequest httpRequest) protected boolean
BrowserHistoryHelper.shouldReplaceBrowserHistory
(boolean actionRequest, KeycloakSession session) static boolean
MtlsHoKTokenUtil.verifyTokenBindingWithClientCertificate
(AccessToken token, HttpRequest request, KeycloakSession session) Constructors in org.keycloak.services.util with parameters of type KeycloakSessionModifierConstructorDescriptionAuthenticationFlowURLHelper
(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo) Validator
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.services.x509
Methods in org.keycloak.services.x509 with parameters of type KeycloakSessionModifier and TypeMethodDescriptionApacheProxySslClientCertificateLookupFactory.create
(KeycloakSession session) DefaultClientCertificateLookupFactory.create
(KeycloakSession session) HaProxySslClientCertificateLookupFactory.create
(KeycloakSession session) NginxProxySslClientCertificateLookupFactory.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.sessions
Methods in org.keycloak.sessions with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDisabledStickySessionEncoderProvider.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.social.bitbucket
Methods in org.keycloak.social.bitbucket with parameters of type KeycloakSessionModifier and TypeMethodDescriptionBitbucketIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Constructors in org.keycloak.social.bitbucket with parameters of type KeycloakSessionModifierConstructorDescriptionBitbucketIdentityProvider
(KeycloakSession session, OAuth2IdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.social.facebook
Methods in org.keycloak.social.facebook with parameters of type KeycloakSessionModifier and TypeMethodDescriptionFacebookIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Constructors in org.keycloak.social.facebook with parameters of type KeycloakSessionModifierConstructorDescriptionFacebookIdentityProvider
(KeycloakSession session, FacebookIdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.social.github
Methods in org.keycloak.social.github with parameters of type KeycloakSessionModifier and TypeMethodDescriptionGitHubIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Constructors in org.keycloak.social.github with parameters of type KeycloakSessionModifierConstructorDescriptionGitHubIdentityProvider
(KeycloakSession session, OAuth2IdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.social.gitlab
Methods in org.keycloak.social.gitlab with parameters of type KeycloakSessionModifier and TypeMethodDescriptionGitLabIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Constructors in org.keycloak.social.gitlab with parameters of type KeycloakSessionModifierConstructorDescriptionGitLabIdentityProvider
(KeycloakSession session, OIDCIdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.social.google
Methods in org.keycloak.social.google with parameters of type KeycloakSessionModifier and TypeMethodDescriptionGoogleIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Constructors in org.keycloak.social.google with parameters of type KeycloakSessionModifierConstructorDescriptionGoogleIdentityProvider
(KeycloakSession session, GoogleIdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.social.instagram
Methods in org.keycloak.social.instagram with parameters of type KeycloakSessionModifier and TypeMethodDescriptionInstagramIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Constructors in org.keycloak.social.instagram with parameters of type KeycloakSessionModifierConstructorDescriptionInstagramIdentityProvider
(KeycloakSession session, OAuth2IdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.social.linkedin
Methods in org.keycloak.social.linkedin with parameters of type KeycloakSessionModifier and TypeMethodDescriptionLinkedInIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Deprecated.LinkedInOIDCIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Constructors in org.keycloak.social.linkedin with parameters of type KeycloakSessionModifierConstructorDescriptionLinkedInIdentityProvider
(KeycloakSession session, OAuth2IdentityProviderConfig config) Deprecated.LinkedInOIDCIdentityProvider
(KeycloakSession session, OIDCIdentityProviderConfig config) LinkedInPublicKeyLoader
(KeycloakSession session, OIDCIdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.social.microsoft
Methods in org.keycloak.social.microsoft with parameters of type KeycloakSessionModifier and TypeMethodDescriptionMicrosoftIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Constructors in org.keycloak.social.microsoft with parameters of type KeycloakSessionModifierConstructorDescriptionMicrosoftIdentityProvider
(KeycloakSession session, MicrosoftIdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.social.openshift
Methods in org.keycloak.social.openshift with parameters of type KeycloakSessionModifier and TypeMethodDescriptionOpenshiftV3IdentityProviderFactory.create
(KeycloakSession keycloakSession, IdentityProviderModel identityProviderModel) OpenshiftV4IdentityProviderFactory.create
(KeycloakSession keycloakSession, IdentityProviderModel identityProviderModel) Constructors in org.keycloak.social.openshift with parameters of type KeycloakSessionModifierConstructorDescriptionOpenshiftV3IdentityProvider
(KeycloakSession session, OpenshiftV3IdentityProviderConfig config) OpenshiftV4IdentityProvider
(KeycloakSession session, OpenshiftV4IdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.social.paypal
Methods in org.keycloak.social.paypal with parameters of type KeycloakSessionModifier and TypeMethodDescriptionPayPalIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Constructors in org.keycloak.social.paypal with parameters of type KeycloakSessionModifierConstructorDescriptionPayPalIdentityProvider
(KeycloakSession session, PayPalIdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.social.stackoverflow
Methods in org.keycloak.social.stackoverflow with parameters of type KeycloakSessionModifier and TypeMethodDescriptionStackoverflowIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) Constructors in org.keycloak.social.stackoverflow with parameters of type KeycloakSessionModifierConstructorDescription -
Uses of KeycloakSession in org.keycloak.social.twitter
Fields in org.keycloak.social.twitter declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
TwitterIdentityProvider.Endpoint.session
Methods in org.keycloak.social.twitter with parameters of type KeycloakSessionModifier and TypeMethodDescriptionTwitterIdentityProviderFactory.create
(KeycloakSession session, IdentityProviderModel model) jakarta.ws.rs.core.Response
TwitterIdentityProvider.retrieveToken
(KeycloakSession session, FederatedIdentityModel identity) Constructors in org.keycloak.social.twitter with parameters of type KeycloakSessionModifierConstructorDescriptionEndpoint
(KeycloakSession session, IdentityProvider.AuthenticationCallback callback, EventBuilder event, TwitterIdentityProvider provider) TwitterIdentityProvider
(KeycloakSession session, OAuth2IdentityProviderConfig config) -
Uses of KeycloakSession in org.keycloak.storage
Fields in org.keycloak.storage declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
AbstractStorageManager.session
protected KeycloakSession
ClientStorageManager.session
protected KeycloakSession
RoleStorageManager.session
Methods in org.keycloak.storage that return KeycloakSessionModifier and TypeMethodDescriptionImportRealmFromRepresentationEvent.getSession()
Deprecated.LegacyStoreMigrateRepresentationEvent.getSession()
LegacyStoreSyncEvent.getSession()
PartialImportRealmFromRepresentationEvent.getSession()
Deprecated.SetDefaultsForNewRealm.getSession()
Methods in org.keycloak.storage with parameters of type KeycloakSessionModifier and TypeMethodDescriptionUserStorageProviderFactory.create
(KeycloakSession session, ComponentModel model) called per Keycloak transaction.static RealmModel
ImportRealmFromRepresentationEvent.fire
(KeycloakSession session, RealmRepresentation rep) Deprecated.static void
LegacyStoreMigrateRepresentationEvent.fire
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) static void
LegacyStoreSyncEvent.fire
(KeycloakSession session, RealmModel realm, boolean removed) static PartialImportResults
PartialImportRealmFromRepresentationEvent.fire
(KeycloakSession session, PartialImportRepresentation rep, RealmModel realm) Deprecated.static void
SetDefaultsForNewRealm.fire
(KeycloakSession session, RealmModel realm) static <T> Stream<T>
ClientStorageManager.getEnabledStorageProviders
(KeycloakSession session, RealmModel realm, Class<T> type) static <T> Stream<T>
RoleStorageManager.getEnabledStorageProviders
(KeycloakSession session, RealmModel realm, Class<T> type) static ClientStorageProvider
ClientStorageManager.getStorageProvider
(KeycloakSession session, RealmModel realm, String componentId) static RoleStorageProvider
RoleStorageManager.getStorageProvider
(KeycloakSession session, RealmModel realm, String componentId) static ClientStorageProvider
ClientStorageManager.getStorageProviderInstance
(KeycloakSession session, ClientStorageProviderModel model, ClientStorageProviderFactory factory) static RoleStorageProvider
RoleStorageManager.getStorageProviderInstance
(KeycloakSession session, RoleStorageProviderModel model, RoleStorageProviderFactory factory) static <T> Stream<T>
ClientStorageManager.getStorageProviders
(KeycloakSession session, RealmModel realm, Class<T> type) static <T> Stream<T>
RoleStorageManager.getStorageProviders
(KeycloakSession session, RealmModel realm, Class<T> type) static <T> Stream<RoleStorageProviderModel>
RoleStorageManager.getStorageProviders
(RealmModel realm, KeycloakSession session, Class<T> type) static boolean
ClientStorageManager.hasEnabledStorageProviders
(KeycloakSession session, RealmModel realm, Class<?> type) void
OnCreateComponent.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) void
UserStorageManager.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) default void
UserStorageProviderFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) Called when UserStorageProviderModel is created.void
OnUpdateComponent.onUpdate
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) void
UserStorageManager.onUpdate
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) static UserCache
UserStorageUtil.userCache
(KeycloakSession session) static UserFederatedStorageProvider
UserStorageUtil.userFederatedStorage
(KeycloakSession session) static UserProvider
UserStoragePrivateUtil.userLocalStorage
(KeycloakSession session) default void
UserStorageProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) Constructors in org.keycloak.storage with parameters of type KeycloakSessionModifierConstructorDescriptionAbstractStorageManager
(KeycloakSession session, Class<? extends ProviderFactory> factoryTypeClass, Class<ProviderType> providerTypeClass, Function<ComponentModel, StorageProviderModelType> toStorageProviderModelTypeFunction, String configScope) ClientScopeStorageManager
(KeycloakSession session) ClientStorageManager
(KeycloakSession session, long clientStorageProviderTimeout) GroupStorageManager
(KeycloakSession session) ImportRealmFromRepresentationEvent
(KeycloakSession session, RealmRepresentation realmRepresentation) Deprecated.LegacyStoreMigrateRepresentationEvent
(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent) LegacyStoreSyncEvent
(KeycloakSession session, RealmModel realm, boolean removed) PartialImportRealmFromRepresentationEvent
(KeycloakSession session, PartialImportRepresentation rep, RealmModel realm) Deprecated.RoleStorageManager
(KeycloakSession session, long roleStorageProviderTimeout) SetDefaultsForNewRealm
(KeycloakSession session, RealmModel realmModel) UserStorageManager
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.storage.adapter
Fields in org.keycloak.storage.adapter declared as KeycloakSessionModifier and TypeFieldDescriptionprotected KeycloakSession
AbstractInMemoryUserAdapter.session
protected KeycloakSession
AbstractUserAdapter.session
protected KeycloakSession
AbstractUserAdapterFederatedStorage.session
Constructors in org.keycloak.storage.adapter with parameters of type KeycloakSessionModifierConstructorDescriptionprotected
AbstractInMemoryUserAdapter
(KeycloakSession session, RealmModel realm, String id) AbstractUserAdapter
(KeycloakSession session, RealmModel realm, ComponentModel storageProviderModel) AbstractUserAdapterFederatedStorage
(KeycloakSession session, RealmModel realm, ComponentModel storageProviderModel) InMemoryUserAdapter
(KeycloakSession session, RealmModel realm, String id) Streams
(KeycloakSession session, RealmModel realm, ComponentModel storageProviderModel) Streams
(KeycloakSession session, RealmModel realm, ComponentModel storageProviderModel) Deprecated. -
Uses of KeycloakSession in org.keycloak.storage.client
Fields in org.keycloak.storage.client declared as KeycloakSessionMethods in org.keycloak.storage.client with parameters of type KeycloakSessionModifier and TypeMethodDescriptionClientStorageProviderFactory.create
(KeycloakSession session, ComponentModel model) called per Keycloak transaction.default void
ClientStorageProviderFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) Called when ClientStorageProviderModel is created.default void
ClientStorageProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) Constructors in org.keycloak.storage.client with parameters of type KeycloakSessionModifierConstructorDescriptionAbstractClientStorageAdapter
(KeycloakSession session, RealmModel realm, ClientStorageProviderModel component) AbstractReadOnlyClientStorageAdapter
(KeycloakSession session, RealmModel realm, ClientStorageProviderModel component) -
Uses of KeycloakSession in org.keycloak.storage.clientscope
Methods in org.keycloak.storage.clientscope with parameters of type KeycloakSessionModifier and TypeMethodDescriptionClientScopeStorageProviderFactory.create
(KeycloakSession session, ComponentModel model) called per Keycloak transaction.default void
ClientScopeStorageProviderFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) Called when ClientScopeStorageProviderFactory is created.default void
ClientScopeStorageProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) -
Uses of KeycloakSession in org.keycloak.storage.datastore
Methods in org.keycloak.storage.datastore with parameters of type KeycloakSessionModifier and TypeMethodDescriptionLegacyDatastoreProviderFactory.create
(KeycloakSession session) LegacyExportImportManager.importAuthenticationFlows
(KeycloakSession session, RealmModel newRealm, RealmRepresentation rep) static void
LegacyExportImportManager.importFederatedUser
(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep) static void
LegacyExportImportManager.importRealmAuthorizationSettings
(RealmRepresentation rep, RealmModel newRealm, KeycloakSession session) static void
LegacyExportImportManager.importUserFederationProvidersAndMappers
(KeycloakSession session, RealmRepresentation rep, RealmModel newRealm) Constructors in org.keycloak.storage.datastore with parameters of type KeycloakSessionModifierConstructorDescriptionLegacyDatastoreProvider
(LegacyDatastoreProviderFactory factory, KeycloakSession session) LegacyExportImportManager
(KeycloakSession session) LegacyMigrationManager
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.storage.group
Methods in org.keycloak.storage.group with parameters of type KeycloakSessionModifier and TypeMethodDescriptionGroupStorageProviderFactory.create
(KeycloakSession session, ComponentModel model) called per Keycloak transaction.default void
GroupStorageProviderFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) Called when GroupStorageProviderModel is created.default void
GroupStorageProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) -
Uses of KeycloakSession in org.keycloak.storage.jpa
Methods in org.keycloak.storage.jpa with parameters of type KeycloakSessionModifier and TypeMethodDescriptionJpaUserFederatedStorageProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.storage.jpa with parameters of type KeycloakSessionModifierConstructorDescriptionJpaUserFederatedStorageProvider
(KeycloakSession session, jakarta.persistence.EntityManager em) -
Uses of KeycloakSession in org.keycloak.storage.ldap
Fields in org.keycloak.storage.ldap declared as KeycloakSessionMethods in org.keycloak.storage.ldap that return KeycloakSessionMethods in org.keycloak.storage.ldap with parameters of type KeycloakSessionModifier and TypeMethodDescriptionLDAPStorageProviderFactory.create
(KeycloakSession session, ComponentModel model) static LDAPIdentityStore
LDAPIdentityStoreRegistry.createLdapIdentityStore
(KeycloakSession session, LDAPConfig cfg) Create LDAPIdentityStore to be cached in the local registryprotected Map<ComponentModel,
LDAPConfigDecorator> LDAPStorageProviderFactory.getLDAPConfigDecorators
(KeycloakSession session, ComponentModel ldapModel) LDAPIdentityStoreRegistry.getLdapStore
(KeycloakSession session, ComponentModel ldapModel, Map<ComponentModel, LDAPConfigDecorator> configDecorators) protected UserModel
LDAPStorageProvider.importUserFromLDAP
(KeycloakSession session, RealmModel realm, LDAPObject ldapUser) void
LDAPStorageProviderFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) void
LDAPStorageProviderFactory.onUpdate
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) void
LDAPStorageProviderFactory.preRemove
(KeycloakSession session, RealmModel realm, ComponentModel model) void
LDAPStorageProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) Constructors in org.keycloak.storage.ldap with parameters of type KeycloakSessionModifierConstructorDescriptionLDAPStorageProvider
(LDAPStorageProviderFactory factory, KeycloakSession session, ComponentModel model, LDAPIdentityStore ldapIdentityStore) -
Uses of KeycloakSession in org.keycloak.storage.ldap.idm.store.ldap
Methods in org.keycloak.storage.ldap.idm.store.ldap with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic LDAPContextManager
LDAPContextManager.create
(KeycloakSession session, LDAPConfig connectionProperties) Constructors in org.keycloak.storage.ldap.idm.store.ldap with parameters of type KeycloakSessionModifierConstructorDescriptionLDAPContextManager
(KeycloakSession session, LDAPConfig connectionProperties) LDAPIdentityStore
(KeycloakSession session, LDAPConfig config) LDAPOperationManager
(KeycloakSession session, LDAPConfig config) -
Uses of KeycloakSession in org.keycloak.storage.ldap.mappers
Fields in org.keycloak.storage.ldap.mappers declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
AbstractLDAPStorageMapper.session
Methods in org.keycloak.storage.ldap.mappers with parameters of type KeycloakSessionModifier and TypeMethodDescriptionprotected void
UserAttributeLDAPStorageMapper.checkDuplicateEmail
(String userModelAttrName, String email, RealmModel realm, KeycloakSession session, UserModel user) protected void
UserAttributeLDAPStorageMapper.checkDuplicateUsername
(String userModelAttrName, String username, RealmModel realm, KeycloakSession session, UserModel user) AbstractLDAPStorageMapperFactory.create
(KeycloakSession session, ComponentModel model) LDAPStorageMapperFactory.create
(KeycloakSession session, ComponentModel model) called per Keycloak transaction.default void
LDAPStorageMapperFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) Called when UserStorageProviderModel is created.void
CertificateLDAPStorageMapperFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) void
FullNameLDAPStorageMapperFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) void
HardcodedAttributeMapperFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) void
HardcodedLDAPAttributeMapperFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) void
HardcodedLDAPGroupStorageMapperFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) void
HardcodedLDAPRoleStorageMapperFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) default void
LDAPStorageMapperFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) void
UserAttributeLDAPStorageMapperFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) -
Uses of KeycloakSession in org.keycloak.storage.ldap.mappers.membership.group
Methods in org.keycloak.storage.ldap.mappers.membership.group with parameters of type KeycloakSessionModifier and TypeMethodDescriptionvoid
GroupLDAPStorageMapperFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) void
GroupLDAPStorageMapperFactory.onUpdate
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) void
GroupLDAPStorageMapperFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) -
Uses of KeycloakSession in org.keycloak.storage.ldap.mappers.membership.role
Methods in org.keycloak.storage.ldap.mappers.membership.role with parameters of type KeycloakSessionModifier and TypeMethodDescriptionvoid
RoleLDAPStorageMapperFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) void
RoleLDAPStorageMapperFactory.onUpdate
(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel) void
RoleLDAPStorageMapperFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) -
Uses of KeycloakSession in org.keycloak.storage.managers
Methods in org.keycloak.storage.managers with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic void
UserStorageSyncManager.notifyToRefreshPeriodicSync
(KeycloakSession session, RealmModel realm, UserStorageProviderModel provider, boolean removed) static void
UserStorageSyncManager.notifyToRefreshPeriodicSyncAll
(KeycloakSession session, RealmModel realm, boolean removed) static void
UserStorageSyncManager.notifyToRefreshPeriodicSyncSingle
(KeycloakSession session, RealmModel realm, ComponentModel component, boolean removed) -
Uses of KeycloakSession in org.keycloak.storage.role
Methods in org.keycloak.storage.role with parameters of type KeycloakSessionModifier and TypeMethodDescriptionRoleStorageProviderFactory.create
(KeycloakSession session, ComponentModel model) called per Keycloak transaction.default void
RoleStorageProviderFactory.onCreate
(KeycloakSession session, RealmModel realm, ComponentModel model) Called when RoleStorageProviderModel is created.default void
RoleStorageProviderFactory.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel config) -
Uses of KeycloakSession in org.keycloak.theme
Methods in org.keycloak.theme with parameters of type KeycloakSessionModifier and TypeMethodDescriptionClasspathThemeProviderFactory.create
(KeycloakSession session) ClasspathThemeResourceProviderFactory.create
(KeycloakSession session) DefaultThemeManagerFactory.create
(KeycloakSession session) DefaultThemeSelectorProviderFactory.create
(KeycloakSession session) FolderThemeProviderFactory.create
(KeycloakSession sessions) JarThemeProviderFactory.create
(KeycloakSession session) Constructors in org.keycloak.theme with parameters of type KeycloakSessionModifierConstructorDescriptionDefaultThemeManager
(DefaultThemeManagerFactory factory, KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.theme.freemarker
Methods in org.keycloak.theme.freemarker with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultFreeMarkerProviderFactory.create
(KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.timer
Methods in org.keycloak.timer with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.timer.basic
Methods in org.keycloak.timer.basic with parameters of type KeycloakSessionConstructors in org.keycloak.timer.basic with parameters of type KeycloakSessionModifierConstructorDescriptionBasicTimerProvider
(KeycloakSession session, Timer timer, int transactionTimeout, BasicTimerProviderFactory factory) -
Uses of KeycloakSession in org.keycloak.transaction
Methods in org.keycloak.transaction with parameters of type KeycloakSessionModifier and TypeMethodDescriptiondefault JtaTransactionManagerLookup
JtaTransactionManagerLookup.create
(KeycloakSession session) static void
AsyncResponseTransaction.finishAsyncResponseInTransaction
(KeycloakSession session, jakarta.ws.rs.container.AsyncResponse responseToFinishInTransaction, jakarta.ws.rs.core.Response responseToSend) This method creates a new AsyncResponseTransaction instance that resumes provided AsyncResponseresponseToFinishInTransaction
with given ResponseresponseToSend
. -
Uses of KeycloakSession in org.keycloak.truststore
Methods in org.keycloak.truststore with parameters of type KeycloakSessionConstructors in org.keycloak.truststore with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.url
Methods in org.keycloak.url with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultHostnameProviderFactory.create
(KeycloakSession session) FixedHostnameProviderFactory.create
(KeycloakSession session) Deprecated.RequestHostnameProviderFactory.create
(KeycloakSession session) Deprecated.Constructors in org.keycloak.url with parameters of type KeycloakSessionModifierConstructorDescriptionDefaultHostnameProvider
(KeycloakSession session, URI frontendUri, URI adminUri, boolean forceBackendUrlToFrontendUrl) FixedHostnameProvider
(KeycloakSession session, boolean alwaysHttps, String globalHostname, int httpPort, int httpsPort) Deprecated. -
Uses of KeycloakSession in org.keycloak.userprofile
Fields in org.keycloak.userprofile declared as KeycloakSessionModifier and TypeFieldDescriptionprotected final KeycloakSession
AbstractUserProfileProvider.session
protected final KeycloakSession
DefaultAttributes.session
Methods in org.keycloak.userprofile that return KeycloakSessionMethods in org.keycloak.userprofile with parameters of type KeycloakSessionModifier and TypeMethodDescriptionprotected UserProfileMetadata
AbstractUserProfileProvider.configureUserProfile
(UserProfileMetadata metadata, KeycloakSession session) Sub-types can override this method to customize how contextual profile metadata is configured at runtime.protected UserProfileMetadata
DeclarativeUserProfileProvider.configureUserProfile
(UserProfileMetadata metadata, KeycloakSession session) AbstractUserProfileProvider.create
(KeycloakSession session) protected abstract U
AbstractUserProfileProvider.create
(KeycloakSession session, Map<UserProfileContext, UserProfileMetadata> metadataRegistry) Subclasses can override this method to create their instances ofUserProfileProvider
.protected UserProfileProvider
DeclarativeUserProfileProvider.create
(KeycloakSession session, Map<UserProfileContext, UserProfileMetadata> metadataRegistry) void
DeclarativeUserProfileProvider.validateConfiguration
(KeycloakSession session, RealmModel realm, ComponentModel model) Constructors in org.keycloak.userprofile with parameters of type KeycloakSessionModifierConstructorDescriptionAbstractUserProfileProvider
(KeycloakSession session, Map<UserProfileContext, UserProfileMetadata> contextualMetadataRegistry) AttributeContext
(UserProfileContext context, KeycloakSession session, Map.Entry<String, List<String>> attribute, UserModel user, AttributeMetadata metadata, Attributes attributes) DeclarativeUserProfileProvider
(KeycloakSession session, Map<UserProfileContext, UserProfileMetadata> metadataRegistry, String defaultRawConfig, UPConfig parsedDefaultRawConfig) DefaultAttributes
(UserProfileContext context, Map<String, ?> attributes, UserModel user, UserProfileMetadata profileMetadata, KeycloakSession session) DefaultUserProfile
(UserProfileMetadata metadata, Attributes attributes, Function<Attributes, UserModel> userCreator, UserModel user, KeycloakSession session) LegacyAttributes
(UserProfileContext context, Map<String, ?> attributes, UserModel user, UserProfileMetadata profileMetadata, KeycloakSession session) -
Uses of KeycloakSession in org.keycloak.userprofile.config
Methods in org.keycloak.userprofile.config with parameters of type KeycloakSessionModifier and TypeMethodDescriptionUPConfigUtils.validate
(KeycloakSession session, UPConfig config) Validate object representation of the configuration. -
Uses of KeycloakSession in org.keycloak.utils
Methods in org.keycloak.utils with parameters of type KeycloakSessionModifier and TypeMethodDescriptionstatic void
CRLUtils.check
(X509Certificate[] certs, X509CRL crl, KeycloakSession session) Check the signature on CRL and check if 1st certificate from the chain ((The actual certificate from the client)) is valid and not available on CRL.OCSPProvider.check
(KeycloakSession session, X509Certificate cert, X509Certificate issuerCertificate) Requests certificate revocation status using OCSP.OCSPProvider.check
(KeycloakSession session, X509Certificate cert, X509Certificate issuerCertificate, URI responderURI, X509Certificate responderCert, Date date) Requests certificate revocation status using OCSP.OCSPProvider.check
(KeycloakSession session, X509Certificate cert, X509Certificate issuerCertificate, Date date, X509Certificate responderCert) Requests certificate revocation status using OCSP.protected abstract OCSPProvider.OCSPRevocationStatus
OCSPProvider.check
(KeycloakSession session, X509Certificate cert, X509Certificate issuerCertificate, List<URI> responderURIs, X509Certificate responderCert, Date date) Requests certificate revocation status using OCSP.static <T> Consumer<? super T>
ServicesUtils.consumeWithTimeBound
(KeycloakSession session, long timeout, Consumer<T> func) Deprecated.static boolean
CredentialHelper.createOTPCredential
(KeycloakSession session, RealmModel realm, UserModel user, String totpCode, OTPCredentialModel credentialModel) Create OTP credential either in userStorage or local storage (Keycloak DB)static void
CredentialHelper.deleteOTPCredential
(KeycloakSession session, RealmModel realm, UserModel user, String credentialId) static Map<String,
AccessToken.Access> RoleResolveUtil.getAllResolvedClientRoles
(KeycloakSession session, ClientSessionContext clientSessionCtx) Object (but can be empty map) containing all the user's client roles of all clients.CredentialHelper.getConfigurableAuthenticatorFactory
(KeycloakSession session, String providerId) protected byte[]
OCSPProvider.getEncodedOCSPResponse
(KeycloakSession session, byte[] encodedOCSPReq, URI responderUri) static AccessToken.Access
RoleResolveUtil.getResolvedClientRoles
(KeycloakSession session, ClientSessionContext clientSessionCtx, String clientId, boolean createIfMissing) Object (possibly null) containing all the user's client roles of client specified by clientId.static AccessToken.Access
RoleResolveUtil.getResolvedRealmRoles
(KeycloakSession session, ClientSessionContext clientSessionCtx, boolean createIfMissing) Object (possibly null) containing all the user's realm roles.static boolean
LockObjectsForModification.isEnabled
(KeycloakSession session, Class<?> model) static <V> V
LockObjectsForModification.lockRealmsForModification
(KeycloakSession session, LockObjectsForModification.CallableWithoutThrowingAnException<V> callable) static <V> V
LockObjectsForModification.lockUserSessionsForModification
(KeycloakSession session, LockObjectsForModification.CallableWithoutThrowingAnException<V> callable) static Stream<GroupRepresentation>
GroupUtils.populateGroupHierarchyFromSubGroups
(KeycloakSession session, RealmModel realm, Stream<GroupModel> groups, boolean full, GroupPermissionEvaluator groupEvaluator) This method takes the provided groups and attempts to load their parents all the way to the root group while maintaining the hierarchy data for each GroupRepresentation object.static void
CredentialHelper.setAlternativeCredential
(KeycloakSession session, String type, RealmModel realm) static void
CredentialHelper.setOrReplaceAuthenticationRequirement
(KeycloakSession session, RealmModel realm, String type, AuthenticationExecutionModel.Requirement requirement, AuthenticationExecutionModel.Requirement currentRequirement) static void
CredentialHelper.setRequiredCredential
(KeycloakSession session, String type, RealmModel realm) ServicesUtils.timeBound
(KeycloakSession session, long timeout, Function<T, ? extends Stream<R>> func) Deprecated.static <T,
R> Function<? super T, R> ServicesUtils.timeBoundOne
(KeycloakSession session, long timeout, Function<T, R> func) Deprecated.Constructors in org.keycloak.utils with parameters of type KeycloakSession -
Uses of KeycloakSession in org.keycloak.validate
Methods in org.keycloak.validate that return KeycloakSessionMethods in org.keycloak.validate with parameters of type KeycloakSessionModifier and TypeMethodDescriptiondefault Validator
SimpleValidator.create
(KeycloakSession session) default ValidationResult
ValidatorFactory.validateConfig
(KeycloakSession session, ValidatorConfig config) Validates the given validation config.static ValidationResult
Validators.validateConfig
(KeycloakSession session, String id, ValidatorConfig config) static Validator
Validators.validator
(KeycloakSession session, String id) Look-up up for a built-in or registeredValidator
with the given validatorId.static ValidatorFactory
Validators.validatorFactory
(KeycloakSession session, String id) Look-up for a built-in or registeredValidatorFactory
with the given validatorId.Constructors in org.keycloak.validate with parameters of type KeycloakSessionModifierConstructorDescriptionValidationContext
(KeycloakSession session) Creates a newValidationContext
with aKeycloakSession
.protected
ValidationContext
(KeycloakSession session, Set<ValidationError> errors) Creates a newValidationContext
.Validators
(KeycloakSession session) Creates a newValidators
instance with the givenKeycloakSession
. -
Uses of KeycloakSession in org.keycloak.validate.validators
Methods in org.keycloak.validate.validators with parameters of type KeycloakSessionModifier and TypeMethodDescriptionAbstractNumberValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) EmailValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) LengthValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) LocalDateValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) OptionsValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) PatternValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) -
Uses of KeycloakSession in org.keycloak.validation
Methods in org.keycloak.validation that return KeycloakSessionModifier and TypeMethodDescriptionDefaultValidationContext.getSession()
ValidationContext.getSession()
Methods in org.keycloak.validation with parameters of type KeycloakSessionModifier and TypeMethodDescriptionDefaultClientValidationProviderFactory.create
(KeycloakSession session) static void
ValidationUtil.validateClient
(KeycloakSession session, ClientModel client, boolean create, ValidationUtil.ErrorHandler errorHandler) static void
ValidationUtil.validateClient
(KeycloakSession session, ClientModel client, OIDCClientRepresentation oidcClient, boolean create, ValidationUtil.ErrorHandler errorHandler) Constructors in org.keycloak.validation with parameters of type KeycloakSessionModifierConstructorDescriptionClientValidationContext
(ValidationContext.Event event, KeycloakSession session, ClientModel objectToValidate) DefaultValidationContext
(ValidationContext.Event event, KeycloakSession session, T objectToValidate) OIDCContext
(ValidationContext.Event event, KeycloakSession session, ClientModel objectToValidate, OIDCClientRepresentation oidcClient) -
Uses of KeycloakSession in org.keycloak.vault
Methods in org.keycloak.vault with parameters of type KeycloakSessionModifier and TypeMethodDescriptionFilesKeystoreVaultProviderFactory.create
(KeycloakSession session) FilesPlainTextVaultProviderFactory.create
(KeycloakSession session) protected String
AbstractVaultProviderFactory.getRealmName
(KeycloakSession session) Obtains the name of realm from theKeycloakSession
.
PasswordUtil.isConfigured()