Uses of Interface
org.keycloak.models.KeycloakSession
-
-
Uses of KeycloakSession in org.keycloak.authentication
Fields in org.keycloak.authentication declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AuthenticationProcessor. session
protected KeycloakSession
RequiredActionContextResult. session
Methods in org.keycloak.authentication that return KeycloakSession Modifier and Type Method Description KeycloakSession
AbstractAuthenticationFlowContext. getSession()
Current sessionKeycloakSession
AuthenticationProcessor. getSession()
KeycloakSession
AuthenticationProcessor.Result. getSession()
KeycloakSession
FormContext. getSession()
Current sessionKeycloakSession
RequiredActionContext. getSession()
KeycloakSession
RequiredActionContextResult. getSession()
Methods in org.keycloak.authentication with parameters of type KeycloakSession Modifier and Type Method Description default 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?T
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
AuthenticationProcessor. setSession(KeycloakSession session)
Constructors in org.keycloak.authentication with parameters of type KeycloakSession Constructor Description AuthenticationSelectionOption(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 KeycloakSession Modifier and Type Method Description KeycloakSession
ActionTokenContext. getSession()
Methods in org.keycloak.authentication.actiontoken with parameters of type KeycloakSession Modifier and Type Method Description ActionTokenHandler<T>
AbstractActionTokenHandler. create(KeycloakSession session)
String
DefaultActionToken. serialize(KeycloakSession session, RealmModel realm, javax.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 KeycloakSession Constructor Description ActionTokenContext(KeycloakSession session, RealmModel realm, javax.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 KeycloakSession Modifier and Type Method Description boolean
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 KeycloakSession Modifier and Type Method Description boolean
AllowAccessAuthenticator. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
boolean
DenyAccessAuthenticator. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
AllowAccessAuthenticatorFactory. create(KeycloakSession session)
Authenticator
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 KeycloakSession Modifier and Type Method Description boolean
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)
Authenticator
IdpAutoLinkAuthenticatorFactory. create(KeycloakSession session)
Authenticator
IdpConfirmLinkAuthenticatorFactory. create(KeycloakSession session)
Authenticator
IdpCreateUserIfUniqueAuthenticatorFactory. create(KeycloakSession session)
Authenticator
IdpDetectExistingBrokerUserAuthenticatorFactory. create(KeycloakSession session)
Authenticator
IdpEmailVerificationAuthenticatorFactory. create(KeycloakSession session)
Authenticator
IdpReviewProfileAuthenticatorFactory. create(KeycloakSession session)
Authenticator
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 KeycloakSession Modifier and Type Method Description BrokeredIdentityContext
SerializedBrokeredIdentityContext. 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 KeycloakSession Modifier and Type Method Description boolean
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)
Authenticator
ConditionalOtpFormAuthenticatorFactory. create(KeycloakSession session)
Authenticator
CookieAuthenticatorFactory. create(KeycloakSession session)
Authenticator
DeployedScriptAuthenticatorFactory. create(KeycloakSession session)
Authenticator
IdentityProviderAuthenticatorFactory. create(KeycloakSession session)
Authenticator
OTPFormAuthenticatorFactory. create(KeycloakSession session)
Authenticator
PasswordFormFactory. create(KeycloakSession session)
Authenticator
RecoveryAuthnCodesFormAuthenticatorFactory. create(KeycloakSession keycloakSession)
Authenticator
ScriptBasedAuthenticatorFactory. create(KeycloakSession session)
Authenticator
SpnegoAuthenticatorFactory. create(KeycloakSession session)
Authenticator
UsernameFormFactory. create(KeycloakSession session)
Authenticator
UsernamePasswordFormFactory. create(KeycloakSession session)
Authenticator
WebAuthnAuthenticatorFactory. create(KeycloakSession session)
Authenticator
WebAuthnPasswordlessAuthenticatorFactory. create(KeycloakSession session)
OTPCredentialProvider
OTPFormAuthenticator. getCredentialProvider(KeycloakSession session)
PasswordCredentialProvider
PasswordForm. getCredentialProvider(KeycloakSession session)
WebAuthnCredentialProvider
WebAuthnAuthenticator. getCredentialProvider(KeycloakSession session)
WebAuthnPasswordlessCredentialProvider
WebAuthnPasswordlessAuthenticator. getCredentialProvider(KeycloakSession session)
List<RequiredActionFactory>
OTPFormAuthenticator. getRequiredActions(KeycloakSession session)
List<RequiredActionFactory>
WebAuthnAuthenticator. getRequiredActions(KeycloakSession session)
List<RequiredActionFactory>
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 KeycloakSession Constructor Description RecoveryAuthnCodesFormAuthenticator(KeycloakSession keycloakSession)
WebAuthnAuthenticator(KeycloakSession session)
WebAuthnPasswordlessAuthenticator(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authentication.authenticators.challenge
Methods in org.keycloak.authentication.authenticators.challenge with parameters of type KeycloakSession Modifier and Type Method Description boolean
BasicAuthAuthenticator. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
boolean
BasicAuthOTPAuthenticator. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
boolean
NoCookieFlowRedirectAuthenticator. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
BasicAuthAuthenticatorFactory. create(KeycloakSession session)
Authenticator
BasicAuthOTPAuthenticatorFactory. create(KeycloakSession session)
Authenticator
NoCookieFlowRedirectAuthenticatorFactory. create(KeycloakSession session)
OTPCredentialProvider
BasicAuthOTPAuthenticator. getCredentialProvider(KeycloakSession session)
void
BasicAuthAuthenticator. setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
void
NoCookieFlowRedirectAuthenticator. setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
-
Uses of KeycloakSession in org.keycloak.authentication.authenticators.client
Methods in org.keycloak.authentication.authenticators.client with parameters of type KeycloakSession Modifier and Type Method Description ClientAuthenticator
AbstractClientAuthenticator. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authentication.authenticators.conditional
Methods in org.keycloak.authentication.authenticators.conditional with parameters of type KeycloakSession Modifier and Type Method Description default boolean
ConditionalAuthenticator. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
default Authenticator
ConditionalAuthenticatorFactory. create(KeycloakSession session)
Authenticator
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 Constructor Description ConditionalLoaAuthenticator(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authentication.authenticators.directgrant
Methods in org.keycloak.authentication.authenticators.directgrant with parameters of type KeycloakSession Modifier and Type Method Description boolean
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)
Authenticator
AbstractDirectGrantAuthenticator. create(KeycloakSession session)
OTPCredentialProvider
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 KeycloakSession Modifier and Type Method Description boolean
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)
Authenticator
AbstractSetRequiredActionAuthenticator. create(KeycloakSession session)
Authenticator
ResetCredentialChooseUser. create(KeycloakSession session)
Authenticator
ResetCredentialEmail. create(KeycloakSession session)
OTPCredentialProvider
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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
UserSessionLimitsAuthenticator. session
Methods in org.keycloak.authentication.authenticators.sessionlimits with parameters of type KeycloakSession Modifier and Type Method Description boolean
UserSessionLimitsAuthenticator. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
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 Constructor Description UserSessionLimitsAuthenticator(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authentication.authenticators.util
Methods in org.keycloak.authentication.authenticators.util with parameters of type KeycloakSession Modifier and Type Method Description static 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 KeycloakSession Modifier and Type Method Description CertificateValidator.CertificateValidatorBuilder
AbstractX509ClientCertificateAuthenticator. certificateValidationParameters(KeycloakSession session, X509AuthenticatorConfigModel config)
boolean
AbstractX509ClientCertificateAuthenticator. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
ValidateX509CertificateUsernameFactory. create(KeycloakSession session)
Authenticator
X509ClientCertificateAuthenticatorFactory. create(KeycloakSession session)
CertificateValidator.CertificateValidatorBuilder
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 KeycloakSession Constructor Description 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 KeycloakSession Modifier and Type Method Description boolean
RegistrationPassword. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
boolean
RegistrationProfile. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
boolean
RegistrationRecaptcha. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
boolean
RegistrationUserCreation. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
FormAuthenticator
RegistrationPage. create(KeycloakSession session)
FormAction
RegistrationPassword. create(KeycloakSession session)
FormAction
RegistrationProfile. create(KeycloakSession session)
FormAction
RegistrationRecaptcha. create(KeycloakSession session)
FormAction
RegistrationUserCreation. create(KeycloakSession session)
void
RegistrationPassword. setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
void
RegistrationProfile. setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
void
RegistrationRecaptcha. 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 KeycloakSession Modifier and Type Method Description OTPApplicationProvider
FreeOTPProvider. create(KeycloakSession session)
OTPApplicationProvider
GoogleAuthenticatorProvider. create(KeycloakSession session)
OTPApplicationProvider
MicrosoftAuthenticatorOTPProvider. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authentication.requiredactions
Methods in org.keycloak.authentication.requiredactions with parameters of type KeycloakSession Modifier and Type Method Description RequiredActionProvider
DeleteAccount. create(KeycloakSession session)
RequiredActionProvider
RecoveryAuthnCodesAction. create(KeycloakSession session)
RequiredActionProvider
TermsAndConditions. create(KeycloakSession session)
RequiredActionProvider
UpdateEmail. create(KeycloakSession session)
RequiredActionProvider
UpdatePassword. create(KeycloakSession session)
RequiredActionProvider
UpdateProfile. create(KeycloakSession session)
RequiredActionProvider
UpdateTotp. create(KeycloakSession session)
RequiredActionProvider
UpdateUserLocaleAction. create(KeycloakSession session)
RequiredActionProvider
VerifyEmail. create(KeycloakSession session)
RequiredActionProvider
VerifyUserProfile. create(KeycloakSession session)
RequiredActionProvider
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 KeycloakSession Constructor Description 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 KeycloakSession Modifier and Type Method Description static 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 KeycloakSession Modifier and Type Method Description KeycloakSession
AuthorizationProvider. getKeycloakSession()
Methods in org.keycloak.authorization with parameters of type KeycloakSession Modifier and Type Method Description AuthorizationProvider
AuthorizationProviderFactory. create(KeycloakSession session, RealmModel realm)
AuthorizationProvider
DefaultAuthorizationProviderFactory. create(KeycloakSession session)
AuthorizationProvider
DefaultAuthorizationProviderFactory. create(KeycloakSession session, RealmModel realm)
Constructors in org.keycloak.authorization with parameters of type KeycloakSession Constructor Description AuthorizationProvider(KeycloakSession session, RealmModel realm, PolicyEvaluator policyEvaluator)
-
Uses of KeycloakSession in org.keycloak.authorization.admin
Constructors in org.keycloak.authorization.admin with parameters of type KeycloakSession Constructor Description AuthorizationService(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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
DefaultEvaluationContext. keycloakSession
protected KeycloakSession
KeycloakIdentity. keycloakSession
Constructors in org.keycloak.authorization.common with parameters of type KeycloakSession Constructor Description ClientModelIdentity(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 KeycloakSession Modifier and Type Method Description static UmaConfiguration
UmaConfiguration. create(KeycloakSession session)
WellKnownProvider
UmaWellKnownProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.authorization.config with parameters of type KeycloakSession Constructor Description UmaWellKnownProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.jpa.store
Methods in org.keycloak.authorization.jpa.store with parameters of type KeycloakSession Modifier and Type Method Description StoreFactory
JPAAuthorizationStoreFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.aggregated
Methods in org.keycloak.authorization.policy.provider.aggregated with parameters of type KeycloakSession Modifier and Type Method Description PolicyProvider
AggregatePolicyProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.client
Methods in org.keycloak.authorization.policy.provider.client with parameters of type KeycloakSession Modifier and Type Method Description PolicyProvider
ClientPolicyProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.clientscope
Methods in org.keycloak.authorization.policy.provider.clientscope with parameters of type KeycloakSession Modifier and Type Method Description PolicyProvider
ClientScopePolicyProviderFactory. 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 Modifier and Type Method Description PolicyProvider
GroupPolicyProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.js
Methods in org.keycloak.authorization.policy.provider.js with parameters of type KeycloakSession Modifier and Type Method Description PolicyProvider
JSPolicyProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.permission
Methods in org.keycloak.authorization.policy.provider.permission with parameters of type KeycloakSession Modifier and Type Method Description PolicyProvider
ResourcePolicyProviderFactory. create(KeycloakSession session)
PolicyProvider
ScopePolicyProviderFactory. create(KeycloakSession session)
PolicyProvider
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 Modifier and Type Method Description PolicyProvider
RegexPolicyProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.role
Methods in org.keycloak.authorization.policy.provider.role with parameters of type KeycloakSession Modifier and Type Method Description PolicyProvider
RolePolicyProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.time
Methods in org.keycloak.authorization.policy.provider.time with parameters of type KeycloakSession Modifier and Type Method Description PolicyProvider
TimePolicyProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.policy.provider.user
Methods in org.keycloak.authorization.policy.provider.user with parameters of type KeycloakSession Modifier and Type Method Description PolicyProvider
UserPolicyProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.protection.introspect
Methods in org.keycloak.authorization.protection.introspect with parameters of type KeycloakSession Modifier and Type Method Description TokenIntrospectionProvider
RPTIntrospectionProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.authorization.protection.introspect with parameters of type KeycloakSession Constructor Description RPTIntrospectionProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.authorization.protection.resource
Constructors in org.keycloak.authorization.protection.resource with parameters of type KeycloakSession Constructor Description ResourceService(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 KeycloakSession Modifier and Type Method Description static 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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractOAuth2IdentityProvider.Endpoint. session
Methods in org.keycloak.broker.oidc with parameters of type KeycloakSession Modifier and Type Method Description void
OIDCIdentityProvider. backchannelLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)
KeycloakOIDCIdentityProvider
KeycloakOIDCIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
OIDCIdentityProvider
OIDCIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
protected SimpleHttp
OIDCIdentityProvider. getRefreshTokenRequest(KeycloakSession session, String refreshToken, String clientId, String clientSecret)
javax.ws.rs.core.Response
OIDCIdentityProvider. keycloakInitiatedBrowserLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)
Map<String,String>
KeycloakOIDCIdentityProviderFactory. parseConfig(KeycloakSession session, InputStream inputStream)
Map<String,String>
OIDCIdentityProviderFactory. parseConfig(KeycloakSession session, InputStream inputStream)
protected static Map<String,String>
OIDCIdentityProviderFactory. parseOIDCConfig(KeycloakSession session, InputStream inputStream)
void
OIDCIdentityProvider. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, BrokeredIdentityContext context)
String
OIDCIdentityProvider. refreshTokenForLogout(KeycloakSession session, UserSessionModel userSession)
Returns access token response as a string from a refresh token invocation on the remote OIDC brokerjavax.ws.rs.core.Response
AbstractOAuth2IdentityProvider. retrieveToken(KeycloakSession session, FederatedIdentityModel identity)
Constructors in org.keycloak.broker.oidc with parameters of type KeycloakSession Constructor Description AbstractOAuth2IdentityProvider(KeycloakSession session, C config)
KeycloakOIDCIdentityProvider(KeycloakSession session, OIDCIdentityProviderConfig config)
OIDCIdentityProvider(KeycloakSession session, OIDCIdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.broker.oidc.mappers
-
Uses of KeycloakSession in org.keycloak.broker.provider
Fields in org.keycloak.broker.provider declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractIdentityProvider. session
Methods in org.keycloak.broker.provider that return KeycloakSession Modifier and Type Method Description KeycloakSession
AuthenticationRequest. getSession()
Methods in org.keycloak.broker.provider with parameters of type KeycloakSession Modifier and Type Method Description void
AbstractIdentityProvider. backchannelLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)
void
IdentityProvider. backchannelLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)
T
AbstractIdentityProviderFactory. create(KeycloakSession session)
IdentityProviderMapper
AbstractIdentityProviderMapper. create(KeycloakSession session)
T
IdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Creates 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.javax.ws.rs.core.Response
AbstractIdentityProvider. keycloakInitiatedBrowserLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)
javax.ws.rs.core.Response
IdentityProvider. keycloakInitiatedBrowserLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)
Called when a Keycloak application initiates a logout through the browser.Map<String,String>
AbstractIdentityProviderFactory. parseConfig(KeycloakSession session, InputStream inputStream)
Map<String,String>
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.javax.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 KeycloakSession Constructor Description AbstractIdentityProvider(KeycloakSession session, C config)
AuthenticationRequest(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authSession, HttpRequest httpRequest, javax.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 KeycloakSession Modifier and Type Method Description static 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 KeycloakSession Modifier and Type Method Description void
SAMLIdentityProvider. backchannelLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)
SAMLIdentityProvider
SAMLIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
javax.ws.rs.core.Response
SAMLIdentityProvider. keycloakInitiatedBrowserLogout(KeycloakSession session, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, RealmModel realm)
Map<String,String>
SAMLIdentityProviderFactory. parseConfig(KeycloakSession session, InputStream inputStream)
javax.ws.rs.core.Response
SAMLIdentityProvider. retrieveToken(KeycloakSession session, FederatedIdentityModel identity)
Constructors in org.keycloak.broker.saml with parameters of type KeycloakSession Constructor Description SAMLEndpoint(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
-
Uses of KeycloakSession in org.keycloak.cluster.infinispan
Methods in org.keycloak.cluster.infinispan with parameters of type KeycloakSession Modifier and Type Method Description ClusterProvider
InfinispanClusterProviderFactory. create(KeycloakSession session)
static InfinispanNotificationsManager
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 KeycloakSession Modifier and Type Method Description javax.ws.rs.core.Response
ResponseSessionTask. run(KeycloakSession session)
abstract javax.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 KeycloakSession Constructor Description ResponseSessionTask(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 KeycloakSession Modifier and Type Method Description ProviderType
AmphibianProviderFactory. create(KeycloakSession session)
default ProviderType
AmphibianProviderFactory. create(KeycloakSession session, ComponentModel model)
Deprecated.default ProviderType
ComponentFactory. create(KeycloakSession session)
CreatedType
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 Modifier and Type Method Description HttpClientProvider
DefaultHttpClientFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.connections.infinispan
Methods in org.keycloak.connections.infinispan with parameters of type KeycloakSession Modifier and Type Method Description InfinispanConnectionProvider
DefaultInfinispanConnectionProviderFactory. 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 KeycloakSession Modifier and Type Method Description JpaConnectionProvider
DefaultJpaConnectionProviderFactory. create(KeycloakSession session)
static javax.persistence.EntityManager
PersistenceExceptionConverter. create(KeycloakSession session, javax.persistence.EntityManager em)
protected void
DefaultJpaConnectionProviderFactory. export(Connection connection, String schema, File databaseUpdateFile, KeycloakSession session, JpaUpdaterProvider updater)
static javax.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 KeycloakSession Modifier and Type Method Description static KeycloakSession
ThreadLocalSessionContext. getCurrentSession()
Methods in org.keycloak.connections.jpa.updater.liquibase with parameters of type KeycloakSession Modifier and Type Method Description JpaUpdaterProvider
LiquibaseJpaUpdaterProviderFactory. create(KeycloakSession session)
static void
ThreadLocalSessionContext. setCurrentSession(KeycloakSession session)
Constructors in org.keycloak.connections.jpa.updater.liquibase with parameters of type KeycloakSession Constructor Description LiquibaseJpaUpdaterProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.connections.jpa.updater.liquibase.conn
Methods in org.keycloak.connections.jpa.updater.liquibase.conn with parameters of type KeycloakSession Modifier and Type Method Description LiquibaseConnectionProvider
DefaultLiquibaseConnectionProvider. 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 Modifier and Type Field Description protected KeycloakSession
CustomKeycloakTask. kcSession
-
Uses of KeycloakSession in org.keycloak.connections.jpa.updater.liquibase.lock
Methods in org.keycloak.connections.jpa.updater.liquibase.lock with parameters of type KeycloakSession Modifier and Type Method Description LiquibaseDBLockProvider
LiquibaseDBLockProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.connections.jpa.updater.liquibase.lock with parameters of type KeycloakSession Constructor Description LiquibaseDBLockProvider(LiquibaseDBLockProviderFactory factory, KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.connections.jpa.util
Methods in org.keycloak.connections.jpa.util with parameters of type KeycloakSession Modifier and Type Method Description static javax.persistence.EntityManagerFactory
JpaUtils. createEntityManagerFactory(KeycloakSession session, String unitName, Map<String,Object> properties, boolean jta)
static List<Class<?>>
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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
OTPCredentialProvider. session
protected KeycloakSession
PasswordCredentialProvider. session
Methods in org.keycloak.credential that return KeycloakSession Modifier and Type Method Description protected KeycloakSession
WebAuthnCredentialProvider. getKeycloakSession()
Methods in org.keycloak.credential with parameters of type KeycloakSession Modifier and Type Method Description CredentialValidationOutput
UserCredentialStoreManager. authenticate(KeycloakSession session, RealmModel realm, CredentialInput input)
Deprecated.CredentialTypeMetadata
CredentialTypeMetadata.CredentialTypeMetadataBuilder. build(KeycloakSession session)
This will validate metadata and return themCredentialTypeMetadataContext
CredentialTypeMetadataContext.CredentialTypeMetadataContextBuilder. build(KeycloakSession session)
OTPCredentialProvider
OTPCredentialProviderFactory. create(KeycloakSession session)
PasswordCredentialProvider
PasswordCredentialProviderFactory. create(KeycloakSession session)
RecoveryAuthnCodesCredentialProvider
RecoveryAuthnCodesCredentialProviderFactory. create(KeycloakSession session)
CredentialProvider
WebAuthnCredentialProviderFactory. create(KeycloakSession session)
CredentialProvider
WebAuthnPasswordlessCredentialProviderFactory. create(KeycloakSession session)
static <T> Stream<T>
UserCredentialStoreManager. getCredentialProviders(KeycloakSession session, Class<T> type)
Deprecated.default T
CredentialProvider. getDefaultCredential(KeycloakSession session, RealmModel realm, UserModel user)
Constructors in org.keycloak.credential with parameters of type KeycloakSession Constructor Description LegacyUserCredentialManager(KeycloakSession session, RealmModel realm, UserModel user)
OTPCredentialProvider(KeycloakSession session)
PasswordCredentialProvider(KeycloakSession session)
RecoveryAuthnCodesCredentialProvider(KeycloakSession session)
UserCredentialStoreManager(KeycloakSession session)
Deprecated.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 KeycloakSession Modifier and Type Method Description PasswordHashProvider
Pbkdf2PasswordHashProviderFactory. create(KeycloakSession session)
PasswordHashProvider
Pbkdf2Sha256PasswordHashProviderFactory. create(KeycloakSession session)
PasswordHashProvider
Pbkdf2Sha512PasswordHashProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.crypto
Methods in org.keycloak.crypto with parameters of type KeycloakSession Modifier and Type Method Description ContentEncryptionProvider
Aes128CbcHmacSha256ContentEncryptionProviderFactory. create(KeycloakSession session)
ContentEncryptionProvider
Aes128GcmContentEncryptionProviderFactory. create(KeycloakSession session)
ContentEncryptionProvider
Aes192CbcHmacSha384ContentEncryptionProviderFactory. create(KeycloakSession session)
ContentEncryptionProvider
Aes192GcmContentEncryptionProviderFactory. create(KeycloakSession session)
ContentEncryptionProvider
Aes256CbcHmacSha512ContentEncryptionProviderFactory. create(KeycloakSession session)
ContentEncryptionProvider
Aes256GcmContentEncryptionProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
ES256ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
ES256SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
ES384ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
ES384SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
ES512ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
ES512SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
HS256ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
HS256SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
HS384ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
HS384SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
HS512ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
HS512SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
PS256ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
PS256SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
PS384ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
PS384SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
PS512ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
PS512SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
RS256ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
RS256SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
RS384ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
RS384SignatureProviderFactory. create(KeycloakSession session)
ClientSignatureVerifierProvider
RS512ClientSignatureVerifierProviderFactory. create(KeycloakSession session)
SignatureProvider
RS512SignatureProviderFactory. create(KeycloakSession session)
CekManagementProvider
RsaesOaep256CekManagementProviderFactory. create(KeycloakSession session)
CekManagementProvider
RsaesOaepCekManagementProviderFactory. create(KeycloakSession session)
CekManagementProvider
RsaesPkcs1CekManagementProviderFactory. create(KeycloakSession session)
HashProvider
SHA256HashProviderFactory. create(KeycloakSession session)
HashProvider
SHA384HashProviderFactory. create(KeycloakSession session)
HashProvider
SHA512HashProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.device
Methods in org.keycloak.device with parameters of type KeycloakSession Modifier and Type Method Description static 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.DeviceRepresentationProvider
DeviceRepresentationProviderFactoryImpl. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.email
Methods in org.keycloak.email with parameters of type KeycloakSession Modifier and Type Method Description EmailSenderProvider
DefaultEmailSenderProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.email with parameters of type KeycloakSession Constructor Description DefaultEmailSenderProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.email.freemarker
Fields in org.keycloak.email.freemarker declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
FreeMarkerEmailTemplateProvider. session
Methods in org.keycloak.email.freemarker with parameters of type KeycloakSession Modifier and Type Method Description EmailTemplateProvider
FreeMarkerEmailTemplateProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.email.freemarker with parameters of type KeycloakSession Constructor Description FreeMarkerEmailTemplateProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.encoding
Methods in org.keycloak.encoding with parameters of type KeycloakSession Modifier and Type Method Description ResourceEncodingProvider
GzipResourceEncodingProviderFactory. create(KeycloakSession session)
static ResourceEncodingProvider
ResourceEncodingHelper. getResourceEncodingProvider(KeycloakSession session, String contentType)
Constructors in org.keycloak.encoding with parameters of type KeycloakSession Constructor Description GzipResourceEncodingProvider(KeycloakSession session, File cacheDir)
-
Uses of KeycloakSession in org.keycloak.events
Constructors in org.keycloak.events with parameters of type KeycloakSession Constructor Description EventBuilder(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 KeycloakSession Modifier and Type Method Description EventListenerProvider
EmailEventListenerProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.events.email with parameters of type KeycloakSession Constructor Description EmailEventListenerProvider(KeycloakSession session, Set<EventType> includedEvents)
-
Uses of KeycloakSession in org.keycloak.events.jpa
Methods in org.keycloak.events.jpa with parameters of type KeycloakSession Modifier and Type Method Description EventStoreProvider
JpaEventStoreProviderFactory. create(KeycloakSession session)
void
JpaEventStoreProviderFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.events.jpa with parameters of type KeycloakSession Constructor Description JpaEventStoreProvider(KeycloakSession session, javax.persistence.EntityManager em, int maxDetailLength, int maxFieldLength)
-
Uses of KeycloakSession in org.keycloak.events.log
Methods in org.keycloak.events.log with parameters of type KeycloakSession Modifier and Type Method Description EventListenerProvider
JBossLoggingEventListenerProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.events.log with parameters of type KeycloakSession Constructor Description JBossLoggingEventListenerProvider(KeycloakSession session, org.jboss.logging.Logger logger, org.jboss.logging.Logger.Level successLevel, org.jboss.logging.Logger.Level errorLevel)
-
Uses of KeycloakSession in org.keycloak.executors
Methods in org.keycloak.executors with parameters of type KeycloakSession Modifier and Type Method Description ExecutorsProvider
DefaultExecutorsProviderFactory. 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 KeycloakSession Modifier and Type Method Description ClientDescriptionConverter
KeycloakClientDescriptionConverter. create(KeycloakSession session)
Constructors in org.keycloak.exportimport with parameters of type KeycloakSession Constructor Description ExportImportManager(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.exportimport.dir
Methods in org.keycloak.exportimport.dir with parameters of type KeycloakSession Modifier and Type Method Description ExportProvider
DirExportProviderFactory. create(KeycloakSession session)
ImportProvider
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 KeycloakSession Modifier and Type Method Description ExportProvider
SingleFileExportProviderFactory. create(KeycloakSession session)
ImportProvider
SingleFileImportProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.exportimport.util
Methods in org.keycloak.exportimport.util with parameters of type KeycloakSession Modifier and Type Method Description static 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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
KerberosFederationProvider. session
Methods in org.keycloak.federation.kerberos with parameters of type KeycloakSession Modifier and Type Method Description KerberosFederationProvider
KerberosFederationProviderFactory. 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 KeycloakSession Constructor Description KerberosFederationProvider(KeycloakSession session, UserStorageProviderModel model, KerberosFederationProviderFactory factory)
-
Uses of KeycloakSession in org.keycloak.federation.sssd
Fields in org.keycloak.federation.sssd declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
SSSDFederationProvider. session
Methods in org.keycloak.federation.sssd with parameters of type KeycloakSession Modifier and Type Method Description SSSDFederationProvider
SSSDFederationProviderFactory. create(KeycloakSession session, ComponentModel model)
Constructors in org.keycloak.federation.sssd with parameters of type KeycloakSession Constructor Description SSSDFederationProvider(KeycloakSession session, UserStorageProviderModel model, SSSDFederationProviderFactory sssdFederationProviderFactory)
-
Uses of KeycloakSession in org.keycloak.forms.account.freemarker
Fields in org.keycloak.forms.account.freemarker declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
FreeMarkerAccountProvider. session
Methods in org.keycloak.forms.account.freemarker with parameters of type KeycloakSession Modifier and Type Method Description AccountProvider
FreeMarkerAccountProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.forms.account.freemarker with parameters of type KeycloakSession Constructor Description FreeMarkerAccountProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.forms.account.freemarker.model
Constructors in org.keycloak.forms.account.freemarker.model with parameters of type KeycloakSession Constructor Description AccountFederatedIdentityBean(KeycloakSession session, RealmModel realm, UserModel user, URI baseUri, String stateChecker)
ApplicationEntry(KeycloakSession session, List<RoleModel> realmRolesAvailable, MultivaluedHashMap<String,ApplicationsBean.ClientRoleEntry> resourceRolesAvailable, ClientModel client, List<String> clientScopesGranted, List<String> additionalGrants)
ApplicationsBean(KeycloakSession session, RealmModel realm, UserModel user)
AuthorizationBean(KeycloakSession session, RealmModel realm, UserModel user, javax.ws.rs.core.UriInfo uriInfo)
TotpBean(KeycloakSession session, RealmModel realm, UserModel user, javax.ws.rs.core.UriBuilder uriBuilder)
-
Uses of KeycloakSession in org.keycloak.forms.login.freemarker
Fields in org.keycloak.forms.login.freemarker declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
FreeMarkerLoginFormsProvider. session
Methods in org.keycloak.forms.login.freemarker with parameters of type KeycloakSession Modifier and Type Method Description LoginFormsProvider
FreeMarkerLoginFormsProviderFactory. create(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)
Constructors in org.keycloak.forms.login.freemarker with parameters of type KeycloakSession Constructor Description AuthenticatorConfiguredMethod(RealmModel realm, UserModel user, KeycloakSession session)
FreeMarkerLoginFormsProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.forms.login.freemarker.model
Methods in org.keycloak.forms.login.freemarker.model with parameters of type KeycloakSession Modifier and Type Method Description protected void
AbstractUserProfileBean. init(KeycloakSession session, boolean writeableOnly)
Subclass have to call this method at the end of constructor to init user profile data. -
Uses of KeycloakSession in org.keycloak.headers
Methods in org.keycloak.headers with parameters of type KeycloakSession Modifier and Type Method Description SecurityHeadersProvider
DefaultSecurityHeadersProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.headers with parameters of type KeycloakSession Constructor Description DefaultSecurityHeadersProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.jose.jws
Constructors in org.keycloak.jose.jws with parameters of type KeycloakSession Constructor Description DefaultTokenManager(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.keys
Methods in org.keycloak.keys with parameters of type KeycloakSession Modifier and Type Method Description GeneratedAesKeyProvider
GeneratedAesKeyProviderFactory. create(KeycloakSession session, ComponentModel model)
KeyProvider
GeneratedEcdsaKeyProviderFactory. create(KeycloakSession session, ComponentModel model)
GeneratedHmacKeyProvider
GeneratedHmacKeyProviderFactory. create(KeycloakSession session, ComponentModel model)
KeyProvider
GeneratedRsaEncKeyProviderFactory. create(KeycloakSession session, ComponentModel model)
KeyProvider
GeneratedRsaKeyProviderFactory. create(KeycloakSession session, ComponentModel model)
KeyProvider
ImportedRsaEncKeyProviderFactory. create(KeycloakSession session, ComponentModel model)
KeyProvider
ImportedRsaKeyProviderFactory. create(KeycloakSession session, ComponentModel model)
KeyProvider
JavaKeystoreKeyProviderFactory. create(KeycloakSession session, ComponentModel model)
T
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 Constructor Description DefaultKeyManager(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.keys.infinispan
Methods in org.keycloak.keys.infinispan with parameters of type KeycloakSession Modifier and Type Method Description CachePublicKeyProvider
InfinispanCachePublicKeyProviderFactory. create(KeycloakSession session)
PublicKeyStorageProvider
InfinispanPublicKeyStorageProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.keys.infinispan with parameters of type KeycloakSession Constructor Description InfinispanCachePublicKeyProvider(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 KeycloakSession Modifier and Type Method Description static 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 KeycloakSession Constructor Description ClientPublicKeyLoader(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 KeycloakSession Modifier and Type Method Description LocaleSelectorProvider
DefaultLocaleSelectorProviderFactory. create(KeycloakSession session)
LocaleUpdaterProvider
DefaultLocaleUpdaterProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.locale with parameters of type KeycloakSession Constructor Description DefaultLocaleSelectorProvider(KeycloakSession session)
DefaultLocaleUpdaterProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.migration
Methods in org.keycloak.migration with parameters of type KeycloakSession Modifier and Type Method Description static 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 KeycloakSession Modifier and Type Method Description void
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
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
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 KeycloakSession Modifier and Type Method Description KeycloakSession
KeycloakSessionFactory. create()
KeycloakSession
ClientModel.ClientIdChangeEvent. getKeycloakSession()
KeycloakSession
ClientModel.ClientRemovedEvent. getKeycloakSession()
KeycloakSession
ClientModel.ClientUpdatedEvent. getKeycloakSession()
KeycloakSession
ClientScopeModel.ClientScopeRemovedEvent. getKeycloakSession()
KeycloakSession
GroupModel.GroupPathChangeEvent. getKeycloakSession()
KeycloakSession
GroupModel.GroupRemovedEvent. getKeycloakSession()
KeycloakSession
RealmModel.IdentityProviderRemovedEvent. getKeycloakSession()
KeycloakSession
RealmModel.IdentityProviderUpdatedEvent. getKeycloakSession()
KeycloakSession
RealmModel.RealmCreationEvent. getKeycloakSession()
KeycloakSession
RealmModel.RealmPostCreateEvent. getKeycloakSession()
KeycloakSession
RealmModel.RealmRemovedEvent. getKeycloakSession()
KeycloakSession
RoleContainerModel.RoleRemovedEvent. getKeycloakSession()
KeycloakSession
RoleModel.RoleNameChangeEvent. getKeycloakSession()
KeycloakSession
UserModel.UserRemovedEvent. getKeycloakSession()
KeycloakSession
UserSessionProvider. getKeycloakSession()
Returns currently used Keycloak session.Methods in org.keycloak.models with parameters of type KeycloakSession Modifier and Type Method Description CredentialValidationOutput
UserCredentialManager. authenticate(KeycloakSession session, RealmModel realm, CredentialInput input)
Deprecated.Given a CredentialInput, authenticate the user.PasswordPolicy
PasswordPolicy.Builder. build(KeycloakSession session)
OAuth2DeviceUserCodeProvider
DefaultOAuth2DeviceUserCodeProviderFactory. create(KeycloakSession session)
static PasswordPolicy
PasswordPolicy. parse(KeycloakSession session, String policyString)
void
KeycloakSessionTask. run(KeycloakSession session)
V
KeycloakSessionTaskWithResult. run(KeycloakSession session)
Computes a result.static void
ImpersonationConstants. setupImpersonationService(KeycloakSession session, RealmModel realm)
Constructors in org.keycloak.models with parameters of type KeycloakSession Constructor Description KeycloakUriInfo(KeycloakSession session, UrlType type, javax.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 Modifier and Type Method Description KeycloakSession
CachedRealmModel.RealmCachedEvent. getKeycloakSession()
-
Uses of KeycloakSession in org.keycloak.models.cache.infinispan
Fields in org.keycloak.models.cache.infinispan declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
GroupAdapter. keycloakSession
protected 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 KeycloakSession Modifier and Type Method Description CacheRealmProvider
InfinispanCacheRealmProviderFactory. create(KeycloakSession session)
UserCache
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)
Constructors in org.keycloak.models.cache.infinispan with parameters of type KeycloakSession Constructor Description GroupAdapter(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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
StoreFactoryCacheSession. session
Methods in org.keycloak.models.cache.infinispan.authorization with parameters of type KeycloakSession Modifier and Type Method Description CachedStoreFactoryProvider
InfinispanCacheStoreFactoryProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.models.cache.infinispan.authorization with parameters of type KeycloakSession Constructor Description StoreFactoryCacheSession(StoreFactoryCacheManager cache, KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.models.dblock
Methods in org.keycloak.models.dblock with parameters of type KeycloakSession Modifier and Type Method Description GlobalLockProvider
DBLockGlobalLockProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.models.dblock with parameters of type KeycloakSession Constructor Description DBLockGlobalLockProvider(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 Constructor Description WithId(KeycloakSession session, RealmModel realm, String id)
-
Uses of KeycloakSession in org.keycloak.models.jpa
Fields in org.keycloak.models.jpa declared as KeycloakSession Modifier and Type Field Description protected 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 KeycloakSession Modifier and Type Method Description ClientProvider
JpaClientProviderFactory. create(KeycloakSession session)
ClientScopeProvider
JpaClientScopeProviderFactory. create(KeycloakSession session)
DeploymentStateProvider
JpaDeploymentStateProviderFactory. create(KeycloakSession session)
GroupProvider
JpaGroupProviderFactory. create(KeycloakSession session)
JpaRealmProvider
JpaRealmProviderFactory. create(KeycloakSession session)
RoleProvider
JpaRoleProviderFactory. create(KeycloakSession session)
UserCredentialStore
JpaUserCredentialStoreFactory. create(KeycloakSession session)
UserProvider
JpaUserProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.models.jpa with parameters of type KeycloakSession Constructor Description ClientAdapter(RealmModel realm, javax.persistence.EntityManager em, KeycloakSession session, ClientEntity entity)
ClientScopeAdapter(RealmModel realm, javax.persistence.EntityManager em, KeycloakSession session, ClientScopeEntity entity)
JpaRealmProvider(KeycloakSession session, javax.persistence.EntityManager em, Set<String> clientSearchableAttributes, Set<String> groupSearchableAttributes)
JpaUserCredentialStore(KeycloakSession session, javax.persistence.EntityManager em)
JpaUserProvider(KeycloakSession session, javax.persistence.EntityManager em)
RealmAdapter(KeycloakSession session, javax.persistence.EntityManager em, RealmEntity realm)
RoleAdapter(KeycloakSession session, RealmModel realm, javax.persistence.EntityManager em, RoleEntity role)
UserAdapter(KeycloakSession session, RealmModel realm, javax.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 KeycloakSession Modifier and Type Method Description UserSessionPersisterProvider
JpaUserSessionPersisterProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.models.jpa.session with parameters of type KeycloakSession Constructor Description JpaUserSessionPersisterProvider(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.locking
Methods in org.keycloak.models.locking with parameters of type KeycloakSession Modifier and Type Method Description GlobalLockProvider
NoneGlobalLockProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.models.map.authorization
Methods in org.keycloak.models.map.authorization with parameters of type KeycloakSession Modifier and Type Method Description StoreFactory
MapAuthorizationStoreFactory. create(KeycloakSession session)
void
MapAuthorizationStoreFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
-
Uses of KeycloakSession in org.keycloak.models.map.authSession
Fields in org.keycloak.models.map.authSession declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractRootAuthenticationSessionModel. session
Methods in org.keycloak.models.map.authSession with parameters of type KeycloakSession Modifier and Type Method Description MapRootAuthenticationSessionProvider
MapRootAuthenticationSessionProviderFactory. createNew(KeycloakSession session)
Constructors in org.keycloak.models.map.authSession with parameters of type KeycloakSession Constructor Description AbstractRootAuthenticationSessionModel(KeycloakSession session, RealmModel realm, E entity)
MapAuthenticationSessionAdapter(KeycloakSession session, MapRootAuthenticationSessionAdapter parent, String tabId, MapAuthenticationSessionEntity entity)
MapRootAuthenticationSessionAdapter(KeycloakSession session, RealmModel realm, MapRootAuthenticationSessionEntity entity, int authSessionsLimit)
MapRootAuthenticationSessionProvider(KeycloakSession session, MapStorage<MapRootAuthenticationSessionEntity,RootAuthenticationSessionModel> sessionStore, int authSessionsLimit)
-
Uses of KeycloakSession in org.keycloak.models.map.client
Fields in org.keycloak.models.map.client declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractClientModel. session
Methods in org.keycloak.models.map.client with parameters of type KeycloakSession Modifier and Type Method Description MapClientProvider
MapClientProviderFactory. createNew(KeycloakSession session)
void
MapClientProviderFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.models.map.client with parameters of type KeycloakSession Constructor Description AbstractClientModel(KeycloakSession session, RealmModel realm, E entity)
MapClientAdapter(KeycloakSession session, RealmModel realm, MapClientEntity entity)
MapClientProvider(KeycloakSession session, MapStorage<MapClientEntity,ClientModel> clientStore, ConcurrentMap<String,ConcurrentMap<String,Long>> clientRegisteredNodesStore)
-
Uses of KeycloakSession in org.keycloak.models.map.clientscope
Fields in org.keycloak.models.map.clientscope declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractClientScopeModel. session
Methods in org.keycloak.models.map.clientscope with parameters of type KeycloakSession Modifier and Type Method Description MapClientScopeProvider
MapClientScopeProviderFactory. createNew(KeycloakSession session)
void
MapClientScopeProviderFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.models.map.clientscope with parameters of type KeycloakSession Constructor Description AbstractClientScopeModel(KeycloakSession session, RealmModel realm, E entity)
MapClientScopeAdapter(KeycloakSession session, RealmModel realm, MapClientScopeEntity entity)
MapClientScopeProvider(KeycloakSession session, MapStorage<MapClientScopeEntity,ClientScopeModel> clientScopeStore)
-
Uses of KeycloakSession in org.keycloak.models.map.common
Methods in org.keycloak.models.map.common with parameters of type KeycloakSession Modifier and Type Method Description T
AbstractMapProviderFactory. create(KeycloakSession session)
Returns instance of a provider.static <V extends AbstractEntity & UpdatableEntity,M,T extends MapStorage<V,M>>
TSessionAttributesUtils. createMapStorageIfAbsent(KeycloakSession session, Class<? extends MapStorageProvider> providerType, Class<M> modelType, int factoryId, Supplier<T> createNew)
Used for creating a store instance only once within one KeycloakSession.abstract T
AbstractMapProviderFactory. createNew(KeycloakSession session)
Creates new instance of a provider.static <T extends Provider>
TSessionAttributesUtils. createProviderIfAbsent(KeycloakSession session, int factoryIdentifier, Class<T> providerClass, Function<KeycloakSession,T> createNew)
Used for creating a provider instance only once within one KeycloakSession.MapStorage<V,M>
AbstractMapProviderFactory. getMapStorage(KeycloakSession session)
static ProviderFactory<MapStorageProvider>
AbstractMapProviderFactory. getProviderFactoryOrComponentFactory(KeycloakSession session, Config.Scope storageConfigScope)
Method parameters in org.keycloak.models.map.common with type arguments of type KeycloakSession Modifier and Type Method Description static <T extends Provider>
TSessionAttributesUtils. createProviderIfAbsent(KeycloakSession session, int factoryIdentifier, Class<T> providerClass, Function<KeycloakSession,T> createNew)
Used for creating a provider instance only once within one KeycloakSession. -
Uses of KeycloakSession in org.keycloak.models.map.credential
Constructors in org.keycloak.models.map.credential with parameters of type KeycloakSession Constructor Description MapUserCredentialManager(KeycloakSession session, RealmModel realm, UserModel user, MapUserEntity entity)
-
Uses of KeycloakSession in org.keycloak.models.map.datastore
Classes in org.keycloak.models.map.datastore that implement KeycloakSession Modifier and Type Class Description class
ImportKeycloakSession
This implementation ofKeycloakSession
wraps an existing session and directs all calls to the datastore provider to a separateKeycloakSessionFactory
.Methods in org.keycloak.models.map.datastore that return KeycloakSession Modifier and Type Method Description KeycloakSession
ImportSessionFactoryWrapper. create()
Methods in org.keycloak.models.map.datastore with parameters of type KeycloakSession Modifier and Type Method Description DatastoreProvider
MapDatastoreProviderFactory. create(KeycloakSession session)
static void
MapExportImportManager. importRealmAuthorizationSettings(RealmRepresentation rep, RealmModel newRealm, KeycloakSession session)
void
ImportSessionFactoryWrapper. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.models.map.datastore with parameters of type KeycloakSession Constructor Description ImportKeycloakSession(ImportSessionFactoryWrapper factory, KeycloakSession session)
MapDatastoreProvider(KeycloakSession session)
MapExportImportManager(KeycloakSession session)
MapExportImportManager(KeycloakSession session, boolean useNewImportMethod)
-
Uses of KeycloakSession in org.keycloak.models.map.deploymentState
Methods in org.keycloak.models.map.deploymentState with parameters of type KeycloakSession Modifier and Type Method Description DeploymentStateProvider
MapDeploymentStateProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.models.map.events
Methods in org.keycloak.models.map.events with parameters of type KeycloakSession Modifier and Type Method Description EventStoreProvider
MapEventStoreProviderFactory. create(KeycloakSession session)
void
MapEventStoreProviderFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.models.map.events with parameters of type KeycloakSession Constructor Description MapEventStoreProvider(KeycloakSession session, MapStorage<MapAuthEventEntity,Event> loginEventsStore, MapStorage<MapAdminEventEntity,AdminEvent> adminEventsStore)
-
Uses of KeycloakSession in org.keycloak.models.map.group
Fields in org.keycloak.models.map.group declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractGroupModel. session
Methods in org.keycloak.models.map.group with parameters of type KeycloakSession Modifier and Type Method Description MapGroupProvider
MapGroupProviderFactory. createNew(KeycloakSession session)
void
MapGroupProviderFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.models.map.group with parameters of type KeycloakSession Constructor Description AbstractGroupModel(KeycloakSession session, RealmModel realm, E entity)
MapGroupAdapter(KeycloakSession session, RealmModel realm, MapGroupEntity entity)
MapGroupProvider(KeycloakSession session, MapStorage<MapGroupEntity,GroupModel> groupStore)
-
Uses of KeycloakSession in org.keycloak.models.map.keys
Methods in org.keycloak.models.map.keys with parameters of type KeycloakSession Modifier and Type Method Description MapPublicKeyStorageProvider
MapPublicKeyStorageProviderFactory. createNew(KeycloakSession session)
Constructors in org.keycloak.models.map.keys with parameters of type KeycloakSession Constructor Description MapPublicKeyStorageProvider(KeycloakSession session, Map<String,FutureTask<PublicKeysWrapper>> tasksInProgress)
-
Uses of KeycloakSession in org.keycloak.models.map.lock
Methods in org.keycloak.models.map.lock with parameters of type KeycloakSession Modifier and Type Method Description MapGlobalLockProvider
MapGlobalLockProviderFactory. createNew(KeycloakSession session)
Constructors in org.keycloak.models.map.lock with parameters of type KeycloakSession Constructor Description MapGlobalLockProvider(KeycloakSession session, long defaultTimeoutMilliseconds, Supplier<MapStorage<MapLockEntity,MapLockEntity>> lockStoreSupplier)
-
Uses of KeycloakSession in org.keycloak.models.map.loginFailure
Fields in org.keycloak.models.map.loginFailure declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractUserLoginFailureModel. session
Methods in org.keycloak.models.map.loginFailure with parameters of type KeycloakSession Modifier and Type Method Description MapUserLoginFailureProvider
MapUserLoginFailureProviderFactory. createNew(KeycloakSession session)
void
MapUserLoginFailureProviderFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.models.map.loginFailure with parameters of type KeycloakSession Constructor Description AbstractUserLoginFailureModel(KeycloakSession session, RealmModel realm, E entity)
MapUserLoginFailureAdapter(KeycloakSession session, RealmModel realm, MapUserLoginFailureEntity entity)
MapUserLoginFailureProvider(KeycloakSession session, MapStorage<MapUserLoginFailureEntity,UserLoginFailureModel> userLoginFailureStore)
-
Uses of KeycloakSession in org.keycloak.models.map.realm
Fields in org.keycloak.models.map.realm declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractRealmModel. session
Methods in org.keycloak.models.map.realm with parameters of type KeycloakSession Modifier and Type Method Description MapRealmProvider
MapRealmProviderFactory. createNew(KeycloakSession session)
void
MapRealmProviderFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.models.map.realm with parameters of type KeycloakSession Constructor Description AbstractRealmModel(KeycloakSession session, E entity)
MapRealmAdapter(KeycloakSession session, MapRealmEntity entity)
MapRealmProvider(KeycloakSession session, MapStorage<MapRealmEntity,RealmModel> realmStore)
-
Uses of KeycloakSession in org.keycloak.models.map.role
Fields in org.keycloak.models.map.role declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractRoleModel. session
Methods in org.keycloak.models.map.role with parameters of type KeycloakSession Modifier and Type Method Description MapRoleProvider
MapRoleProviderFactory. createNew(KeycloakSession session)
void
MapRoleProviderFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.models.map.role with parameters of type KeycloakSession Constructor Description AbstractRoleModel(KeycloakSession session, RealmModel realm, E entity)
MapRoleAdapter(KeycloakSession session, RealmModel realm, MapRoleEntity entity)
MapRoleProvider(KeycloakSession session, MapStorage<MapRoleEntity,RoleModel> roleStore)
-
Uses of KeycloakSession in org.keycloak.models.map.singleUseObject
Fields in org.keycloak.models.map.singleUseObject declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractSingleUseObjectModel. session
Methods in org.keycloak.models.map.singleUseObject with parameters of type KeycloakSession Modifier and Type Method Description MapSingleUseObjectProvider
MapSingleUseObjectProviderFactory. createNew(KeycloakSession session)
Constructors in org.keycloak.models.map.singleUseObject with parameters of type KeycloakSession Constructor Description AbstractSingleUseObjectModel(KeycloakSession session, E entity)
MapSingleUseObjectAdapter(KeycloakSession session, MapSingleUseObjectEntity entity)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.chm
Methods in org.keycloak.models.map.storage.chm with parameters of type KeycloakSession Modifier and Type Method Description MapStorageProvider
ConcurrentHashMapStorageProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.models.map.storage.chm with parameters of type KeycloakSession Constructor Description ConcurrentHashMapStorageProvider(KeycloakSession session, ConcurrentHashMapStorageProviderFactory factory, int factoryId)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.file
Methods in org.keycloak.models.map.storage.file with parameters of type KeycloakSession Modifier and Type Method Description MapStorageProvider
FileMapStorageProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.models.map.storage.file with parameters of type KeycloakSession Constructor Description FileMapStorageProvider(KeycloakSession session, FileMapStorageProviderFactory factory, int factoryId)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.hotRod
Methods in org.keycloak.models.map.storage.hotRod with parameters of type KeycloakSession Modifier and Type Method Description MapStorageProvider
HotRodMapStorageProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.models.map.storage.hotRod with parameters of type KeycloakSession Constructor Description HotRodCrudOperations(KeycloakSession session, org.infinispan.client.hotrod.RemoteCache<K,E> remoteCache, StringKeyConverter<K> keyConverter, HotRodEntityDescriptor<E,V> storedEntityDescriptor, DeepCloner cloner, Long lockTimeout)
HotRodMapStorageProvider(KeycloakSession session, HotRodMapStorageProviderFactory factory, boolean jtaEnabled, long lockTimeout)
SingleUseObjectHotRodCrudOperations(KeycloakSession session, org.infinispan.client.hotrod.RemoteCache<String,HotRodSingleUseObjectEntity> remoteCache, StringKeyConverter<String> keyConverter, HotRodEntityDescriptor<HotRodSingleUseObjectEntity,HotRodSingleUseObjectEntityDelegate> storedEntityDescriptor, DeepCloner cloner, Long lockTimeout)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.hotRod.connections
Methods in org.keycloak.models.map.storage.hotRod.connections with parameters of type KeycloakSession Modifier and Type Method Description HotRodConnectionProvider
DefaultHotRodConnectionProviderFactory. create(KeycloakSession session)
void
DefaultHotRodConnectionProviderFactory. lazyInit(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.hotRod.locking
Methods in org.keycloak.models.map.storage.hotRod.locking with parameters of type KeycloakSession Modifier and Type Method Description GlobalLockProvider
HotRodGlobalLockProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.models.map.storage.hotRod.locking with parameters of type KeycloakSession Constructor Description HotRodGlobalLockProvider(KeycloakSession session, org.infinispan.client.hotrod.RemoteCache<String,String> locksCache, long defaultTimeoutMilliseconds)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.hotRod.transaction
Constructors in org.keycloak.models.map.storage.hotRod.transaction with parameters of type KeycloakSession Constructor Description HotRodTransactionManagerLookup(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa
Methods in org.keycloak.models.map.storage.jpa with parameters of type KeycloakSession Modifier and Type Method Description MapStorageProvider
JpaMapStorageProviderFactory. create(KeycloakSession session)
static javax.persistence.EntityManager
PersistenceExceptionConverter. create(KeycloakSession session, javax.persistence.EntityManager em)
MapStorage
JpaMapStorageProviderFactory. createMapStorage(KeycloakSession session, Class<?> modelType, javax.persistence.EntityManager em)
void
JpaMapStorageProviderFactory. validateAndUpdateSchema(KeycloakSession session, Class<?> modelType)
Constructors in org.keycloak.models.map.storage.jpa with parameters of type KeycloakSession Constructor Description JpaMapStorage(KeycloakSession session, Class<RE> entityType, Class<M> modelType, javax.persistence.EntityManager em)
JpaMapStorageProvider(JpaMapStorageProviderFactory factory, KeycloakSession session, javax.persistence.EntityManager em, boolean jtaEnabled, int factoryId)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.authorization.permission
Constructors in org.keycloak.models.map.storage.jpa.authorization.permission with parameters of type KeycloakSession Constructor Description JpaPermissionMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.authorization.policy
Constructors in org.keycloak.models.map.storage.jpa.authorization.policy with parameters of type KeycloakSession Constructor Description JpaPolicyMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.authorization.resource
Constructors in org.keycloak.models.map.storage.jpa.authorization.resource with parameters of type KeycloakSession Constructor Description JpaResourceMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.authorization.resourceServer
Constructors in org.keycloak.models.map.storage.jpa.authorization.resourceServer with parameters of type KeycloakSession Constructor Description JpaResourceServerMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.authorization.scope
Constructors in org.keycloak.models.map.storage.jpa.authorization.scope with parameters of type KeycloakSession Constructor Description JpaScopeMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.authSession
Constructors in org.keycloak.models.map.storage.jpa.authSession with parameters of type KeycloakSession Constructor Description JpaRootAuthenticationSessionMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.client
Constructors in org.keycloak.models.map.storage.jpa.client with parameters of type KeycloakSession Constructor Description JpaClientMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.clientScope
Constructors in org.keycloak.models.map.storage.jpa.clientScope with parameters of type KeycloakSession Constructor Description JpaClientScopeMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.event.admin
Constructors in org.keycloak.models.map.storage.jpa.event.admin with parameters of type KeycloakSession Constructor Description JpaAdminEventMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.event.auth
Constructors in org.keycloak.models.map.storage.jpa.event.auth with parameters of type KeycloakSession Constructor Description JpaAuthEventMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.group
Constructors in org.keycloak.models.map.storage.jpa.group with parameters of type KeycloakSession Constructor Description JpaGroupMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.liquibase.connection
Methods in org.keycloak.models.map.storage.jpa.liquibase.connection with parameters of type KeycloakSession Modifier and Type Method Description MapLiquibaseConnectionProvider
DefaultLiquibaseConnectionProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.models.map.storage.jpa.liquibase.connection with parameters of type KeycloakSession Constructor Description DefaultLiquibaseConnectionProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.liquibase.updater
Methods in org.keycloak.models.map.storage.jpa.liquibase.updater with parameters of type KeycloakSession Modifier and Type Method Description MapJpaUpdaterProvider
MapJpaLiquibaseUpdaterProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.models.map.storage.jpa.liquibase.updater with parameters of type KeycloakSession Constructor Description MapJpaLiquibaseUpdaterProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.lock
Constructors in org.keycloak.models.map.storage.jpa.lock with parameters of type KeycloakSession Constructor Description JpaLockMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.loginFailure
Constructors in org.keycloak.models.map.storage.jpa.loginFailure with parameters of type KeycloakSession Constructor Description JpaUserLoginFailureMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.realm
Constructors in org.keycloak.models.map.storage.jpa.realm with parameters of type KeycloakSession Constructor Description JpaRealmMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.role
Constructors in org.keycloak.models.map.storage.jpa.role with parameters of type KeycloakSession Constructor Description JpaRoleMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.singleUseObject
Constructors in org.keycloak.models.map.storage.jpa.singleUseObject with parameters of type KeycloakSession Constructor Description JpaSingleUseObjectMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.user
Constructors in org.keycloak.models.map.storage.jpa.user with parameters of type KeycloakSession Constructor Description JpaUserMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.jpa.userSession
Constructors in org.keycloak.models.map.storage.jpa.userSession with parameters of type KeycloakSession Constructor Description JpaUserSessionMapStorage(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.ldap
Methods in org.keycloak.models.map.storage.ldap with parameters of type KeycloakSession Modifier and Type Method Description MapStorageProvider
LdapMapStorageProviderFactory. create(KeycloakSession session)
<M,V extends AbstractEntity>
MapStorage<V,M>LdapMapStorageProviderFactory. createMapStorage(KeycloakSession session, Class<M> modelType)
Constructors in org.keycloak.models.map.storage.ldap with parameters of type KeycloakSession Constructor Description LdapMapStorageProvider(KeycloakSession session, LdapMapStorageProviderFactory factory, int factoryId)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.ldap.role
Constructors in org.keycloak.models.map.storage.ldap.role with parameters of type KeycloakSession Constructor Description LdapRoleMapStorage(KeycloakSession session, Config.Scope config)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.ldap.store
Methods in org.keycloak.models.map.storage.ldap.store with parameters of type KeycloakSession Modifier and Type Method Description static LdapMapContextManager
LdapMapContextManager. create(KeycloakSession session, LdapMapConfig connectionProperties)
Constructors in org.keycloak.models.map.storage.ldap.store with parameters of type KeycloakSession Constructor Description LdapMapContextManager(KeycloakSession session, LdapMapConfig connectionProperties)
LdapMapIdentityStore(KeycloakSession session, LdapMapConfig config)
LdapMapOperationManager(KeycloakSession session, LdapMapConfig config)
-
Uses of KeycloakSession in org.keycloak.models.map.storage.tree
Methods in org.keycloak.models.map.storage.tree with parameters of type KeycloakSession Modifier and Type Method Description <V extends AbstractEntity>
TreeStorageNodeInstance<V>TreeStorageNodePrescription. instantiate(KeycloakSession session)
Constructors in org.keycloak.models.map.storage.tree with parameters of type KeycloakSession Constructor Description TreeStorageNodeInstance(KeycloakSession session, TreeStorageNodeInstance<V> original)
TreeStorageNodeInstance(KeycloakSession session, TreeStorageNodePrescription prescription)
-
Uses of KeycloakSession in org.keycloak.models.map.user
Fields in org.keycloak.models.map.user declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractUserModel. session
Methods in org.keycloak.models.map.user with parameters of type KeycloakSession Modifier and Type Method Description MapUserProvider
MapUserProviderFactory. createNew(KeycloakSession session)
static <T> Stream<T>
MapUserProvider. getCredentialProviders(KeycloakSession session, Class<T> type)
void
MapUserProviderFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.models.map.user with parameters of type KeycloakSession Constructor Description AbstractUserModel(KeycloakSession session, RealmModel realm, E entity)
MapUserAdapter(KeycloakSession session, RealmModel realm, MapUserEntity entity)
MapUserProvider(KeycloakSession session, MapStorage<MapUserEntity,UserModel> store)
-
Uses of KeycloakSession in org.keycloak.models.map.userSession
Fields in org.keycloak.models.map.userSession declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractAuthenticatedClientSessionModel. session
protected KeycloakSession
AbstractUserSessionModel. session
Methods in org.keycloak.models.map.userSession that return KeycloakSession Modifier and Type Method Description KeycloakSession
MapUserSessionProvider. getKeycloakSession()
Methods in org.keycloak.models.map.userSession with parameters of type KeycloakSession Modifier and Type Method Description MapUserSessionProvider
MapUserSessionProviderFactory. createNew(KeycloakSession session)
void
MapUserSessionProviderFactory. invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)
Constructors in org.keycloak.models.map.userSession with parameters of type KeycloakSession Constructor Description AbstractAuthenticatedClientSessionModel(KeycloakSession session, RealmModel realm, UserSessionModel userSession, MapAuthenticatedClientSessionEntity entity)
AbstractUserSessionModel(KeycloakSession session, RealmModel realm, MapUserSessionEntity entity)
MapAuthenticatedClientSessionAdapter(KeycloakSession session, RealmModel realm, UserSessionModel userSession, MapAuthenticatedClientSessionEntity entity)
MapUserSessionAdapter(KeycloakSession session, RealmModel realm, MapUserSessionEntity entity)
MapUserSessionProvider(KeycloakSession session, MapStorage<MapUserSessionEntity,UserSessionModel> userSessionStore)
-
Uses of KeycloakSession in org.keycloak.models.session
Methods in org.keycloak.models.session with parameters of type KeycloakSession Modifier and Type Method Description UserSessionPersisterProvider
DisabledUserSessionPersisterProvider. create(KeycloakSession session)
Constructors in org.keycloak.models.session with parameters of type KeycloakSession Constructor Description PersistentAuthenticatedClientSessionAdapter(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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
InfinispanUserLoginFailureProvider. session
protected KeycloakSession
InfinispanUserSessionProvider. session
Methods in org.keycloak.models.sessions.infinispan that return KeycloakSession Modifier and Type Method Description KeycloakSession
InfinispanUserSessionProvider. getKeycloakSession()
Methods in org.keycloak.models.sessions.infinispan with parameters of type KeycloakSession Modifier and Type Method Description protected void
InfinispanUserLoginFailureProviderFactory. checkRemoteCaches(KeycloakSession session)
protected void
InfinispanUserSessionProviderFactory. checkRemoteCaches(KeycloakSession session)
AuthenticationSessionProvider
InfinispanAuthenticationSessionProviderFactory. create(KeycloakSession session)
InfinispanSingleUseObjectProvider
InfinispanSingleUseObjectProviderFactory. create(KeycloakSession session)
StickySessionEncoderProvider
InfinispanStickySessionEncoderProviderFactory. create(KeycloakSession session)
UserLoginFailureProvider
InfinispanUserLoginFailureProviderFactory. create(KeycloakSession session)
InfinispanUserSessionProvider
InfinispanUserSessionProviderFactory. create(KeycloakSession session)
protected void
InfinispanAuthenticationSessionProviderFactory. registerClusterListeners(KeycloakSession session)
protected void
InfinispanUserLoginFailureProviderFactory. registerClusterListeners(KeycloakSession session)
protected void
InfinispanUserSessionProviderFactory. registerClusterListeners(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.models.sessions.infinispan.changes
Constructors in org.keycloak.models.sessions.infinispan.changes with parameters of type KeycloakSession Constructor Description InfinispanChangelogBasedTransaction(KeycloakSession kcSession, org.infinispan.Cache<K,SessionEntityWrapper<V>> cache, RemoteCacheInvoker remoteCacheInvoker, BiFunction<RealmModel,V,Long> lifespanMsLoader, BiFunction<RealmModel,V,Long> 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 KeycloakSession Modifier and Type Method Description CrossDCLastSessionRefreshStore
CrossDCLastSessionRefreshStoreFactory. createAndInit(KeycloakSession kcSession, org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache, boolean offline)
CrossDCLastSessionRefreshStore
CrossDCLastSessionRefreshStoreFactory. createAndInit(KeycloakSession kcSession, org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache, long timerIntervalMs, int maxIntervalBetweenMessagesSeconds, int maxCount, boolean offline)
PersisterLastSessionRefreshStore
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)
SessionUpdateTask.CrossDCMessageStatus
CrossDCLastSessionRefreshChecker. shouldSaveClientSessionToRemoteCache(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<AuthenticatedClientSessionEntity> sessionWrapper, UserSessionModel userSession, boolean offline, int newTimestamp)
SessionUpdateTask.CrossDCMessageStatus
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 KeycloakSession Constructor Description CrossDCLastSessionRefreshListener(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 KeycloakSession Modifier and Type Method Description static 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 Constructor Description SessionEventsSenderTransaction(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.models.sessions.infinispan.initializer
Methods in org.keycloak.models.sessions.infinispan.initializer with parameters of type KeycloakSession Modifier and Type Method Description OfflinePersistentLoaderContext
OfflinePersistentUserSessionLoader. computeLoaderContext(KeycloakSession session)
LOADER_CONTEXT
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.OfflinePersistentWorkerResult
OfflinePersistentUserSessionLoader. loadSessions(KeycloakSession session, OfflinePersistentLoaderContext loaderContext, OfflinePersistentWorkerContext ctx)
WORKER_RESULT
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 KeycloakSession Constructor Description DBLockBasedCacheInitializer(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 KeycloakSession Modifier and Type Method Description RemoteCacheSessionsLoaderContext
RemoteCacheSessionsLoader. 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, BiFunction<RealmModel,V,Long> lifespanMsLoader, BiFunction<RealmModel,V,Long> 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, BiFunction<RealmModel,V,Long> lifespanMsLoader, BiFunction<RealmModel,V,Long> maxIdleTimeMsLoader)
void
RemoteCacheSessionsLoader. init(KeycloakSession session)
SessionLoader.WorkerResult
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 KeycloakSession Modifier and Type Method Description String
InfinispanKeyGenerator. generateKeyString(KeycloakSession session, org.infinispan.Cache<String,?> cache)
UUID
InfinispanKeyGenerator. generateKeyUUID(KeycloakSession session, org.infinispan.Cache<UUID,?> cache)
-
Uses of KeycloakSession in org.keycloak.models.utils
-
Uses of KeycloakSession in org.keycloak.partialimport
Methods in org.keycloak.partialimport with parameters of type KeycloakSession Modifier and Type Method Description abstract 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)
PartialImportResults
AbstractPartialImport. doImport(PartialImportRepresentation partialImportRep, RealmModel realm, KeycloakSession session)
PartialImportResults
PartialImport. doImport(PartialImportRepresentation rep, RealmModel realm, KeycloakSession session)
Create (or re-create) all the imported resources.PartialImportResults
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)
String
ClientsPartialImport. getModelId(RealmModel realm, KeycloakSession session, ClientRepresentation clientRep)
String
GroupsPartialImport. getModelId(RealmModel realm, KeycloakSession session, GroupRepresentation groupRep)
String
IdentityProviderMappersPartialImport. getModelId(RealmModel realm, KeycloakSession session, IdentityProviderMapperRepresentation idpMapperRep)
String
IdentityProvidersPartialImport. getModelId(RealmModel realm, KeycloakSession session, IdentityProviderRepresentation idpRep)
String
RealmRolesPartialImport. getModelId(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep)
String
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 KeycloakSession Constructor Description PartialImportManager(PartialImportRepresentation rep, KeycloakSession session, RealmModel realm)
-
Uses of KeycloakSession in org.keycloak.policy
Methods in org.keycloak.policy with parameters of type KeycloakSession Modifier and Type Method Description PasswordPolicyProvider
BlacklistPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyManagerProvider
DefaultPasswordPolicyManagerProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
DigitsPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
ForceExpiredPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
HashAlgorithmPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
HashIterationsPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
HistoryPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
LengthPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
LowerCasePasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
MaximumLengthPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
NotEmailPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
NotUsernamePasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
RecoveryCodesWarningThresholdPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
RegexPatternsPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
SpecialCharsPasswordPolicyProviderFactory. create(KeycloakSession session)
PasswordPolicyProvider
UpperCasePasswordPolicyProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.policy with parameters of type KeycloakSession Constructor Description DefaultPasswordPolicyManagerProvider(KeycloakSession session)
HistoryPasswordPolicyProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.protocol
Fields in org.keycloak.protocol declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AuthorizationEndpointBase. session
Methods in org.keycloak.protocol with parameters of type KeycloakSession Modifier and Type Method Description Object
LoginProtocolFactory. createProtocolEndpoint(KeycloakSession session, EventBuilder event)
static void
RestartLoginCookie. expireRestartCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, KeycloakSession session)
static ProtocolMapperModel
ProtocolMapperUtils. findLocaleMapper(KeycloakSession session)
Find the builtin locale mapper.javax.ws.rs.core.Response
ClientInstallationProvider. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)
static javax.ws.rs.core.Cookie
RestartLoginCookie. getRestartCookie(KeycloakSession session)
static Stream<Map.Entry<ProtocolMapperModel,ProtocolMapper>>
ProtocolMapperUtils. getSortedProtocolMappers(KeycloakSession session, ClientSessionContext ctx)
static boolean
ProtocolMapperUtils. isEnabled(KeycloakSession session, ProtocolMapperModel mapper)
static AuthenticationSessionModel
RestartLoginCookie. restartSession(KeycloakSession session, RealmModel realm, RootAuthenticationSessionModel rootSession, String expectedClientId, javax.ws.rs.core.Cookie cook)
static void
RestartLoginCookie. setRestartCookie(KeycloakSession session, RealmModel realm, ClientConnection connection, javax.ws.rs.core.UriInfo uriInfo, AuthenticationSessionModel authSession)
LoginProtocol
LoginProtocol. setSession(KeycloakSession session)
default void
ProtocolMapper. validateConfig(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel client, ProtocolMapperModel mapperModel)
Called when instance of mapperModel is created/updated for this protocolMapper through admin endpointConstructors in org.keycloak.protocol with parameters of type KeycloakSession Constructor Description AuthorizationEndpointBase(KeycloakSession session, EventBuilder event)
-
Uses of KeycloakSession in org.keycloak.protocol.docker
Methods in org.keycloak.protocol.docker with parameters of type KeycloakSession Modifier and Type Method Description boolean
DockerAuthenticator. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
DockerAuthenticatorFactory. create(KeycloakSession session)
LoginProtocol
DockerAuthV2ProtocolFactory. create(KeycloakSession session)
Object
DockerAuthV2ProtocolFactory. createProtocolEndpoint(KeycloakSession session, EventBuilder event)
LoginProtocol
DockerAuthV2Protocol. setSession(KeycloakSession session)
Constructors in org.keycloak.protocol.docker with parameters of type KeycloakSession Constructor Description DockerAuthV2Protocol(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, javax.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 KeycloakSession Modifier and Type Method Description ClientInstallationProvider
DockerComposeYamlInstallationProvider. create(KeycloakSession session)
ClientInstallationProvider
DockerRegistryConfigFileInstallationProvider. create(KeycloakSession session)
ClientInstallationProvider
DockerVariableOverrideInstallationProvider. create(KeycloakSession session)
javax.ws.rs.core.Response
DockerComposeYamlInstallationProvider. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)
javax.ws.rs.core.Response
DockerRegistryConfigFileInstallationProvider. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)
javax.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 KeycloakSession Modifier and Type Method Description ProtocolMapper
DockerAuthV2ProtocolMapper. create(KeycloakSession session)
DockerResponseToken
AllowAllDockerProtocolMapper. transformDockerResponseToken(DockerResponseToken responseToken, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession)
DockerResponseToken
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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
OIDCLoginProtocol. session
Methods in org.keycloak.protocol.oidc that return KeycloakSession Modifier and Type Method Description KeycloakSession
TokenExchangeContext. getSession()
-
Uses of KeycloakSession in org.keycloak.protocol.oidc.endpoints
Methods in org.keycloak.protocol.oidc.endpoints with parameters of type KeycloakSession Modifier and Type Method Description static javax.ws.rs.core.Response
IframeUtil. returnIframeFromResources(String fileName, String version, KeycloakSession session)
AuthorizationEndpointChecker
AuthorizationEndpointChecker. session(KeycloakSession session)
Constructors in org.keycloak.protocol.oidc.endpoints with parameters of type KeycloakSession Constructor Description AuthorizationEndpoint(KeycloakSession session, EventBuilder event)
LoginStatusIframeEndpoint(KeycloakSession session)
LogoutEndpoint(KeycloakSession session, TokenManager tokenManager, EventBuilder event, OIDCProviderConfig providerConfig)
ThirdPartyCookiesIframeEndpoint(KeycloakSession session)
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 KeycloakSession Modifier and Type Method Description static String
AuthorizationEndpointRequestParserProcessor. getClientId(EventBuilder event, KeycloakSession session, javax.ws.rs.core.MultivaluedMap<String,String> requestParams)
static AuthorizationEndpointRequest
AuthorizationEndpointRequestParserProcessor. parseRequest(EventBuilder event, KeycloakSession session, ClientModel client, javax.ws.rs.core.MultivaluedMap<String,String> requestParams, AuthorizationEndpointRequestParserProcessor.EndpointType endpointType)
Constructors in org.keycloak.protocol.oidc.endpoints.request with parameters of type KeycloakSession Constructor Description AuthzEndpointRequestObjectParser(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 KeycloakSession Constructor Description CibaGrantType(javax.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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
HttpAuthenticationChannelProvider. session
Methods in org.keycloak.protocol.oidc.grants.ciba.channel with parameters of type KeycloakSession Modifier and Type Method Description AuthenticationChannelProvider
HttpAuthenticationChannelProviderFactory. create(KeycloakSession session)
static CIBAAuthenticationRequest
CIBAAuthenticationRequest. deserialize(KeycloakSession session, String jwe)
Deserialize the givenjwe
to aCIBAAuthenticationRequest
instance.String
CIBAAuthenticationRequest. serialize(KeycloakSession session)
Serializes this instance to a JWE.Constructors in org.keycloak.protocol.oidc.grants.ciba.channel with parameters of type KeycloakSession Constructor Description CIBAAuthenticationRequest(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 KeycloakSession Modifier and Type Method Description ClientPolicyExecutorProvider
SecureCibaAuthenticationRequestSigningAlgorithmExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SecureCibaSessionEnforceExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SecureCibaSignedAuthenticationRequestExecutorFactory. create(KeycloakSession session)
Constructors in org.keycloak.protocol.oidc.grants.ciba.clientpolicy.executor with parameters of type KeycloakSession Constructor Description SecureCibaAuthenticationRequestSigningAlgorithmExecutor(KeycloakSession session)
SecureCibaSessionEnforceExecutor(KeycloakSession session)
SecureCibaSignedAuthenticationRequestExecutor(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.protocol.oidc.grants.ciba.endpoints
Fields in org.keycloak.protocol.oidc.grants.ciba.endpoints declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractCibaEndpoint. session
Methods in org.keycloak.protocol.oidc.grants.ciba.endpoints with parameters of type KeycloakSession Modifier and Type Method Description OIDCExtProvider
CibaRootEndpoint. create(KeycloakSession session)
Constructors in org.keycloak.protocol.oidc.grants.ciba.endpoints with parameters of type KeycloakSession Constructor Description AbstractCibaEndpoint(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 KeycloakSession Modifier and Type Method Description static BackchannelAuthenticationEndpointRequest
BackchannelAuthenticationEndpointRequestParserProcessor. parseRequest(EventBuilder event, KeycloakSession session, ClientModel client, javax.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 KeycloakSession Modifier and Type Method Description CIBALoginUserResolver
DefaultCIBALoginUserResolverFactory. create(KeycloakSession session)
Constructors in org.keycloak.protocol.oidc.grants.ciba.resolvers with parameters of type KeycloakSession Constructor Description DefaultCIBALoginUserResolver(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.protocol.oidc.grants.device
Methods in org.keycloak.protocol.oidc.grants.device with parameters of type KeycloakSession Modifier and Type Method Description static javax.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 javax.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 KeycloakSession Constructor Description DeviceGrantType(javax.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 KeycloakSession Modifier and Type Method Description RealmResourceProvider
DeviceEndpointFactory. 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 Constructor Description DeviceEndpoint(KeycloakSession session, EventBuilder event)
-
Uses of KeycloakSession in org.keycloak.protocol.oidc.installation
Methods in org.keycloak.protocol.oidc.installation with parameters of type KeycloakSession Modifier and Type Method Description ClientInstallationProvider
KeycloakOIDCClientInstallation. create(KeycloakSession session)
ClientInstallationProvider
KeycloakOIDCJbossSubsystemClientCliInstallation. create(KeycloakSession session)
ClientInstallationProvider
KeycloakOIDCJbossSubsystemClientInstallation. create(KeycloakSession session)
javax.ws.rs.core.Response
KeycloakOIDCClientInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
javax.ws.rs.core.Response
KeycloakOIDCJbossSubsystemClientCliInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
javax.ws.rs.core.Response
KeycloakOIDCJbossSubsystemClientInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
static Map<String,Object>
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 KeycloakSession Modifier and Type Method Description ProtocolMapper
AbstractOIDCProtocolMapper. create(KeycloakSession session)
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)
AccessToken
AbstractOIDCProtocolMapper. transformAccessToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessToken
AbstractPairwiseSubMapper. transformAccessToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessToken
AllowedWebOriginsProtocolMapper. transformAccessToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessToken
AudienceResolveProtocolMapper. transformAccessToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessToken
HardcodedRole. transformAccessToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessToken
OIDCAccessTokenMapper. transformAccessToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessToken
RoleNameMapper. transformAccessToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessTokenResponse
AbstractOIDCProtocolMapper. transformAccessTokenResponse(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessTokenResponse
OIDCAccessTokenResponseMapper. transformAccessTokenResponse(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
IDToken
AbstractOIDCProtocolMapper. transformIDToken(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
IDToken
AbstractPairwiseSubMapper. transformIDToken(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
IDToken
OIDCIDTokenMapper. transformIDToken(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSession)
AccessToken
AbstractOIDCProtocolMapper. transformUserInfoToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessToken
AbstractPairwiseSubMapper. transformUserInfoToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessToken
HardcodedRole. transformUserInfoToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessToken
RoleNameMapper. transformUserInfoToken(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
AccessToken
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)
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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractParEndpoint. session
Methods in org.keycloak.protocol.oidc.par.endpoints with parameters of type KeycloakSession Modifier and Type Method Description OIDCExtProvider
ParRootEndpoint. create(KeycloakSession session)
Constructors in org.keycloak.protocol.oidc.par.endpoints with parameters of type KeycloakSession Constructor Description AbstractParEndpoint(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 KeycloakSession Modifier and Type Method Description static AuthorizationEndpointRequest
ParEndpointRequestParserProcessor. parseRequest(EventBuilder event, KeycloakSession session, ClientModel client, javax.ws.rs.core.MultivaluedMap<String,String> requestParams)
Constructors in org.keycloak.protocol.oidc.par.endpoints.request with parameters of type KeycloakSession Constructor Description AuthzEndpointParParser(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 KeycloakSession Modifier and Type Method Description AuthorizationRequestParserProvider
ClientScopeAuthorizationRequestParserProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.protocol.oidc.utils
Methods in org.keycloak.protocol.oidc.utils with parameters of type KeycloakSession Modifier and Type Method Description static AuthorizeClientUtil.ClientAuthResult
AuthorizeClientUtil. 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 setstatic Set<String>
RedirectUtils. resolveValidRedirects(KeycloakSession session, String rootUrl, Set<String> validRedirects)
static Set<String>
WebOriginsUtils. resolveValidWebOrigins(KeycloakSession session, ClientModel client)
static JSONWebKeySet
JWKSHttpUtils. sendJwksRequest(KeycloakSession session, String jwksURI)
static javax.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.openshift
Methods in org.keycloak.protocol.openshift with parameters of type KeycloakSession Modifier and Type Method Description OIDCExtProvider
OpenShiftTokenReviewEndpointFactory. create(KeycloakSession session)
Constructors in org.keycloak.protocol.openshift with parameters of type KeycloakSession Constructor Description OpenShiftTokenReviewEndpoint(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.protocol.saml
Fields in org.keycloak.protocol.saml declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
SamlProtocol. session
Methods in org.keycloak.protocol.saml with parameters of type KeycloakSession Modifier and Type Method Description DefaultSamlArtifactResolver
DefaultSamlArtifactResolverFactory. create(KeycloakSession session)
ClientDescriptionConverter
EntityDescriptorDescriptionConverter. create(KeycloakSession session)
LoginProtocol
SamlProtocolFactory. create(KeycloakSession session)
Object
SamlProtocolFactory. createProtocolEndpoint(KeycloakSession session, EventBuilder event)
protected abstract javax.ws.rs.core.Response
SamlService.BindingProtocol. error(KeycloakSession session, AuthenticationSessionModel authenticationSession, javax.ws.rs.core.Response.Status status, String message, Object... parameters)
protected javax.ws.rs.core.Response
SamlService.PostBindingProtocol. error(KeycloakSession session, AuthenticationSessionModel authenticationSession, javax.ws.rs.core.Response.Status status, String message, Object... parameters)
protected javax.ws.rs.core.Response
SamlService.RedirectBindingProtocol. error(KeycloakSession session, AuthenticationSessionModel authenticationSession, javax.ws.rs.core.Response.Status status, String message, Object... parameters)
static AuthenticatedClientSessionModel
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(javax.ws.rs.core.UriInfo uriInfo, KeycloakSession session, RealmModel realm)
static String
SamlProtocol. getLogoutServiceUrl(KeycloakSession session, ClientModel client, String bindingType, boolean backChannelLogout)
AuthenticationSessionModel
SamlService. getOrCreateLoginSessionForIdpInitiatedSso(KeycloakSession session, RealmModel realm, ClientModel client, String relayState)
Creates a client session object for SAML IdP-initiated SSO session.static Iterator<SamlAuthenticationPreprocessor>
SamlSessionUtils. getSamlAuthenticationPreprocessorIterator(KeycloakSession session)
protected String
SamlProtocol. getSAMLNameId(List<SamlProtocol.ProtocolMapperProcessor<SAMLNameIdMapper>> samlNameIdMappers, String nameIdFormat, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession)
AttributeStatementType
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)
ClientModel
ArtifactResolver. selectSourceClient(KeycloakSession session, String artifact)
Returns client model that issued artifactClientModel
DefaultSamlArtifactResolver. selectSourceClient(KeycloakSession session, String artifact)
SamlProtocol
SamlProtocol. setSession(KeycloakSession session)
ResponseType
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 KeycloakSession Constructor Description JaxrsSAML2BindingBuilder(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 KeycloakSession Modifier and Type Method Description ClientRegistrationProvider
EntityDescriptorClientRegistrationProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.protocol.saml.clientregistration with parameters of type KeycloakSession Constructor Description EntityDescriptorClientRegistrationContext(KeycloakSession session, ClientRepresentation client, ClientRegistrationProvider provider)
EntityDescriptorClientRegistrationProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.protocol.saml.installation
Methods in org.keycloak.protocol.saml.installation with parameters of type KeycloakSession Modifier and Type Method Description static void
KeycloakSamlClientInstallation. baseXml(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri, SamlClient samlClient, StringBuilder buffer)
ClientInstallationProvider
KeycloakSamlClientInstallation. create(KeycloakSession session)
ClientInstallationProvider
KeycloakSamlSubsystemCliInstallation. create(KeycloakSession session)
ClientInstallationProvider
KeycloakSamlSubsystemInstallation. create(KeycloakSession session)
ClientInstallationProvider
ModAuthMellonClientInstallation. create(KeycloakSession session)
ClientInstallationProvider
SamlSPDescriptorClientInstallation. create(KeycloakSession session)
javax.ws.rs.core.Response
KeycloakSamlClientInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
javax.ws.rs.core.Response
KeycloakSamlSubsystemCliInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
javax.ws.rs.core.Response
KeycloakSamlSubsystemInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI baseUri)
javax.ws.rs.core.Response
ModAuthMellonClientInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)
javax.ws.rs.core.Response
SamlSPDescriptorClientInstallation. generateInstallation(KeycloakSession session, RealmModel realm, ClientModel client, URI serverBaseUri)
-
Uses of KeycloakSession in org.keycloak.protocol.saml.mappers
-
Uses of KeycloakSession in org.keycloak.protocol.saml.profile.ecp
Constructors in org.keycloak.protocol.saml.profile.ecp with parameters of type KeycloakSession Constructor Description SamlEcpProfileService(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 KeycloakSession Modifier and Type Method Description boolean
HttpBasicAuthenticator. configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
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 KeycloakSession Modifier and Type Method Description javax.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 KeycloakSession Modifier and Type Method Description default ExceptionConverter
ExceptionConverter. create(KeycloakSession session)
T
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 KeycloakSession Modifier and Type Method Description ScriptingProvider
DefaultScriptingProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.services
Classes in org.keycloak.services that implement KeycloakSession Modifier and Type Class Description class
DefaultKeycloakSession
Methods in org.keycloak.services that return KeycloakSession Modifier and Type Method Description KeycloakSession
DefaultKeycloakSessionFactory. create()
Methods in org.keycloak.services with parameters of type KeycloakSession Modifier and Type Method Description protected DefaultKeycloakContext
DefaultKeycloakSession. createKeycloakContext(KeycloakSession session)
static javax.ws.rs.core.Response
ErrorPage. error(KeycloakSession session, AuthenticationSessionModel authenticationSession, javax.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 KeycloakSession Constructor Description DefaultKeycloakContext(KeycloakSession session)
DefaultKeycloakTransactionManager(KeycloakSession session)
ErrorPageException(KeycloakSession session, javax.ws.rs.core.Response.Status status, String errorMessage, Object... parameters)
ErrorPageException(KeycloakSession session, AuthenticationSessionModel authSession, javax.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 KeycloakSession Modifier and Type Method Description ClientPolicyManager
DefaultClientPolicyManagerFactory. 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 KeycloakSession Constructor Description DefaultClientPolicyManager(KeycloakSession session, Supplier<List<ClientProfileRepresentation>> globalClientProfilesSupplier)
-
Uses of KeycloakSession in org.keycloak.services.clientpolicy.condition
Fields in org.keycloak.services.clientpolicy.condition declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractClientPolicyConditionProvider. session
Methods in org.keycloak.services.clientpolicy.condition with parameters of type KeycloakSession Modifier and Type Method Description ClientPolicyConditionProvider
AnyClientConditionFactory. create(KeycloakSession session)
ClientPolicyConditionProvider
ClientAccessTypeConditionFactory. create(KeycloakSession session)
ClientPolicyConditionProvider
ClientRolesConditionFactory. create(KeycloakSession session)
ClientPolicyConditionProvider
ClientScopesConditionFactory. create(KeycloakSession session)
ClientPolicyConditionProvider
ClientUpdaterContextConditionFactory. create(KeycloakSession session)
ClientPolicyConditionProvider
ClientUpdaterSourceGroupsConditionFactory. create(KeycloakSession session)
ClientPolicyConditionProvider
ClientUpdaterSourceHostsConditionFactory. create(KeycloakSession session)
ClientPolicyConditionProvider
ClientUpdaterSourceRolesConditionFactory. create(KeycloakSession session)
Constructors in org.keycloak.services.clientpolicy.condition with parameters of type KeycloakSession Constructor Description AbstractClientPolicyConditionProvider(KeycloakSession session)
AnyClientCondition(KeycloakSession session)
ClientAccessTypeCondition(KeycloakSession session)
ClientRolesCondition(KeycloakSession session)
ClientScopesCondition(KeycloakSession session)
ClientUpdaterContextCondition(KeycloakSession session)
ClientUpdaterSourceGroupsCondition(KeycloakSession session)
ClientUpdaterSourceHostsCondition(KeycloakSession session)
ClientUpdaterSourceRolesCondition(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.services.clientpolicy.context
Constructors in org.keycloak.services.clientpolicy.context with parameters of type KeycloakSession Constructor Description DynamicClientUnregisterContext(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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
ConfidentialClientAcceptExecutor. session
protected KeycloakSession
SecureResponseTypeExecutor. session
protected KeycloakSession
SuppressRefreshTokenRotationExecutor. session
Methods in org.keycloak.services.clientpolicy.executor with parameters of type KeycloakSession Modifier and Type Method Description ClientPolicyExecutorProvider
ClientSecretRotationExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
ConfidentialClientAcceptExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
ConsentRequiredExecutorFactory. create(KeycloakSession session)
FullScopeDisabledExecutor
FullScopeDisabledExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
HolderOfKeyEnforcerExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
IntentClientBindCheckExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
PKCEEnforcerExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
RegistrationAccessTokenRotationDisabledExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
RejectRequestExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
RejectResourceOwnerPasswordCredentialsGrantExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SecureClientAuthenticatorExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SecureClientUrisExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SecureLogoutExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SecureRequestObjectExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SecureResponseTypeExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SecureSessionEnforceExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SecureSigningAlgorithmExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SecureSigningAlgorithmForSignedJwtExecutorFactory. create(KeycloakSession session)
ClientPolicyExecutorProvider
SuppressRefreshTokenRotationExecutorFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.services.clientregistration
Fields in org.keycloak.services.clientregistration declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractClientRegistrationContext. session
protected KeycloakSession
AbstractClientRegistrationProvider. session
Methods in org.keycloak.services.clientregistration that return KeycloakSession Modifier and Type Method Description KeycloakSession
AbstractClientRegistrationContext. getSession()
KeycloakSession
ClientRegistrationContext. getSession()
Constructors in org.keycloak.services.clientregistration with parameters of type KeycloakSession Constructor Description AbstractClientRegistrationContext(KeycloakSession session, ClientRepresentation client, ClientRegistrationProvider provider)
AbstractClientRegistrationProvider(KeycloakSession session)
AdapterInstallationClientRegistrationProvider(KeycloakSession session)
ClientRegistrationAuth(KeycloakSession session, ClientRegistrationProvider provider, EventBuilder event, String endpoint)
ClientRegistrationService(KeycloakSession session, EventBuilder event)
DefaultClientRegistrationContext(KeycloakSession session, ClientRepresentation client, ClientRegistrationProvider provider)
DefaultClientRegistrationProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.services.clientregistration.oidc
Methods in org.keycloak.services.clientregistration.oidc with parameters of type KeycloakSession Modifier and Type Method Description ClientRegistrationProvider
OIDCClientRegistrationProviderFactory. 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 KeycloakSession Constructor Description OIDCClientRegistrationContext(KeycloakSession session, ClientRepresentation client, ClientRegistrationProvider provider, OIDCClientRepresentation oidcRep)
OIDCClientRegistrationProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.services.clientregistration.policy
Methods in org.keycloak.services.clientregistration.policy with parameters of type KeycloakSession Modifier and Type Method Description List<ProviderConfigProperty>
AbstractClientRegistrationPolicyFactory. getConfigProperties(KeycloakSession session)
List<ProviderConfigProperty>
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 KeycloakSession Modifier and Type Method Description ClientRegistrationPolicy
ClientDisabledClientRegistrationPolicyFactory. create(KeycloakSession session, ComponentModel model)
ClientRegistrationPolicy
ClientScopesClientRegistrationPolicyFactory. create(KeycloakSession session, ComponentModel model)
ClientRegistrationPolicy
ConsentRequiredClientRegistrationPolicyFactory. create(KeycloakSession session, ComponentModel model)
ClientRegistrationPolicy
MaxClientsClientRegistrationPolicyFactory. create(KeycloakSession session, ComponentModel model)
ClientRegistrationPolicy
ProtocolMappersClientRegistrationPolicyFactory. create(KeycloakSession session, ComponentModel model)
ClientRegistrationPolicy
ScopeClientRegistrationPolicyFactory. create(KeycloakSession session, ComponentModel model)
ClientRegistrationPolicy
TrustedHostClientRegistrationPolicyFactory. create(KeycloakSession session, ComponentModel model)
List<ProviderConfigProperty>
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 KeycloakSession Constructor Description ClientScopesClientRegistrationPolicy(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 KeycloakSession Modifier and Type Method Description static javax.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 KeycloakSession Modifier and Type Method Description protected void
AbstractRequestFilter. close(KeycloakSession session)
Method parameters in org.keycloak.services.filters with type arguments of type KeycloakSession Modifier and Type Method Description protected void
AbstractRequestFilter. filter(ClientConnection clientConnection, Consumer<KeycloakSession> next)
-
Uses of KeycloakSession in org.keycloak.services.legacysessionsupport
Methods in org.keycloak.services.legacysessionsupport with parameters of type KeycloakSession Modifier and Type Method Description LegacySessionSupportProvider
LegacySessionSupportProviderFactoryImpl. create(KeycloakSession session)
Constructors in org.keycloak.services.legacysessionsupport with parameters of type KeycloakSession Constructor Description LegacySessionSupportProviderImpl(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.services.managers
Fields in org.keycloak.services.managers declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
RealmManager. session
Methods in org.keycloak.services.managers that return KeycloakSession Modifier and Type Method Description KeycloakSession
RealmManager. getSession()
Methods in org.keycloak.services.managers with parameters of type KeycloakSession Modifier and Type Method Description static javax.ws.rs.core.Response
AuthenticationManager. actionRequired(KeycloakSession session, AuthenticationSessionModel authSession, HttpRequest request, EventBuilder event)
AuthenticationManager.AuthResult
AppAuthManager. authenticateIdentityCookie(KeycloakSession session, RealmModel realm)
AuthenticationManager.AuthResult
AuthenticationManager. authenticateIdentityCookie(KeycloakSession session, RealmModel realm)
static AuthenticationManager.AuthResult
AuthenticationManager. authenticateIdentityCookie(KeycloakSession session, RealmModel realm, boolean checkActive)
static BackchannelLogoutResponse
AuthenticationManager. backchannelLogout(KeycloakSession session, RealmModel realm, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers, boolean logoutBroker)
static BackchannelLogoutResponse
AuthenticationManager. backchannelLogout(KeycloakSession session, RealmModel realm, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.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, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers)
Logout all clientSessions of this user and clientstatic javax.ws.rs.core.Response
AuthenticationManager. browserLogout(KeycloakSession session, RealmModel realm, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.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)
BruteForceProtector
DefaultBruteForceProtectorFactory. create(KeycloakSession session)
RealmManagerProviderFactory
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, javax.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, javax.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 javax.ws.rs.core.Response
AuthenticationManager. executionActions(KeycloakSession session, AuthenticationSessionModel authSession, HttpRequest request, EventBuilder event, RealmModel realm, UserModel user, Stream<String> requiredActions)
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, javax.ws.rs.core.UriInfo uriInfo, KeycloakSession session)
static void
AuthenticationManager. expireOldAuthSessionCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, KeycloakSession session)
static void
AuthenticationManager. expireOldIdentityCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, KeycloakSession session)
static void
AuthenticationManager. expireRememberMeCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, KeycloakSession session)
static boolean
AuthenticationManager. expireUserSessionCookie(KeycloakSession session, UserSessionModel userSession, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders headers, ClientConnection connection)
protected void
DefaultBruteForceProtector. failure(KeycloakSession session, DefaultBruteForceProtector.LoginEvent event)
static javax.ws.rs.core.Response
AuthenticationManager. finishBrowserLogout(KeycloakSession session, RealmModel realm, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers)
static javax.ws.rs.core.Response
AuthenticationManager. finishedRequiredActions(KeycloakSession session, AuthenticationSessionModel authSession, UserSessionModel userSession, ClientConnection clientConnection, HttpRequest request, javax.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 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 javax.ws.rs.core.Response
AuthenticationManager. nextActionAfterAuthentication(KeycloakSession session, AuthenticationSessionModel authSession, ClientConnection clientConnection, HttpRequest request, javax.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 javax.ws.rs.core.Response
AuthenticationManager. redirectAfterSuccessfulFlow(KeycloakSession session, RealmModel realm, UserSessionModel userSession, ClientSessionContext clientSessionCtx, HttpRequest request, javax.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, EventBuilder event, AuthenticationSessionModel authSession)
static javax.ws.rs.core.Response
AuthenticationManager. redirectAfterSuccessfulFlow(KeycloakSession session, RealmModel realm, UserSessionModel userSession, ClientSessionContext clientSessionCtx, HttpRequest request, javax.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection, EventBuilder event, AuthenticationSessionModel authSession, LoginProtocol protocol)
static javax.ws.rs.core.Response
AuthenticationManager. redirectToRequiredActions(KeycloakSession session, RealmModel realm, AuthenticationSessionModel authSession, javax.ws.rs.core.UriInfo uriInfo, String requiredAction)
static String
ResourceAdminManager. resolveUri(KeycloakSession session, String rootUrl, String uri)
static boolean
UserConsentManager. revokeConsentToClient(KeycloakSession session, ClientModel client, UserModel user)
Revoke consent of given user to given clientAppAuthManager.BearerTokenAuthenticator
AppAuthManager.BearerTokenAuthenticator. setSession(KeycloakSession session)
protected void
DefaultBruteForceProtector. success(KeycloakSession session, DefaultBruteForceProtector.LoginEvent event)
static boolean
LDAPServerCapabilitiesManager. testLDAP(TestLdapConnectionRepresentation config, KeycloakSession session, RealmModel realm)
static AuthenticationManager.AuthResult
AuthenticationManager. verifyIdentityToken(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, boolean checkActive, boolean checkTokenType, String checkAudience, boolean isCookie, String tokenString, javax.ws.rs.core.HttpHeaders headers, TokenVerifier.Predicate<? super AccessToken>... additionalChecks)
Constructors in org.keycloak.services.managers with parameters of type KeycloakSession Constructor Description ApplianceBootstrap(KeycloakSession session)
AuthenticationSessionManager(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 KeycloakSession Modifier and Type Method Description MigrationProvider
DefaultMigrationProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.services.migration with parameters of type KeycloakSession Constructor Description DefaultMigrationProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.services.resources
Fields in org.keycloak.services.resources declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractSecuredLocalService. session
protected KeycloakSession
ClientsManagementService. session
protected KeycloakSession
LoginActionsService. session
protected KeycloakSession
PublicRealmResource. session
protected KeycloakSession
RealmsResource. session
Methods in org.keycloak.services.resources that return KeycloakSession Modifier and Type Method Description protected KeycloakSession
SessionCodeChecks. getSession()
Methods in org.keycloak.services.resources with parameters of type KeycloakSession Modifier and Type Method Description Cors
Cors. 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, javax.ws.rs.core.UriInfo uriInfo)
static javax.ws.rs.core.Response
LoginActionsService. redirectToAfterBrokerLoginEndpoint(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, AuthenticationSessionModel authSession, boolean firstBrokerLogin)
Constructors in org.keycloak.services.resources with parameters of type KeycloakSession Constructor Description AbstractSecuredLocalService(KeycloakSession session, ClientModel client)
ClientsManagementService(KeycloakSession session, EventBuilder event)
IdentityBrokerService(KeycloakSession session)
LoginActionsService(KeycloakSession session, EventBuilder event)
LogoutSessionCodeChecks(RealmModel realm, javax.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, javax.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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
AccountConsole. session
Methods in org.keycloak.services.resources.account with parameters of type KeycloakSession Modifier and Type Method Description SortedSet<LinkedAccountRepresentation>
LinkedAccountsResource. getLinkedAccounts(KeycloakSession session, RealmModel realm, UserModel user)
boolean
PasswordUtil. isConfigured(KeycloakSession session, RealmModel realm, UserModel user)
Deprecated.Instead, usePasswordUtil.isConfigured()
static boolean
AccountFormService. isPasswordSet(KeycloakSession session, RealmModel realm, UserModel user)
Constructors in org.keycloak.services.resources.account with parameters of type KeycloakSession Constructor Description AccountConsole(KeycloakSession session, ClientModel client, Theme theme)
AccountCredentialResource(KeycloakSession session, UserModel user, Auth auth)
AccountFormService(KeycloakSession session, ClientModel client, EventBuilder event)
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 KeycloakSession Constructor Description 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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
AdminConsole. session
protected KeycloakSession
AdminRoot. session
protected KeycloakSession
AttackDetectionResource. session
protected KeycloakSession
ClearKeysCacheResource. session
protected KeycloakSession
ClearRealmCacheResource. session
protected KeycloakSession
ClearUserCacheResource. session
protected KeycloakSession
ClientAttributeCertificateResource. session
protected KeycloakSession
ClientInitialAccessResource. session
protected KeycloakSession
ClientPoliciesResource. session
protected KeycloakSession
ClientProfilesResource. session
protected KeycloakSession
ClientRegistrationPolicyResource. session
protected KeycloakSession
ClientResource. session
protected KeycloakSession
ClientRoleMappingsResource. session
protected KeycloakSession
ClientScopeResource. session
protected KeycloakSession
ClientScopesResource. session
protected KeycloakSession
ClientsResource. session
protected KeycloakSession
ClientStorageProviderResource. session
protected KeycloakSession
ComponentResource. session
protected KeycloakSession
LdapServerCapabilitiesResource. session
protected KeycloakSession
ProtocolMappersResource. session
protected KeycloakSession
RealmAdminResource. session
protected KeycloakSession
RealmLocalizationResource. session
protected KeycloakSession
RealmsAdminResource. session
protected KeycloakSession
RoleMapperResource. session
protected KeycloakSession
ScopeMappedClientResource. session
protected KeycloakSession
ScopeMappedResource. session
protected KeycloakSession
TestLdapConnectionResource. session
protected KeycloakSession
UserProfileResource. session
protected KeycloakSession
UserResource. session
protected KeycloakSession
UsersResource. session
protected KeycloakSession
UserStorageProviderResource. session
Methods in org.keycloak.services.resources.admin with parameters of type KeycloakSession Modifier and Type Method Description AdminEventBuilder
AdminEventBuilder. clone(KeycloakSession session)
Create a new instance of theAdminEventBuilder
that is bound to a new session.AdminRealmResourceProvider
ClearKeysCacheRealmAdminProvider. create(KeycloakSession session)
AdminRealmResourceProvider
ClearRealmCacheRealmAdminProvider. create(KeycloakSession session)
AdminRealmResourceProvider
ClearUserCacheRealmAdminProvider. create(KeycloakSession session)
AdminRealmResourceProvider
LdapServerCapabilitiesRealmAdminProvider. create(KeycloakSession session)
AdminRealmResourceProvider
TestLdapConnectionRealmAdminProvider. create(KeycloakSession session)
AdminRealmResourceProvider
UserStorageProviderRealmAdminProvider. create(KeycloakSession session)
static Properties
AdminRoot. getMessages(KeycloakSession session, RealmModel realm, String lang)
static Properties
AdminRoot. getMessages(KeycloakSession session, RealmModel realm, String lang, String... bundles)
Object
ClearKeysCacheRealmAdminProvider. getResource(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
Object
ClearRealmCacheRealmAdminProvider. getResource(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
Object
ClearUserCacheRealmAdminProvider. getResource(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
Object
LdapServerCapabilitiesRealmAdminProvider. getResource(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
Object
TestLdapConnectionRealmAdminProvider. getResource(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
Object
UserStorageProviderRealmAdminProvider. getResource(KeycloakSession session, RealmModel realm, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
static Theme
AdminRoot. getTheme(KeycloakSession session, RealmModel realm)
AdminEventBuilder
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 javax.ws.rs.core.Response
UserResource. validateUserProfile(UserProfile profile, KeycloakSession session, AdminAuth adminAuth)
-
Uses of KeycloakSession in org.keycloak.services.resources.admin.ext
Methods in org.keycloak.services.resources.admin.ext with parameters of type KeycloakSession Modifier and Type Method Description Object
AdminRealmResourceProvider. 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 Constructor Description ServerInfoAdminResource(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.services.resources.admin.permissions
Methods in org.keycloak.services.resources.admin.permissions with parameters of type KeycloakSession Modifier and Type Method Description static 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 KeycloakSession Modifier and Type Method Description void
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 KeycloakSession Modifier and Type Method Description static 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 void
P3PHelper. addP3PHeader(KeycloakSession session)
static AccessToken.CertConf
MtlsHoKTokenUtil. bindTokenWithClientCertificate(HttpRequest request, KeycloakSession session)
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
static Set<String>
CookieHelper. getCookieValue(KeycloakSession session, String name)
abstract javax.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 javax.ws.rs.core.Response
BrowserHistoryHelper. saveResponseAndRedirect(KeycloakSession session, AuthenticationSessionModel authSession, javax.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 KeycloakSession Constructor Description AuthenticationFlowURLHelper(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)
-
Uses of KeycloakSession in org.keycloak.services.x509
Methods in org.keycloak.services.x509 with parameters of type KeycloakSession Modifier and Type Method Description X509ClientCertificateLookup
ApacheProxySslClientCertificateLookupFactory. create(KeycloakSession session)
X509ClientCertificateLookup
DefaultClientCertificateLookupFactory. create(KeycloakSession session)
X509ClientCertificateLookup
HaProxySslClientCertificateLookupFactory. create(KeycloakSession session)
X509ClientCertificateLookup
NginxProxySslClientCertificateLookupFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.sessions
Methods in org.keycloak.sessions with parameters of type KeycloakSession Modifier and Type Method Description StickySessionEncoderProvider
DisabledStickySessionEncoderProvider. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.social.bitbucket
Methods in org.keycloak.social.bitbucket with parameters of type KeycloakSession Modifier and Type Method Description BitbucketIdentityProvider
BitbucketIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Constructors in org.keycloak.social.bitbucket with parameters of type KeycloakSession Constructor Description BitbucketIdentityProvider(KeycloakSession session, OAuth2IdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.social.facebook
Methods in org.keycloak.social.facebook with parameters of type KeycloakSession Modifier and Type Method Description FacebookIdentityProvider
FacebookIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Constructors in org.keycloak.social.facebook with parameters of type KeycloakSession Constructor Description FacebookIdentityProvider(KeycloakSession session, FacebookIdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.social.github
Methods in org.keycloak.social.github with parameters of type KeycloakSession Modifier and Type Method Description GitHubIdentityProvider
GitHubIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Constructors in org.keycloak.social.github with parameters of type KeycloakSession Constructor Description GitHubIdentityProvider(KeycloakSession session, OAuth2IdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.social.gitlab
Methods in org.keycloak.social.gitlab with parameters of type KeycloakSession Modifier and Type Method Description GitLabIdentityProvider
GitLabIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Constructors in org.keycloak.social.gitlab with parameters of type KeycloakSession Constructor Description GitLabIdentityProvider(KeycloakSession session, OIDCIdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.social.google
Methods in org.keycloak.social.google with parameters of type KeycloakSession Modifier and Type Method Description GoogleIdentityProvider
GoogleIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Constructors in org.keycloak.social.google with parameters of type KeycloakSession Constructor Description GoogleIdentityProvider(KeycloakSession session, GoogleIdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.social.instagram
Methods in org.keycloak.social.instagram with parameters of type KeycloakSession Modifier and Type Method Description InstagramIdentityProvider
InstagramIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Constructors in org.keycloak.social.instagram with parameters of type KeycloakSession Constructor Description InstagramIdentityProvider(KeycloakSession session, OAuth2IdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.social.linkedin
Methods in org.keycloak.social.linkedin with parameters of type KeycloakSession Modifier and Type Method Description LinkedInIdentityProvider
LinkedInIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Constructors in org.keycloak.social.linkedin with parameters of type KeycloakSession Constructor Description LinkedInIdentityProvider(KeycloakSession session, OAuth2IdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.social.microsoft
Methods in org.keycloak.social.microsoft with parameters of type KeycloakSession Modifier and Type Method Description MicrosoftIdentityProvider
MicrosoftIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Constructors in org.keycloak.social.microsoft with parameters of type KeycloakSession Constructor Description MicrosoftIdentityProvider(KeycloakSession session, OAuth2IdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.social.openshift
Methods in org.keycloak.social.openshift with parameters of type KeycloakSession Modifier and Type Method Description OpenshiftV3IdentityProvider
OpenshiftV3IdentityProviderFactory. create(KeycloakSession keycloakSession, IdentityProviderModel identityProviderModel)
OpenshiftV4IdentityProvider
OpenshiftV4IdentityProviderFactory. create(KeycloakSession keycloakSession, IdentityProviderModel identityProviderModel)
Constructors in org.keycloak.social.openshift with parameters of type KeycloakSession Constructor Description OpenshiftV3IdentityProvider(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 KeycloakSession Modifier and Type Method Description PayPalIdentityProvider
PayPalIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Constructors in org.keycloak.social.paypal with parameters of type KeycloakSession Constructor Description PayPalIdentityProvider(KeycloakSession session, PayPalIdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.social.stackoverflow
Methods in org.keycloak.social.stackoverflow with parameters of type KeycloakSession Modifier and Type Method Description StackoverflowIdentityProvider
StackoverflowIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
Constructors in org.keycloak.social.stackoverflow with parameters of type KeycloakSession Constructor Description StackoverflowIdentityProvider(KeycloakSession session, StackOverflowIdentityProviderConfig config)
-
Uses of KeycloakSession in org.keycloak.social.twitter
Fields in org.keycloak.social.twitter declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
TwitterIdentityProvider.Endpoint. session
Methods in org.keycloak.social.twitter with parameters of type KeycloakSession Modifier and Type Method Description TwitterIdentityProvider
TwitterIdentityProviderFactory. create(KeycloakSession session, IdentityProviderModel model)
javax.ws.rs.core.Response
TwitterIdentityProvider. retrieveToken(KeycloakSession session, FederatedIdentityModel identity)
Constructors in org.keycloak.social.twitter with parameters of type KeycloakSession Constructor Description Endpoint(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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractStorageManager. session
protected KeycloakSession
ClientStorageManager. session
protected KeycloakSession
RoleStorageManager. session
Methods in org.keycloak.storage that return KeycloakSession Modifier and Type Method Description KeycloakSession
ImportRealmFromRepresentationEvent. getSession()
Deprecated.KeycloakSession
LegacyStoreMigrateRepresentationEvent. getSession()
KeycloakSession
LegacyStoreSyncEvent. getSession()
KeycloakSession
PartialImportRealmFromRepresentationEvent. getSession()
Deprecated.KeycloakSession
SetDefaultsForNewRealm. getSession()
Methods in org.keycloak.storage with parameters of type KeycloakSession Modifier and Type Method Description T
UserStorageProviderFactory. 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)
-
Uses of KeycloakSession in org.keycloak.storage.adapter
Fields in org.keycloak.storage.adapter declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractUserAdapter. session
protected KeycloakSession
AbstractUserAdapterFederatedStorage. session
Constructors in org.keycloak.storage.adapter with parameters of type KeycloakSession Constructor Description 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)
-
Uses of KeycloakSession in org.keycloak.storage.client
Fields in org.keycloak.storage.client declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractClientStorageAdapter. session
Methods in org.keycloak.storage.client with parameters of type KeycloakSession Modifier and Type Method Description T
ClientStorageProviderFactory. 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 KeycloakSession Constructor Description AbstractClientStorageAdapter(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 KeycloakSession Modifier and Type Method Description T
ClientScopeStorageProviderFactory. 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 KeycloakSession Modifier and Type Method Description DatastoreProvider
LegacyDatastoreProviderFactory. create(KeycloakSession session)
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 KeycloakSession Constructor Description LegacyDatastoreProvider(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 KeycloakSession Modifier and Type Method Description T
GroupStorageProviderFactory. 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 KeycloakSession Modifier and Type Method Description UserFederatedStorageProvider
JpaUserFederatedStorageProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.storage.jpa with parameters of type KeycloakSession Constructor Description JpaUserFederatedStorageProvider(KeycloakSession session, javax.persistence.EntityManager em)
-
Uses of KeycloakSession in org.keycloak.storage.ldap
Fields in org.keycloak.storage.ldap declared as KeycloakSession Modifier and Type Field Description protected KeycloakSession
LDAPStorageProvider. session
Methods in org.keycloak.storage.ldap that return KeycloakSession Modifier and Type Method Description KeycloakSession
LDAPStorageProvider. getSession()
Methods in org.keycloak.storage.ldap with parameters of type KeycloakSession Modifier and Type Method Description LDAPStorageProvider
LDAPStorageProviderFactory. 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)
LDAPIdentityStore
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 KeycloakSession Constructor Description LDAPStorageProvider(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 KeycloakSession Modifier and Type Method Description static LDAPContextManager
LDAPContextManager. create(KeycloakSession session, LDAPConfig connectionProperties)
Constructors in org.keycloak.storage.ldap.idm.store.ldap with parameters of type KeycloakSession Constructor Description LDAPContextManager(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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractLDAPStorageMapper. session
Methods in org.keycloak.storage.ldap.mappers with parameters of type KeycloakSession Modifier and Type Method Description protected 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)
LDAPStorageMapper
AbstractLDAPStorageMapperFactory. create(KeycloakSession session, ComponentModel model)
T
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 KeycloakSession Modifier and Type Method Description void
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 KeycloakSession Modifier and Type Method Description void
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 KeycloakSession Modifier and Type Method Description static 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.openshift
Methods in org.keycloak.storage.openshift with parameters of type KeycloakSession Modifier and Type Method Description OpenshiftClientStorageProvider
OpenshiftClientStorageProviderFactory. create(KeycloakSession session, ComponentModel model)
void
OpenshiftClientStorageProviderFactory. onUpdate(KeycloakSession session, RealmModel realm, ComponentModel oldModel, ComponentModel newModel)
void
OpenshiftClientStorageProviderFactory. validateConfiguration(KeycloakSession session, RealmModel realm, ComponentModel config)
Constructors in org.keycloak.storage.openshift with parameters of type KeycloakSession Constructor Description OpenshiftSAClientAdapter(String clientId, com.openshift.restclient.model.IResource resource, com.openshift.restclient.IClient client, KeycloakSession session, RealmModel realm, ClientStorageProviderModel component)
-
Uses of KeycloakSession in org.keycloak.storage.role
Methods in org.keycloak.storage.role with parameters of type KeycloakSession Modifier and Type Method Description T
RoleStorageProviderFactory. 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 KeycloakSession Modifier and Type Method Description ThemeProvider
ClasspathThemeProviderFactory. create(KeycloakSession session)
ThemeResourceProvider
ClasspathThemeResourceProviderFactory. create(KeycloakSession session)
ThemeManager
DefaultThemeManagerFactory. create(KeycloakSession session)
ThemeSelectorProvider
DefaultThemeSelectorProviderFactory. create(KeycloakSession session)
ThemeProvider
FolderThemeProviderFactory. create(KeycloakSession sessions)
ThemeProvider
JarThemeProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.theme with parameters of type KeycloakSession Constructor Description DefaultThemeManager(DefaultThemeManagerFactory factory, KeycloakSession session)
DefaultThemeSelectorProvider(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.theme.freemarker
Methods in org.keycloak.theme.freemarker with parameters of type KeycloakSession Modifier and Type Method Description DefaultFreeMarkerProvider
DefaultFreeMarkerProviderFactory. create(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.timer
Methods in org.keycloak.timer with parameters of type KeycloakSession Modifier and Type Method Description void
ScheduledTask. run(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.timer.basic
Methods in org.keycloak.timer.basic with parameters of type KeycloakSession Modifier and Type Method Description TimerProvider
BasicTimerProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.timer.basic with parameters of type KeycloakSession Constructor Description BasicTimerProvider(KeycloakSession session, Timer timer, int transactionTimeout, BasicTimerProviderFactory factory)
-
Uses of KeycloakSession in org.keycloak.transaction
Methods in org.keycloak.transaction with parameters of type KeycloakSession Modifier and Type Method Description default JtaTransactionManagerLookup
JtaTransactionManagerLookup. create(KeycloakSession session)
static void
AsyncResponseTransaction. finishAsyncResponseInTransaction(KeycloakSession session, javax.ws.rs.container.AsyncResponse responseToFinishInTransaction, javax.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 KeycloakSession Modifier and Type Method Description TruststoreProvider
FileTruststoreProviderFactory. create(KeycloakSession session)
Constructors in org.keycloak.truststore with parameters of type KeycloakSession Constructor Description JSSETruststoreConfigurator(KeycloakSession session)
-
Uses of KeycloakSession in org.keycloak.url
Methods in org.keycloak.url with parameters of type KeycloakSession Modifier and Type Method Description HostnameProvider
DefaultHostnameProviderFactory. create(KeycloakSession session)
HostnameProvider
FixedHostnameProviderFactory. create(KeycloakSession session)
Deprecated.HostnameProvider
RequestHostnameProviderFactory. create(KeycloakSession session)
Deprecated.Constructors in org.keycloak.url with parameters of type KeycloakSession Constructor Description DefaultHostnameProvider(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 KeycloakSession Modifier and Type Field Description protected KeycloakSession
AbstractUserProfileProvider. session
Methods in org.keycloak.userprofile that return KeycloakSession Modifier and Type Method Description KeycloakSession
AttributeContext. getSession()
Methods in org.keycloak.userprofile with parameters of type KeycloakSession Modifier and Type Method Description protected 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)
U
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 KeycloakSession Constructor Description AbstractUserProfileProvider(KeycloakSession session, Map<UserProfileContext,UserProfileMetadata> contextualMetadataRegistry)
AttributeContext(UserProfileContext context, KeycloakSession session, Map.Entry<String,List<String>> attribute, UserModel user, AttributeMetadata metadata)
DeclarativeUserProfileProvider(KeycloakSession session, Map<UserProfileContext,UserProfileMetadata> metadataRegistry, String defaultRawConfig)
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 KeycloakSession Modifier and Type Method Description static List<String>
UPConfigUtils. 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 KeycloakSession Modifier and Type Method Description static 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.OCSPRevocationStatus
OCSPProvider. check(KeycloakSession session, X509Certificate cert, X509Certificate issuerCertificate)
Requests certificate revocation status using OCSP.OCSPProvider.OCSPRevocationStatus
OCSPProvider. check(KeycloakSession session, X509Certificate cert, X509Certificate issuerCertificate, URI responderURI, X509Certificate responderCert, Date date)
Requests certificate revocation status using OCSP.OCSPProvider.OCSPRevocationStatus
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.static ConfigurableAuthenticatorFactory
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 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)
static <T,R>
Function<? super T,? extends Stream<? extends R>>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 Constructor Description Enabled(KeycloakSession session, Class<?> model)
-
Uses of KeycloakSession in org.keycloak.validate
Methods in org.keycloak.validate that return KeycloakSession Modifier and Type Method Description KeycloakSession
ValidationContext. getSession()
Methods in org.keycloak.validate with parameters of type KeycloakSession Modifier and Type Method Description default 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 KeycloakSession Constructor Description ValidationContext(KeycloakSession session)
Creates a newValidationContext
with aKeycloakSession
.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 KeycloakSession Modifier and Type Method Description ValidationResult
AbstractNumberValidator. validateConfig(KeycloakSession session, ValidatorConfig config)
ValidationResult
LengthValidator. validateConfig(KeycloakSession session, ValidatorConfig config)
ValidationResult
LocalDateValidator. validateConfig(KeycloakSession session, ValidatorConfig config)
ValidationResult
OptionsValidator. validateConfig(KeycloakSession session, ValidatorConfig config)
ValidationResult
PatternValidator. validateConfig(KeycloakSession session, ValidatorConfig config)
-
Uses of KeycloakSession in org.keycloak.validation
Methods in org.keycloak.validation that return KeycloakSession Modifier and Type Method Description KeycloakSession
DefaultValidationContext. getSession()
KeycloakSession
ValidationContext. getSession()
Methods in org.keycloak.validation with parameters of type KeycloakSession Modifier and Type Method Description ClientValidationProvider
DefaultClientValidationProviderFactory. 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 KeycloakSession Constructor Description ClientValidationContext(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 KeycloakSession Modifier and Type Method Description VaultProvider
FilesPlainTextVaultProviderFactory. create(KeycloakSession session)
protected String
AbstractVaultProviderFactory. getRealmName(KeycloakSession session)
Obtains the name of realm from theKeycloakSession
.
-