Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
RequiredActionContextResult.session |
protected KeycloakSession |
AuthenticationProcessor.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
RequiredActionContext.getSession() |
KeycloakSession |
FormContext.getSession()
Current session
|
KeycloakSession |
AbstractAuthenticationFlowContext.getSession()
Current session
|
KeycloakSession |
RequiredActionContextResult.getSession() |
KeycloakSession |
AuthenticationProcessor.getSession() |
KeycloakSession |
AuthenticationProcessor.Result.getSession() |
Modifier and Type | Method and Description |
---|---|
default boolean |
Authenticator.areRequiredActionsEnabled(KeycloakSession session,
RealmModel realm)
Checks if all required actions are configured in the realm and are enabled
|
static ClientSessionContext |
AuthenticationProcessor.attachSession(AuthenticationSessionModel authSession,
UserSessionModel userSession,
KeycloakSession session,
RealmModel realm,
ClientConnection connection,
EventBuilder event) |
static javax.ws.rs.core.Response |
ConsoleDisplayMode.browserContinue(KeycloakSession session,
String callback)
Browser is required to continue login.
|
static javax.ws.rs.core.Response |
ConsoleDisplayMode.browserRequired(KeycloakSession session)
Browser is required to login.
|
static AuthenticationSessionModel |
AuthenticationProcessor.clone(KeycloakSession session,
AuthenticationSessionModel authSession) |
boolean |
FormAction.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user)
Is this FormAction configured for the current user?
|
boolean |
Authenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user)
Is this authenticator configured for this user.
|
RequiredActionProvider |
DisplayTypeRequiredActionFactory.createDisplay(KeycloakSession session,
String displayType) |
Authenticator |
DisplayTypeAuthenticatorFactory.createDisplay(KeycloakSession session,
String displayType) |
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 with
|
default 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 |
FormAction.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user)
Set actions to configure authenticator
|
void |
Authenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user)
Set actions to configure authenticator
|
AuthenticationProcessor |
AuthenticationProcessor.setSession(KeycloakSession session) |
Constructor and Description |
---|
AuthenticationSelectionOption(KeycloakSession session,
AuthenticationExecutionModel authExec) |
RequiredActionContextResult(AuthenticationSessionModel authSession,
RealmModel realm,
EventBuilder eventBuilder,
KeycloakSession session,
org.jboss.resteasy.spi.HttpRequest httpRequest,
UserModel user,
RequiredActionFactory factory) |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
ActionTokenContext.getSession() |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
ActionTokenContext(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection clientConnection,
org.jboss.resteasy.spi.HttpRequest request,
EventBuilder event,
ActionTokenHandler<T> handler,
String executionId,
ActionTokenContext.ProcessAuthenticateFlow processFlow,
ActionTokenContext.ProcessBrokerFlow processBrokerFlow) |
Modifier and Type | Method and Description |
---|---|
boolean |
AttemptedAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
AttemptedAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
boolean |
DenyAccessAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
AllowAccessAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
DenyAccessAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
AllowAccessAuthenticatorFactory.create(KeycloakSession session) |
void |
DenyAccessAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
AllowAccessAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
boolean |
IdpReviewProfileAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
IdpEmailVerificationAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
IdpDetectExistingBrokerUserAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
IdpCreateUserIfUniqueAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
IdpConfirmLinkAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
IdpAutoLinkAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
IdpUsernamePasswordFormFactory.create(KeycloakSession session) |
Authenticator |
IdpReviewProfileAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
IdpEmailVerificationAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
IdpDetectExistingBrokerUserAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
IdpCreateUserIfUniqueAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
IdpConfirmLinkAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
IdpAutoLinkAuthenticatorFactory.create(KeycloakSession session) |
static UserModel |
AbstractIdpAuthenticator.getExistingUser(KeycloakSession session,
RealmModel realm,
AuthenticationSessionModel authSession) |
void |
AbstractIdpAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
BrokeredIdentityContext |
SerializedBrokeredIdentityContext.deserialize(KeycloakSession session,
AuthenticationSessionModel authSession) |
Modifier and Type | Method and Description |
---|---|
boolean |
WebAuthnAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
UsernamePasswordForm.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
SpnegoAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
ScriptBasedAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
PasswordForm.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
OTPFormAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
IdentityProviderAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
CookieAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
WebAuthnPasswordlessAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
WebAuthnAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
UsernamePasswordFormFactory.create(KeycloakSession session) |
Authenticator |
UsernameFormFactory.create(KeycloakSession session) |
Authenticator |
SpnegoAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
ScriptBasedAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
PasswordFormFactory.create(KeycloakSession session) |
Authenticator |
OTPFormAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
IdentityProviderAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
DeployedScriptAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
CookieAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
ConditionalOtpFormAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
UsernamePasswordFormFactory.createDisplay(KeycloakSession session,
String displayType) |
Authenticator |
UsernameFormFactory.createDisplay(KeycloakSession session,
String displayType) |
Authenticator |
SpnegoAuthenticatorFactory.createDisplay(KeycloakSession session,
String displayType) |
Authenticator |
PasswordFormFactory.createDisplay(KeycloakSession session,
String displayType) |
Authenticator |
OTPFormAuthenticatorFactory.createDisplay(KeycloakSession session,
String displayType) |
Authenticator |
IdentityProviderAuthenticatorFactory.createDisplay(KeycloakSession session,
String displayType) |
Authenticator |
CookieAuthenticatorFactory.createDisplay(KeycloakSession session,
String displayType) |
WebAuthnPasswordlessCredentialProvider |
WebAuthnPasswordlessAuthenticator.getCredentialProvider(KeycloakSession session) |
WebAuthnCredentialProvider |
WebAuthnAuthenticator.getCredentialProvider(KeycloakSession session) |
PasswordCredentialProvider |
PasswordForm.getCredentialProvider(KeycloakSession session) |
OTPCredentialProvider |
OTPFormAuthenticator.getCredentialProvider(KeycloakSession session) |
List<RequiredActionFactory> |
WebAuthnPasswordlessAuthenticator.getRequiredActions(KeycloakSession session) |
List<RequiredActionFactory> |
WebAuthnAuthenticator.getRequiredActions(KeycloakSession session) |
List<RequiredActionFactory> |
OTPFormAuthenticator.getRequiredActions(KeycloakSession session) |
void |
WebAuthnPasswordlessAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
WebAuthnAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
UsernamePasswordForm.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
SpnegoAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
ScriptBasedAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
OTPFormAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
IdentityProviderAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
CookieAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
ConditionalOtpFormAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Constructor and Description |
---|
WebAuthnAuthenticator(KeycloakSession session) |
WebAuthnPasswordlessAuthenticator(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
boolean |
NoCookieFlowRedirectAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
BasicAuthOTPAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
BasicAuthAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
NoCookieFlowRedirectAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
BasicAuthOTPAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
BasicAuthAuthenticatorFactory.create(KeycloakSession session) |
OTPCredentialProvider |
BasicAuthOTPAuthenticator.getCredentialProvider(KeycloakSession session) |
void |
NoCookieFlowRedirectAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
BasicAuthAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
boolean |
CliUsernamePasswordAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
CliUsernamePasswordAuthenticatorFactory.create(KeycloakSession session) |
void |
CliUsernamePasswordAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
ClientAuthenticator |
AbstractClientAuthenticator.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
default boolean |
ConditionalAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
default Authenticator |
ConditionalAuthenticatorFactory.create(KeycloakSession session) |
default Authenticator |
ConditionalAuthenticatorFactory.createDisplay(KeycloakSession session,
String displayType) |
void |
ConditionalUserConfiguredAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
ConditionalRoleAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
boolean |
ConsoleUsernamePasswordAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
ConsoleUsernamePasswordAuthenticatorFactory.create(KeycloakSession session) |
void |
ConsoleUsernamePasswordAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
boolean |
ValidateUsername.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
ValidatePassword.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
ValidateOTP.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
AbstractDirectGrantAuthenticator.create(KeycloakSession session) |
OTPCredentialProvider |
ValidateOTP.getCredentialProvider(KeycloakSession session) |
void |
ValidateUsername.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
ValidatePassword.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
ValidateOTP.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
boolean |
ResetOTP.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
ResetCredentialEmail.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
ResetCredentialChooseUser.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
AbstractSetRequiredActionAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
ResetCredentialEmail.create(KeycloakSession session) |
Authenticator |
ResetCredentialChooseUser.create(KeycloakSession session) |
Authenticator |
AbstractSetRequiredActionAuthenticator.create(KeycloakSession session) |
OTPCredentialProvider |
ResetOTP.getCredentialProvider(KeycloakSession session) |
static Long |
ResetCredentialEmail.getLastChangedTimestamp(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
ResetCredentialEmail.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
ResetCredentialChooseUser.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
AbstractSetRequiredActionAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
static String |
AuthenticatorUtils.getDisabledByBruteForceEventError(BruteForceProtector protector,
KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
CertificateValidator.CertificateValidatorBuilder |
AbstractX509ClientCertificateAuthenticator.certificateValidationParameters(KeycloakSession session,
X509AuthenticatorConfigModel config) |
static OCSPUtils.OCSPRevocationStatus |
OCSPUtils.check(KeycloakSession session,
X509Certificate cert,
X509Certificate issuerCertificate)
Requests certificate revocation status using OCSP.
|
static OCSPUtils.OCSPRevocationStatus |
OCSPUtils.check(KeycloakSession session,
X509Certificate cert,
X509Certificate issuerCertificate,
Date date,
X509Certificate responderCert)
Requests certificate revocation status using OCSP.
|
static OCSPUtils.OCSPRevocationStatus |
OCSPUtils.check(KeycloakSession session,
X509Certificate cert,
X509Certificate issuerCertificate,
URI responderURI,
X509Certificate responderCert,
Date date)
Requests certificate revocation status using OCSP.
|
boolean |
AbstractX509ClientCertificateAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
X509ClientCertificateAuthenticatorFactory.create(KeycloakSession session) |
Authenticator |
ValidateX509CertificateUsernameFactory.create(KeycloakSession session) |
CertificateValidator.CertificateValidatorBuilder |
CertificateValidator.CertificateValidatorBuilder.session(KeycloakSession session) |
void |
AbstractX509ClientCertificateAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Constructor and Description |
---|
CertificateValidator(X509Certificate[] certChain,
int keyUsageBits,
List<String> extendedKeyUsage,
boolean cRLCheckingEnabled,
boolean cRLDPCheckingEnabled,
CertificateValidator.CRLLoaderImpl crlLoader,
boolean oCSPCheckingEnabled,
CertificateValidator.OCSPChecker ocspChecker,
KeycloakSession session,
boolean timestampValidationEnabled) |
CRLFileLoader(KeycloakSession session,
String cRLPath) |
CRLFileLoader(KeycloakSession session,
String cRLPath,
CertificateValidator.LdapContext ldapContext) |
CRLListLoader(KeycloakSession session,
String cRLConfigValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
RegistrationUserCreation.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
RegistrationRecaptcha.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
RegistrationProfile.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
RegistrationPassword.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
FormAction |
RegistrationUserCreation.create(KeycloakSession session) |
FormAction |
RegistrationRecaptcha.create(KeycloakSession session) |
FormAction |
RegistrationProfile.create(KeycloakSession session) |
FormAction |
RegistrationPassword.create(KeycloakSession session) |
FormAuthenticator |
RegistrationPage.create(KeycloakSession session) |
void |
RegistrationUserCreation.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
RegistrationRecaptcha.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
RegistrationProfile.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
RegistrationPassword.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
RequiredActionProvider |
WebAuthnRegisterFactory.create(KeycloakSession session) |
RequiredActionProvider |
VerifyUserProfile.create(KeycloakSession session) |
RequiredActionProvider |
VerifyEmail.create(KeycloakSession session) |
RequiredActionProvider |
UpdateUserLocaleAction.create(KeycloakSession session) |
RequiredActionProvider |
UpdateTotp.create(KeycloakSession session) |
RequiredActionProvider |
UpdateProfile.create(KeycloakSession session) |
RequiredActionProvider |
UpdatePassword.create(KeycloakSession session) |
RequiredActionProvider |
TermsAndConditions.create(KeycloakSession session) |
RequiredActionProvider |
DeleteAccount.create(KeycloakSession session) |
RequiredActionProvider |
WebAuthnRegisterFactory.createDisplay(KeycloakSession session,
String displayType) |
RequiredActionProvider |
VerifyUserProfile.createDisplay(KeycloakSession session,
String displayType) |
RequiredActionProvider |
VerifyEmail.createDisplay(KeycloakSession session,
String displayType) |
RequiredActionProvider |
UpdateTotp.createDisplay(KeycloakSession session,
String displayType) |
RequiredActionProvider |
UpdateProfile.createDisplay(KeycloakSession session,
String displayType) |
RequiredActionProvider |
UpdatePassword.createDisplay(KeycloakSession session,
String displayType) |
RequiredActionProvider |
TermsAndConditions.createDisplay(KeycloakSession session,
String displayType) |
protected WebAuthnRegister |
WebAuthnRegisterFactory.createProvider(KeycloakSession session,
com.webauthn4j.validator.attestation.trustworthiness.certpath.CertPathTrustworthinessValidator trustValidator) |
protected WebAuthnRegister |
WebAuthnPasswordlessRegisterFactory.createProvider(KeycloakSession session,
com.webauthn4j.validator.attestation.trustworthiness.certpath.CertPathTrustworthinessValidator trustValidator) |
Constructor and Description |
---|
WebAuthnPasswordlessRegister(KeycloakSession session,
com.webauthn4j.validator.attestation.trustworthiness.certpath.CertPathTrustworthinessValidator certPathtrustValidator) |
WebAuthnRegister(KeycloakSession session,
com.webauthn4j.validator.attestation.trustworthiness.certpath.CertPathTrustworthinessValidator certPathtrustValidator) |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
AuthorizationProvider.getKeycloakSession() |
Modifier and Type | Method and Description |
---|---|
AuthorizationProvider |
DefaultAuthorizationProviderFactory.create(KeycloakSession session) |
AuthorizationProvider |
AuthorizationProviderFactory.create(KeycloakSession session,
RealmModel realm) |
AuthorizationProvider |
DefaultAuthorizationProviderFactory.create(KeycloakSession session,
RealmModel realm) |
Constructor and Description |
---|
AuthorizationProvider(KeycloakSession session,
RealmModel realm,
PolicyEvaluator policyEvaluator) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
PolicyService.create(String payload,
KeycloakSession session) |
Constructor and 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) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
KeycloakIdentity.keycloakSession |
protected KeycloakSession |
DefaultEvaluationContext.keycloakSession |
Constructor and Description |
---|
ClientModelIdentity(KeycloakSession session,
ClientModel client) |
DefaultEvaluationContext(Identity identity,
KeycloakSession keycloakSession) |
DefaultEvaluationContext(Identity identity,
Map<String,List<String>> claims,
KeycloakSession keycloakSession) |
KeycloakIdentity(AccessToken accessToken,
KeycloakSession keycloakSession) |
KeycloakIdentity(IDToken token,
KeycloakSession keycloakSession,
RealmModel realm) |
KeycloakIdentity(KeycloakSession keycloakSession) |
KeycloakIdentity(KeycloakSession keycloakSession,
IDToken token) |
Modifier and Type | Method and Description |
---|---|
WellKnownProvider |
UmaWellKnownProviderFactory.create(KeycloakSession session) |
static UmaConfiguration |
UmaConfiguration.create(KeycloakSession session) |
Constructor and Description |
---|
UmaWellKnownProvider(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
StoreFactory |
JPAAuthorizationStoreFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
AggregatePolicyProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
ClientPolicyProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
ClientScopePolicyProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
GroupPolicyProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
JSPolicyProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
UMAPolicyProviderFactory.create(KeycloakSession session) |
PolicyProvider |
ScopePolicyProviderFactory.create(KeycloakSession session) |
PolicyProvider |
ResourcePolicyProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
RolePolicyProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
TimePolicyProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
PolicyProvider |
UserPolicyProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
TokenIntrospectionProvider |
RPTIntrospectionProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
RPTIntrospectionProvider(KeycloakSession session) |
Constructor and Description |
---|
ResourceService(KeycloakSession session,
ResourceServer resourceServer,
Identity identity,
ResourceSetService resourceManager) |
Modifier and Type | Method and Description |
---|---|
static AccessToken |
Tokens.getAccessToken(KeycloakSession keycloakSession) |
static AccessToken |
Tokens.getAccessToken(String accessToken,
KeycloakSession keycloakSession) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractOAuth2IdentityProvider.Endpoint.session |
Modifier and Type | Method and Description |
---|---|
void |
OIDCIdentityProvider.backchannelLogout(KeycloakSession session,
UserSessionModel userSession,
javax.ws.rs.core.UriInfo uriInfo,
RealmModel realm) |
OIDCIdentityProvider |
OIDCIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
KeycloakOIDCIdentityProvider |
KeycloakOIDCIdentityProviderFactory.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> |
OIDCIdentityProviderFactory.parseConfig(KeycloakSession session,
InputStream inputStream) |
Map<String,String> |
KeycloakOIDCIdentityProviderFactory.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 broker
|
javax.ws.rs.core.Response |
AbstractOAuth2IdentityProvider.retrieveToken(KeycloakSession session,
FederatedIdentityModel identity) |
Constructor and Description |
---|
AbstractOAuth2IdentityProvider(KeycloakSession session,
C config) |
KeycloakOIDCIdentityProvider(KeycloakSession session,
OIDCIdentityProviderConfig config) |
OIDCIdentityProvider(KeycloakSession session,
OIDCIdentityProviderConfig config) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractIdentityProvider.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
AuthenticationRequest.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
IdentityProvider.backchannelLogout(KeycloakSession session,
UserSessionModel userSession,
javax.ws.rs.core.UriInfo uriInfo,
RealmModel realm) |
void |
AbstractIdentityProvider.backchannelLogout(KeycloakSession session,
UserSessionModel userSession,
javax.ws.rs.core.UriInfo uriInfo,
RealmModel realm) |
IdentityProviderMapper |
AbstractIdentityProviderMapper.create(KeycloakSession session) |
T |
AbstractIdentityProviderFactory.create(KeycloakSession session) |
T |
IdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model)
Creates an
IdentityProvider based on the configuration contained in
model . |
static void |
IdentityProviderMapperSyncModeDelegate.delegateUpdateBrokeredUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context,
IdentityProviderMapper mapper) |
void |
IdentityProvider.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
BrokeredIdentityContext context) |
void |
AbstractIdentityProvider.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
BrokeredIdentityContext context) |
void |
IdentityProviderMapper.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
Called after UserModel is created for first time for this user.
|
void |
AbstractIdentityProviderMapper.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
void |
HardcodedUserSessionAttributeMapper.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
void |
HardcodedRoleMapper.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
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.
|
javax.ws.rs.core.Response |
AbstractIdentityProvider.keycloakInitiatedBrowserLogout(KeycloakSession session,
UserSessionModel userSession,
javax.ws.rs.core.UriInfo uriInfo,
RealmModel realm) |
Map<String,String> |
IdentityProviderFactory.parseConfig(KeycloakSession session,
InputStream inputStream)
Creates an
IdentityProvider based on the configuration from
inputStream . |
Map<String,String> |
AbstractIdentityProviderFactory.parseConfig(KeycloakSession session,
InputStream inputStream) |
void |
IdentityProvider.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
BrokeredIdentityContext context) |
void |
AbstractIdentityProvider.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
BrokeredIdentityContext context) |
void |
IdentityProviderMapper.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
Called to determine what keycloak username and email to use to process the login request from the external IDP.
|
void |
AbstractIdentityProviderMapper.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
void |
HardcodedUserSessionAttributeMapper.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
void |
HardcodedAttributeMapper.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
javax.ws.rs.core.Response |
IdentityProvider.retrieveToken(KeycloakSession session,
FederatedIdentityModel identity)
Returns a
Response containing the token previously stored during the authentication process for a
specific user. |
void |
IdentityProvider.updateBrokeredUser(KeycloakSession session,
RealmModel realm,
UserModel user,
BrokeredIdentityContext context) |
void |
AbstractIdentityProvider.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.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 |
HardcodedRoleMapper.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 |
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.
|
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) |
Constructor and Description |
---|
AbstractIdentityProvider(KeycloakSession session,
C config) |
AuthenticationRequest(KeycloakSession session,
RealmModel realm,
AuthenticationSessionModel authSession,
org.jboss.resteasy.spi.HttpRequest httpRequest,
javax.ws.rs.core.UriInfo uriInfo,
IdentityBrokerState state,
String redirectUri) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
SAMLIdentityProvider(KeycloakSession session,
SAMLIdentityProviderConfig config,
DestinationValidator destinationValidator) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
default ComponentFactoryProvider |
ComponentFactoryProviderFactory.create(KeycloakSession session) |
ProviderType |
AmphibianProviderFactory.create(KeycloakSession session) |
default ProviderType |
ComponentFactory.create(KeycloakSession session) |
default ProviderType |
AmphibianProviderFactory.create(KeycloakSession session,
ComponentModel model)
Deprecated.
|
CreatedType |
ComponentFactory.create(KeycloakSession session,
ComponentModel model) |
default void |
ComponentFactory.onCreate(KeycloakSession session,
RealmModel realm,
ComponentModel model)
Called after a component is created
|
default 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.
|
Modifier and Type | Method and Description |
---|---|
HttpClientProvider |
DefaultHttpClientFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
InfinispanConnectionProvider |
DefaultInfinispanConnectionProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static KeycloakSession |
ThreadLocalSessionContext.getCurrentSession() |
Modifier and Type | Method and Description |
---|---|
JpaUpdaterProvider |
LiquibaseJpaUpdaterProviderFactory.create(KeycloakSession session) |
static void |
ThreadLocalSessionContext.setCurrentSession(KeycloakSession session) |
Constructor and Description |
---|
LiquibaseJpaUpdaterProvider(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
LiquibaseConnectionProvider |
DefaultLiquibaseConnectionProvider.create(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
CustomKeycloakTask.kcSession |
Modifier and Type | Method and Description |
---|---|
LiquibaseDBLockProvider |
LiquibaseDBLockProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
LiquibaseDBLockProvider(LiquibaseDBLockProviderFactory factory,
KeycloakSession session) |
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
PasswordCredentialProvider.session |
protected KeycloakSession |
OTPCredentialProvider.session |
Modifier and Type | Method and Description |
---|---|
protected KeycloakSession |
WebAuthnCredentialProvider.getKeycloakSession() |
Modifier and Type | Method and Description |
---|---|
CredentialValidationOutput |
UserCredentialStoreManager.authenticate(KeycloakSession session,
RealmModel realm,
CredentialInput input) |
CredentialTypeMetadataContext |
CredentialTypeMetadataContext.CredentialTypeMetadataContextBuilder.build(KeycloakSession session) |
CredentialTypeMetadata |
CredentialTypeMetadata.CredentialTypeMetadataBuilder.build(KeycloakSession session)
This will validate metadata and return them
|
CredentialProvider |
WebAuthnPasswordlessCredentialProviderFactory.create(KeycloakSession session) |
CredentialProvider |
WebAuthnCredentialProviderFactory.create(KeycloakSession session) |
PasswordCredentialProvider |
PasswordCredentialProviderFactory.create(KeycloakSession session) |
OTPCredentialProvider |
OTPCredentialProviderFactory.create(KeycloakSession session) |
static <T> Stream<T> |
UserCredentialStoreManager.getCredentialProviders(KeycloakSession session,
Class<T> type) |
default T |
CredentialProvider.getDefaultCredential(KeycloakSession session,
RealmModel realm,
UserModel user) |
Constructor and Description |
---|
OTPCredentialProvider(KeycloakSession session) |
PasswordCredentialProvider(KeycloakSession session) |
UserCredentialStoreManager(KeycloakSession session) |
WebAuthnCredentialProvider(KeycloakSession session,
com.webauthn4j.converter.util.ObjectConverter objectConverter) |
WebAuthnPasswordlessCredentialProvider(KeycloakSession session,
com.webauthn4j.converter.util.ObjectConverter objectConverter) |
Modifier and Type | Method and Description |
---|---|
PasswordHashProvider |
Pbkdf2Sha512PasswordHashProviderFactory.create(KeycloakSession session) |
PasswordHashProvider |
Pbkdf2Sha256PasswordHashProviderFactory.create(KeycloakSession session) |
PasswordHashProvider |
Pbkdf2PasswordHashProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
HashProvider |
SHA512HashProviderFactory.create(KeycloakSession session) |
HashProvider |
SHA384HashProviderFactory.create(KeycloakSession session) |
HashProvider |
SHA256HashProviderFactory.create(KeycloakSession session) |
CekManagementProvider |
RsaesPkcs1CekManagementProviderFactory.create(KeycloakSession session) |
CekManagementProvider |
RsaesOaepCekManagementProviderFactory.create(KeycloakSession session) |
CekManagementProvider |
RsaesOaep256CekManagementProviderFactory.create(KeycloakSession session) |
SignatureProvider |
RS512SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
RS512ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
RS384SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
RS384ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
RS256SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
RS256ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
PS512SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
PS512ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
PS384SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
PS384ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
PS256SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
PS256ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
HS512SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
HS512ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
HS384SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
HS384ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
HS256SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
HS256ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
ES512SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
ES512ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
ES384SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
ES384ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
SignatureProvider |
ES256SignatureProviderFactory.create(KeycloakSession session) |
ClientSignatureVerifierProvider |
ES256ClientSignatureVerifierProviderFactory.create(KeycloakSession session) |
ContentEncryptionProvider |
Aes256GcmContentEncryptionProviderFactory.create(KeycloakSession session) |
ContentEncryptionProvider |
Aes256CbcHmacSha512ContentEncryptionProviderFactory.create(KeycloakSession session) |
ContentEncryptionProvider |
Aes192GcmContentEncryptionProviderFactory.create(KeycloakSession session) |
ContentEncryptionProvider |
Aes192CbcHmacSha384ContentEncryptionProviderFactory.create(KeycloakSession session) |
ContentEncryptionProvider |
Aes128GcmContentEncryptionProviderFactory.create(KeycloakSession session) |
ContentEncryptionProvider |
Aes128CbcHmacSha256ContentEncryptionProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
static void |
DeviceActivityManager.attachDevice(UserSessionModel userSession,
KeycloakSession session)
Attaches a device to the given
userSession where the device information is obtained from the HttpHeaders.USER_AGENT in the current
request, if available. |
Modifier and Type | Method and Description |
---|---|
EmailSenderProvider |
DefaultEmailSenderProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
DefaultEmailSenderProvider(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
FreeMarkerEmailTemplateProvider.session |
Modifier and Type | Method and Description |
---|---|
EmailTemplateProvider |
FreeMarkerEmailTemplateProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
FreeMarkerEmailTemplateProvider(KeycloakSession session,
FreeMarkerUtil freeMarker) |
Modifier and Type | Method and Description |
---|---|
ResourceEncodingProvider |
GzipResourceEncodingProviderFactory.create(KeycloakSession session) |
static ResourceEncodingProvider |
ResourceEncodingHelper.getResourceEncodingProvider(KeycloakSession session,
String contentType) |
Constructor and Description |
---|
GzipResourceEncodingProvider(KeycloakSession session,
File cacheDir) |
Constructor and Description |
---|
EventBuilder(RealmModel realm,
KeycloakSession session,
ClientConnection clientConnection) |
Modifier and Type | Method and Description |
---|---|
EventListenerProvider |
EmailEventListenerProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
EmailEventListenerProvider(KeycloakSession session,
EmailTemplateProvider emailTemplateProvider,
Set<EventType> includedEvents) |
Modifier and Type | Method and Description |
---|---|
EventStoreProvider |
JpaEventStoreProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
JpaEventStoreProvider(KeycloakSession session,
javax.persistence.EntityManager em,
int maxDetailLength) |
Modifier and Type | Method and Description |
---|---|
EventListenerProvider |
JBossLoggingEventListenerProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
JBossLoggingEventListenerProvider(KeycloakSession session,
org.jboss.logging.Logger logger,
org.jboss.logging.Logger.Level successLevel,
org.jboss.logging.Logger.Level errorLevel) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
ClientDescriptionConverter |
KeycloakClientDescriptionConverter.create(KeycloakSession session) |
Constructor and Description |
---|
ExportImportManager(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
ImportProvider |
DirImportProviderFactory.create(KeycloakSession session) |
ExportProvider |
DirExportProviderFactory.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) |
Modifier and Type | Method and Description |
---|---|
ImportProvider |
SingleFileImportProviderFactory.create(KeycloakSession session) |
ExportProvider |
SingleFileExportProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
static ResourceServerRepresentation |
ExportUtils.exportAuthorizationSettings(KeycloakSession session,
ClientModel client) |
static ClientRepresentation |
ExportUtils.exportClient(KeycloakSession session,
ClientModel client)
Full export of application including claims and secret
|
static 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 realm
|
static 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) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
KerberosFederationProvider.session |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
KerberosFederationProvider(KeycloakSession session,
UserStorageProviderModel model,
KerberosFederationProviderFactory factory) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
SSSDFederationProvider.session |
Modifier and Type | Method and Description |
---|---|
SSSDFederationProvider |
SSSDFederationProviderFactory.create(KeycloakSession session,
ComponentModel model) |
Constructor and Description |
---|
SSSDFederationProvider(KeycloakSession session,
UserStorageProviderModel model,
SSSDFederationProviderFactory sssdFederationProviderFactory) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
FreeMarkerAccountProvider.session |
Modifier and Type | Method and Description |
---|---|
AccountProvider |
FreeMarkerAccountProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
FreeMarkerAccountProvider(KeycloakSession session,
FreeMarkerUtil freeMarker) |
Constructor and 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,
UserModel user,
javax.ws.rs.core.UriInfo uriInfo) |
TotpBean(KeycloakSession session,
RealmModel realm,
UserModel user,
javax.ws.rs.core.UriBuilder uriBuilder) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
FreeMarkerLoginFormsProvider.session |
Modifier and Type | Method and Description |
---|---|
LoginFormsProvider |
FreeMarkerLoginFormsProviderFactory.create(KeycloakSession session) |
static List<IdentityProviderModel> |
LoginFormsUtil.filterIdentityProviders(Stream<IdentityProviderModel> providers,
KeycloakSession session,
AuthenticationFlowContext context) |
static List<IdentityProviderModel> |
LoginFormsUtil.filterIdentityProvidersByUser(List<IdentityProviderModel> providers,
KeycloakSession session,
RealmModel realm,
Map<String,Object> attributes,
javax.ws.rs.core.MultivaluedMap<String,String> formData) |
Constructor and Description |
---|
AuthenticatorConfiguredMethod(RealmModel realm,
UserModel user,
KeycloakSession session) |
FreeMarkerLoginFormsProvider(KeycloakSession session,
FreeMarkerUtil freeMarker) |
Constructor and Description |
---|
ClientBean(KeycloakSession session,
ClientModel client) |
IdentityProviderBean(RealmModel realm,
KeycloakSession session,
List<IdentityProviderModel> identityProviders,
URI baseURI) |
TotpBean(KeycloakSession session,
RealmModel realm,
UserModel user,
javax.ws.rs.core.UriBuilder uriBuilder) |
TotpLoginBean(KeycloakSession session,
RealmModel realm,
UserModel user,
String selectedCredentialId) |
VerifyProfileBean(UserModel user,
javax.ws.rs.core.MultivaluedMap<String,String> formData,
KeycloakSession session) |
WebAuthnAuthenticatorsBean(KeycloakSession session,
RealmModel realm,
UserModel user,
String credentialType) |
Modifier and Type | Method and Description |
---|---|
SecurityHeadersProvider |
DefaultSecurityHeadersProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
DefaultSecurityHeadersProvider(KeycloakSession session) |
Constructor and Description |
---|
DefaultTokenManager(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
T |
KeyProviderFactory.create(KeycloakSession session,
ComponentModel model) |
KeyProvider |
JavaKeystoreKeyProviderFactory.create(KeycloakSession session,
ComponentModel model) |
KeyProvider |
ImportedRsaKeyProviderFactory.create(KeycloakSession session,
ComponentModel model) |
KeyProvider |
GeneratedRsaKeyProviderFactory.create(KeycloakSession session,
ComponentModel model) |
GeneratedHmacKeyProvider |
GeneratedHmacKeyProviderFactory.create(KeycloakSession session,
ComponentModel model) |
KeyProvider |
GeneratedEcdsaKeyProviderFactory.create(KeycloakSession session,
ComponentModel model) |
GeneratedAesKeyProvider |
GeneratedAesKeyProviderFactory.create(KeycloakSession session,
ComponentModel model) |
default boolean |
KeyProviderFactory.createFallbackKeys(KeycloakSession session,
KeyUse keyUse,
String algorithm) |
boolean |
GeneratedRsaKeyProviderFactory.createFallbackKeys(KeycloakSession session,
KeyUse keyUse,
String algorithm) |
boolean |
GeneratedHmacKeyProviderFactory.createFallbackKeys(KeycloakSession session,
KeyUse keyUse,
String algorithm) |
boolean |
GeneratedEcdsaKeyProviderFactory.createFallbackKeys(KeycloakSession session,
KeyUse keyUse,
String algorithm) |
boolean |
GeneratedAesKeyProviderFactory.createFallbackKeys(KeycloakSession session,
KeyUse keyUse,
String algorithm) |
void |
JavaKeystoreKeyProviderFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
void |
ImportedRsaKeyProviderFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
void |
GeneratedRsaKeyProviderFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
void |
GeneratedEcdsaKeyProviderFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
void |
AbstractRsaKeyProviderFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
void |
AbstractGeneratedSecretKeyProviderFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
void |
AbstractEcdsaKeyProviderFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
Constructor and Description |
---|
DefaultKeyManager(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
PublicKeyStorageProvider |
InfinispanPublicKeyStorageProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
InfinispanPublicKeyStorageProvider(KeycloakSession session,
org.infinispan.Cache<String,PublicKeysEntry> keys,
Map<String,FutureTask<PublicKeysEntry>> tasksInProgress,
int minTimeBetweenRequests) |
Modifier and Type | Method and 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 PublicKey |
PublicKeyStorageManager.getIdentityProviderPublicKey(KeycloakSession session,
RealmModel realm,
OIDCIdentityProviderConfig idpConfig,
JWSInput input) |
Constructor and Description |
---|
ClientPublicKeyLoader(KeycloakSession session,
ClientModel client) |
ClientPublicKeyLoader(KeycloakSession session,
ClientModel client,
JWK.Use keyUse) |
OIDCIdentityProviderPublicKeyLoader(KeycloakSession session,
OIDCIdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
LocaleUpdaterProvider |
DefaultLocaleUpdaterProviderFactory.create(KeycloakSession session) |
LocaleSelectorProvider |
DefaultLocaleSelectorProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
DefaultLocaleSelectorProvider(KeycloakSession session) |
DefaultLocaleUpdaterProvider(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
static void |
MigrationModelManager.migrate(KeycloakSession session) |
static void |
MigrationModelManager.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
Modifier and Type | Method and Description |
---|---|
void |
Migration.migrate(KeycloakSession session) |
void |
MigrateTo9_0_4.migrate(KeycloakSession session) |
void |
MigrateTo9_0_0.migrate(KeycloakSession session) |
void |
MigrateTo8_0_2.migrate(KeycloakSession session) |
void |
MigrateTo8_0_0.migrate(KeycloakSession session) |
void |
MigrateTo6_0_0.migrate(KeycloakSession session) |
void |
MigrateTo4_6_0.migrate(KeycloakSession session) |
void |
MigrateTo4_2_0.migrate(KeycloakSession session) |
void |
MigrateTo4_0_0.migrate(KeycloakSession session) |
void |
MigrateTo3_4_2.migrate(KeycloakSession session) |
void |
MigrateTo3_4_1.migrate(KeycloakSession session) |
void |
MigrateTo3_4_0.migrate(KeycloakSession session) |
void |
MigrateTo3_2_0.migrate(KeycloakSession session) |
void |
MigrateTo3_1_0.migrate(KeycloakSession session) |
void |
MigrateTo3_0_0.migrate(KeycloakSession session) |
void |
MigrateTo2_5_0.migrate(KeycloakSession session) |
void |
MigrateTo2_3_0.migrate(KeycloakSession session) |
void |
MigrateTo2_2_0.migrate(KeycloakSession session) |
void |
MigrateTo2_1_0.migrate(KeycloakSession session) |
void |
MigrateTo2_0_0.migrate(KeycloakSession session) |
void |
MigrateTo1_9_2.migrate(KeycloakSession session) |
void |
MigrateTo1_9_0.migrate(KeycloakSession session) |
void |
MigrateTo1_8_0.migrate(KeycloakSession session) |
void |
MigrateTo1_7_0.migrate(KeycloakSession session) |
void |
MigrateTo1_6_0.migrate(KeycloakSession session) |
void |
MigrateTo1_5_0.migrate(KeycloakSession session) |
void |
MigrateTo1_4_0.migrate(KeycloakSession session) |
void |
MigrateTo1_3_0.migrate(KeycloakSession session) |
void |
MigrateTo1_2_0.migrate(KeycloakSession session) |
void |
MigrateTo14_0_0.migrate(KeycloakSession session) |
void |
MigrateTo12_0_0.migrate(KeycloakSession session) |
default void |
Migration.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent)
Called after full import of representation.
|
void |
MigrateTo9_0_4.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo9_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 |
MigrateTo8_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo6_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo4_6_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_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo3_4_2.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_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_1_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo3_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo2_5_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_2_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_0_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo1_9_2.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
void |
MigrateTo1_8_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_6_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_4_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_2_0.migrateImport(KeycloakSession session,
RealmModel realm,
RealmRepresentation rep,
boolean skipUserDependent) |
static void |
MigrationUtils.migrateOldOfflineToken(KeycloakSession session,
RealmModel realm,
ClientModel client,
UserModel user) |
protected void |
MigrateTo1_6_0.migrateRealm(KeycloakSession session,
ProtocolMapperModel localeMapper,
RealmModel realm) |
protected void |
MigrateTo3_2_0.migrateRealm(KeycloakSession session,
RealmModel realm) |
protected void |
MigrateTo1_7_0.migrateRealm(KeycloakSession session,
RealmModel realm) |
protected void |
MigrateTo1_5_0.migrateRealm(KeycloakSession session,
RealmModel realm) |
protected void |
MigrateTo1_4_0.migrateRealm(KeycloakSession session,
RealmModel realm) |
protected void |
MigrateTo6_0_0.migrateRealm(KeycloakSession session,
RealmModel realm,
boolean jsn) |
protected void |
MigrateTo4_6_0.migrateRealm(KeycloakSession session,
RealmModel realm,
boolean json) |
protected void |
MigrateTo4_0_0.migrateRealm(KeycloakSession session,
RealmModel realm,
boolean json) |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
KeycloakSessionFactory.create() |
KeycloakSession |
UserSessionProvider.getKeycloakSession()
Returns currently used Keycloak session.
|
KeycloakSession |
UserModel.UserRemovedEvent.getKeycloakSession() |
KeycloakSession |
RoleContainerModel.RoleRemovedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.RealmCreationEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.RealmPostCreateEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.RealmRemovedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.IdentityProviderUpdatedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.IdentityProviderRemovedEvent.getKeycloakSession() |
KeycloakSession |
GroupModel.GroupRemovedEvent.getKeycloakSession() |
KeycloakSession |
ClientScopeModel.ClientScopeRemovedEvent.getKeycloakSession() |
KeycloakSession |
ClientModel.ClientUpdatedEvent.getKeycloakSession() |
KeycloakSession |
ClientModel.ClientRemovedEvent.getKeycloakSession() |
Modifier and Type | Method and Description |
---|---|
CredentialValidationOutput |
UserCredentialManager.authenticate(KeycloakSession session,
RealmModel realm,
CredentialInput input)
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) |
static void |
ImpersonationConstants.setupImpersonationService(KeycloakSession session,
RealmModel realm) |
Constructor and Description |
---|
KeycloakUriInfo(KeycloakSession session,
UrlType type,
javax.ws.rs.core.UriInfo delegate) |
UserManager(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
CachedRealmModel.RealmCachedEvent.getKeycloakSession() |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
UserAdapter.keycloakSession |
protected KeycloakSession |
GroupAdapter.keycloakSession |
protected KeycloakSession |
UserCacheSession.session |
protected KeycloakSession |
RealmCacheSession.session |
protected KeycloakSession |
RealmAdapter.session |
Modifier and Type | Method and Description |
---|---|
UserCache |
InfinispanUserCacheProviderFactory.create(KeycloakSession session) |
CacheRealmProvider |
InfinispanCacheRealmProviderFactory.create(KeycloakSession session) |
void |
CacheManager.sendInvalidationEvents(KeycloakSession session,
Collection<InvalidationEvent> invalidationEvents,
String eventKey) |
Constructor and Description |
---|
GroupAdapter(CachedGroup cached,
RealmCacheSession cacheSession,
KeycloakSession keycloakSession,
RealmModel realm) |
RealmAdapter(KeycloakSession session,
CachedRealm cached,
RealmCacheSession cacheSession) |
RealmCacheSession(RealmCacheManager cache,
KeycloakSession session) |
UserAdapter(CachedUser cached,
UserCacheSession userProvider,
KeycloakSession keycloakSession,
RealmModel realm) |
UserCacheSession(UserCacheManager cache,
KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
StoreFactoryCacheSession.session |
Modifier and Type | Method and Description |
---|---|
CachedStoreFactoryProvider |
InfinispanCacheStoreFactoryProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
StoreFactoryCacheSession(StoreFactoryCacheManager cache,
KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
DBLockProvider |
NoLockingDBLockProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
DBLockManager(KeycloakSession session) |
Constructor and Description |
---|
WithId(KeycloakSession session,
RealmModel realm,
String id) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
RoleAdapter.session |
protected KeycloakSession |
RealmAdapter.session |
protected KeycloakSession |
ClientScopeAdapter.session |
protected KeycloakSession |
ClientAdapter.session |
Modifier and Type | Method and Description |
---|---|
UserProvider |
JpaUserProviderFactory.create(KeycloakSession session) |
UserCredentialStore |
JpaUserCredentialStoreFactory.create(KeycloakSession session) |
RoleProvider |
JpaRoleProviderFactory.create(KeycloakSession session) |
JpaRealmProvider |
JpaRealmProviderFactory.create(KeycloakSession session) |
GroupProvider |
JpaGroupProviderFactory.create(KeycloakSession session) |
DeploymentStateProvider |
JpaDeploymentStateProviderFactory.create(KeycloakSession session) |
ClientScopeProvider |
JpaClientScopeProviderFactory.create(KeycloakSession session) |
ClientProvider |
JpaClientProviderFactory.create(KeycloakSession session) |
Constructor and 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) |
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) |
Modifier and Type | Method and Description |
---|---|
UserSessionPersisterProvider |
JpaUserSessionPersisterProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
JpaUserSessionPersisterProvider(KeycloakSession session,
javax.persistence.EntityManager em) |
Modifier and Type | Method and Description |
---|---|
StoreFactory |
MapAuthorizationStoreFactory.create(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractRootAuthenticationSessionModel.session |
Modifier and Type | Method and Description |
---|---|
AuthenticationSessionProvider |
MapRootAuthenticationSessionProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractRootAuthenticationSessionModel(KeycloakSession session,
RealmModel realm,
E entity) |
MapAuthenticationSessionAdapter(KeycloakSession session,
MapRootAuthenticationSessionAdapter parent,
String tabId,
MapAuthenticationSessionEntity entity) |
MapRootAuthenticationSessionAdapter(KeycloakSession session,
RealmModel realm,
MapRootAuthenticationSessionEntity<K> entity) |
MapRootAuthenticationSessionProvider(KeycloakSession session,
MapStorage<K,MapRootAuthenticationSessionEntity<K>,RootAuthenticationSessionModel> sessionStore) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractClientModel.session |
Modifier and Type | Method and Description |
---|---|
MapClientProvider |
MapClientProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractClientModel(KeycloakSession session,
RealmModel realm,
E entity) |
MapClientAdapter(KeycloakSession session,
RealmModel realm,
MapClientEntity<K> entity) |
MapClientProvider(KeycloakSession session,
MapStorage<K,MapClientEntity<K>,ClientModel> clientStore,
ConcurrentMap<K,ConcurrentMap<String,Integer>> clientRegisteredNodesStore) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractClientScopeModel.session |
Modifier and Type | Method and Description |
---|---|
ClientScopeProvider |
MapClientScopeProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractClientScopeModel(KeycloakSession session,
RealmModel realm,
E entity) |
MapClientScopeAdapter(KeycloakSession session,
RealmModel realm,
MapClientScopeEntity<K> entity) |
MapClientScopeProvider(KeycloakSession session,
MapStorage<K,MapClientScopeEntity<K>,ClientScopeModel> clientScopeStore) |
Modifier and Type | Method and Description |
---|---|
protected MapStorage<K,V,M> |
AbstractMapProviderFactory.getStorage(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
DeploymentStateProvider |
MapDeploymentStateProviderFactory.create(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractGroupModel.session |
Modifier and Type | Method and Description |
---|---|
MapGroupProvider |
MapGroupProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractGroupModel(KeycloakSession session,
RealmModel realm,
E entity) |
MapGroupAdapter(KeycloakSession session,
RealmModel realm,
MapGroupEntity<K> entity) |
MapGroupProvider(KeycloakSession session,
MapStorage<K,MapGroupEntity<K>,GroupModel> groupStore) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractUserLoginFailureModel.session |
Modifier and Type | Method and Description |
---|---|
MapUserLoginFailureProvider<K> |
MapUserLoginFailureProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractUserLoginFailureModel(KeycloakSession session,
RealmModel realm,
E entity) |
MapUserLoginFailureAdapter(KeycloakSession session,
RealmModel realm,
MapUserLoginFailureEntity<K> entity) |
MapUserLoginFailureProvider(KeycloakSession session,
MapStorage<K,MapUserLoginFailureEntity<K>,UserLoginFailureModel> userLoginFailureStore) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractRealmModel.session |
Modifier and Type | Method and Description |
---|---|
RealmProvider |
MapRealmProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractRealmModel(KeycloakSession session,
E entity) |
MapRealmAdapter(KeycloakSession session,
MapRealmEntity<K> entity) |
MapRealmProvider(KeycloakSession session,
MapStorage<K,MapRealmEntity<K>,RealmModel> realmStore) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractRoleModel.session |
Modifier and Type | Method and Description |
---|---|
RoleProvider |
MapRoleProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractRoleModel(KeycloakSession session,
RealmModel realm,
E entity) |
MapRoleAdapter(KeycloakSession session,
RealmModel realm,
MapRoleEntity<K> entity) |
MapRoleProvider(KeycloakSession session,
MapStorage<K,MapRoleEntity<K>,RoleModel> roleStore) |
Modifier and Type | Method and Description |
---|---|
MapKeycloakTransaction<K,V,M> |
MapStorage.createTransaction(KeycloakSession session)
Creates a
MapKeycloakTransaction object that tracks a new transaction related to this storage. |
Modifier and Type | Method and Description |
---|---|
MapStorageProvider |
ConcurrentHashMapStorageProviderFactory.create(KeycloakSession session) |
MapKeycloakTransaction<K,MapUserSessionEntity<K>,UserSessionModel> |
UserSessionConcurrentHashMapStorage.createTransaction(KeycloakSession session) |
MapKeycloakTransaction<K,V,M> |
ConcurrentHashMapStorage.createTransaction(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractUserModel.session |
Modifier and Type | Method and Description |
---|---|
UserProvider |
MapUserProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractUserModel(KeycloakSession session,
RealmModel realm,
E entity) |
MapUserAdapter(KeycloakSession session,
RealmModel realm,
MapUserEntity<K> entity) |
MapUserProvider(KeycloakSession session,
MapStorage<K,MapUserEntity<K>,UserModel> store) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractUserSessionModel.session |
protected KeycloakSession |
AbstractAuthenticatedClientSessionModel.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
MapUserSessionProvider.getKeycloakSession() |
Modifier and Type | Method and Description |
---|---|
MapUserSessionProvider<UK,CK> |
MapUserSessionProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractAuthenticatedClientSessionModel(KeycloakSession session,
RealmModel realm,
ClientModel client,
UserSessionModel userSession,
MapAuthenticatedClientSessionEntity<K> entity) |
AbstractUserSessionModel(KeycloakSession session,
RealmModel realm,
MapUserSessionEntity<K> entity) |
MapAuthenticatedClientSessionAdapter(KeycloakSession session,
RealmModel realm,
ClientModel client,
UserSessionModel userSession,
MapAuthenticatedClientSessionEntity<K> entity) |
MapUserSessionAdapter(KeycloakSession session,
RealmModel realm,
MapUserSessionEntity<K> entity) |
MapUserSessionProvider(KeycloakSession session,
MapStorage<UK,MapUserSessionEntity<UK>,UserSessionModel> userSessionStore,
MapStorage<CK,MapAuthenticatedClientSessionEntity<CK>,AuthenticatedClientSessionModel> clientSessionStore) |
Modifier and Type | Method and Description |
---|---|
UserSessionPersisterProvider |
DisabledUserSessionPersisterProvider.create(KeycloakSession session) |
Constructor and 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) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
InfinispanUserSessionProvider.session |
protected KeycloakSession |
InfinispanUserLoginFailureProvider.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
InfinispanUserSessionProvider.getKeycloakSession() |
Modifier and Type | Method and Description |
---|---|
protected void |
InfinispanUserSessionProviderFactory.checkRemoteCaches(KeycloakSession session) |
protected void |
InfinispanUserLoginFailureProviderFactory.checkRemoteCaches(KeycloakSession session) |
InfinispanUserSessionProvider |
InfinispanUserSessionProviderFactory.create(KeycloakSession session) |
UserLoginFailureProvider |
InfinispanUserLoginFailureProviderFactory.create(KeycloakSession session) |
TokenRevocationStoreProvider |
InfinispanTokenRevocationStoreProviderFactory.create(KeycloakSession session) |
StickySessionEncoderProvider |
InfinispanStickySessionEncoderProviderFactory.create(KeycloakSession session) |
InfinispanSingleUseTokenStoreProvider |
InfinispanSingleUseTokenStoreProviderFactory.create(KeycloakSession session) |
SamlArtifactSessionMappingStoreProvider |
InfinispanSamlArtifactSessionMappingStoreProviderFactory.create(KeycloakSession session) |
OAuth2DeviceTokenStoreProvider |
InfinispanOAuth2DeviceTokenStoreProviderFactory.create(KeycloakSession session) |
CodeToTokenStoreProvider |
InfinispanCodeToTokenStoreProviderFactory.create(KeycloakSession session) |
AuthenticationSessionProvider |
InfinispanAuthenticationSessionProviderFactory.create(KeycloakSession session) |
ActionTokenStoreProvider |
InfinispanActionTokenStoreProviderFactory.create(KeycloakSession session) |
protected void |
InfinispanUserSessionProviderFactory.registerClusterListeners(KeycloakSession session) |
protected void |
InfinispanUserLoginFailureProviderFactory.registerClusterListeners(KeycloakSession session) |
protected void |
InfinispanAuthenticationSessionProviderFactory.registerClusterListeners(KeycloakSession session) |
Constructor and Description |
---|
InfinispanChangelogBasedTransaction(KeycloakSession kcSession,
org.infinispan.Cache<K,SessionEntityWrapper<V>> cache,
RemoteCacheInvoker remoteCacheInvoker,
BiFunction<RealmModel,V,Long> lifespanMsLoader,
BiFunction<RealmModel,V,Long> maxIdleTimeMsLoader) |
Modifier and Type | Method and Description |
---|---|
PersisterLastSessionRefreshStore |
PersisterLastSessionRefreshStoreFactory.createAndInit(KeycloakSession kcSession,
boolean offline) |
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) |
void |
AbstractLastSessionRefreshStore.putLastSessionRefresh(KeycloakSession kcSession,
String sessionId,
String realmId,
int lastSessionRefresh) |
protected void |
PersisterLastSessionRefreshStore.sendMessage(KeycloakSession kcSession,
Map<String,SessionData> refreshesToSend) |
protected void |
CrossDCLastSessionRefreshStore.sendMessage(KeycloakSession kcSession,
Map<String,SessionData> refreshesToSend) |
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 method
|
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) |
Constructor and Description |
---|
CrossDCLastSessionRefreshListener(KeycloakSession session,
org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache,
boolean offline) |
Modifier and Type | Method and Description |
---|---|
static ClientRemovedSessionEvent |
ClientRemovedSessionEvent.create(KeycloakSession session,
String eventKey,
String realmId,
boolean resendingEvent,
String clientUuid) |
static <T extends SessionClusterEvent> |
SessionClusterEvent.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) |
Constructor and Description |
---|
SessionEventsSenderTransaction(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
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.
|
OfflinePersistentLoaderContext |
OfflinePersistentUserSessionLoader.computeLoaderContext(KeycloakSession session) |
void |
SessionLoader.init(KeycloakSession session)
Will be triggered just once on cluster coordinator node to perform some generic initialization tasks (Eg.
|
void |
OfflinePersistentUserSessionLoader.init(KeycloakSession session) |
WORKER_RESULT |
SessionLoader.loadSessions(KeycloakSession session,
LOADER_CONTEXT loaderContext,
WORKER_CONTEXT workerContext)
Will be called on all cluster nodes to load the specified page.
|
OfflinePersistentWorkerResult |
OfflinePersistentUserSessionLoader.loadSessions(KeycloakSession session,
OfflinePersistentLoaderContext loaderContext,
OfflinePersistentWorkerContext ctx) |
Constructor and Description |
---|
DBLockBasedCacheInitializer(KeycloakSession session,
CacheInitializer delegate) |
Modifier and Type | Method and Description |
---|---|
RemoteCacheSessionsLoaderContext |
RemoteCacheSessionsLoader.computeLoaderContext(KeycloakSession session) |
static <K,V extends SessionEntity> |
RemoteCacheSessionListener.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) |
void |
RemoteCacheSessionsLoader.init(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) |
SessionLoader.WorkerResult |
RemoteCacheSessionsLoader.loadSessions(KeycloakSession session,
RemoteCacheSessionsLoaderContext loaderContext,
SessionLoader.WorkerContext ctx) |
<K,V extends SessionEntity> |
RemoteCacheInvoker.runTask(KeycloakSession kcSession,
RealmModel realm,
String cacheName,
K key,
MergedUpdate<V> task,
SessionEntityWrapper<V> sessionWrapper) |
Modifier and Type | Method and Description |
---|---|
String |
InfinispanKeyGenerator.generateKeyString(KeycloakSession session,
org.infinispan.Cache<String,?> cache) |
UUID |
InfinispanKeyGenerator.generateKeyUUID(KeycloakSession session,
org.infinispan.Cache<UUID,?> cache) |
static TopologyInfo |
InfinispanUtil.getTopologyInfo(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
void |
ClientsPartialImport.create(RealmModel realm,
KeycloakSession session,
ClientRepresentation clientRep) |
void |
GroupsPartialImport.create(RealmModel realm,
KeycloakSession session,
GroupRepresentation groupRep) |
void |
IdentityProvidersPartialImport.create(RealmModel realm,
KeycloakSession session,
IdentityProviderRepresentation idpRep) |
void |
RealmRolesPartialImport.create(RealmModel realm,
KeycloakSession session,
RoleRepresentation roleRep) |
abstract void |
AbstractPartialImport.create(RealmModel realm,
KeycloakSession session,
T resourceRep) |
void |
UsersPartialImport.create(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
PartialImportResults |
RolesPartialImport.doImport(PartialImportRepresentation rep,
RealmModel realm,
KeycloakSession session) |
PartialImportResults |
PartialImport.doImport(PartialImportRepresentation rep,
RealmModel realm,
KeycloakSession session)
Create (or re-create) all the imported resources.
|
PartialImportResults |
AbstractPartialImport.doImport(PartialImportRepresentation partialImportRep,
RealmModel realm,
KeycloakSession session) |
boolean |
ClientsPartialImport.exists(RealmModel realm,
KeycloakSession session,
ClientRepresentation clientRep) |
boolean |
GroupsPartialImport.exists(RealmModel realm,
KeycloakSession session,
GroupRepresentation groupRep) |
boolean |
IdentityProvidersPartialImport.exists(RealmModel realm,
KeycloakSession session,
IdentityProviderRepresentation idpRep) |
boolean |
RealmRolesPartialImport.exists(RealmModel realm,
KeycloakSession session,
RoleRepresentation roleRep) |
boolean |
ClientRolesPartialImport.exists(RealmModel realm,
KeycloakSession session,
String clientId,
RoleRepresentation roleRep) |
abstract boolean |
AbstractPartialImport.exists(RealmModel realm,
KeycloakSession session,
T resourceRep) |
boolean |
UsersPartialImport.exists(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
String |
ClientsPartialImport.getModelId(RealmModel realm,
KeycloakSession session,
ClientRepresentation clientRep) |
String |
GroupsPartialImport.getModelId(RealmModel realm,
KeycloakSession session,
GroupRepresentation groupRep) |
String |
IdentityProvidersPartialImport.getModelId(RealmModel realm,
KeycloakSession session,
IdentityProviderRepresentation idpRep) |
String |
RealmRolesPartialImport.getModelId(RealmModel realm,
KeycloakSession session,
RoleRepresentation roleRep) |
abstract String |
AbstractPartialImport.getModelId(RealmModel realm,
KeycloakSession session,
T resourceRep) |
String |
UsersPartialImport.getModelId(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
void |
RolesPartialImport.prepare(PartialImportRepresentation rep,
RealmModel realm,
KeycloakSession session) |
void |
PartialImport.prepare(PartialImportRepresentation rep,
RealmModel realm,
KeycloakSession session)
Find which resources will need to be skipped or overwritten.
|
void |
ClientRolesPartialImport.prepare(PartialImportRepresentation partialImportRep,
RealmModel realm,
KeycloakSession session) |
void |
AbstractPartialImport.prepare(PartialImportRepresentation partialImportRep,
RealmModel realm,
KeycloakSession session) |
void |
ClientsPartialImport.remove(RealmModel realm,
KeycloakSession session,
ClientRepresentation clientRep) |
void |
GroupsPartialImport.remove(RealmModel realm,
KeycloakSession session,
GroupRepresentation groupRep) |
void |
IdentityProvidersPartialImport.remove(RealmModel realm,
KeycloakSession session,
IdentityProviderRepresentation idpRep) |
void |
RealmRolesPartialImport.remove(RealmModel realm,
KeycloakSession session,
RoleRepresentation roleRep) |
abstract void |
AbstractPartialImport.remove(RealmModel realm,
KeycloakSession session,
T resourceRep) |
void |
UsersPartialImport.remove(RealmModel realm,
KeycloakSession session,
UserRepresentation user) |
void |
RolesPartialImport.removeOverwrites(RealmModel realm,
KeycloakSession session) |
void |
PartialImport.removeOverwrites(RealmModel realm,
KeycloakSession session)
Delete resources that will be overwritten.
|
void |
AbstractPartialImport.removeOverwrites(RealmModel realm,
KeycloakSession session) |
Constructor and Description |
---|
PartialImportManager(PartialImportRepresentation rep,
KeycloakSession session,
RealmModel realm,
AdminEventBuilder adminEvent) |
Modifier and Type | Method and Description |
---|---|
PasswordPolicyProvider |
UpperCasePasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
SpecialCharsPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
RegexPatternsPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
NotUsernamePasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
NotEmailPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
LowerCasePasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
LengthPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
HistoryPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
HashIterationsPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
HashAlgorithmPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
ForceExpiredPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
DigitsPasswordPolicyProviderFactory.create(KeycloakSession session) |
PasswordPolicyManagerProvider |
DefaultPasswordPolicyManagerProviderFactory.create(KeycloakSession session) |
PasswordPolicyProvider |
BlacklistPasswordPolicyProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
DefaultPasswordPolicyManagerProvider(KeycloakSession session) |
HistoryPasswordPolicyProvider(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AuthorizationEndpointBase.session |
Modifier and Type | Method and Description |
---|---|
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 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) |
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 endpoint
|
Modifier and Type | Method and Description |
---|---|
boolean |
DockerAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
DockerAuthenticatorFactory.create(KeycloakSession session) |
LoginProtocol |
DockerAuthV2ProtocolFactory.create(KeycloakSession session) |
LoginProtocol |
DockerAuthV2Protocol.setSession(KeycloakSession session) |
Constructor and Description |
---|
DockerAuthV2Protocol(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers,
EventBuilder event) |
Modifier and Type | Method and Description |
---|---|
ClientInstallationProvider |
DockerVariableOverrideInstallationProvider.create(KeycloakSession session) |
ClientInstallationProvider |
DockerRegistryConfigFileInstallationProvider.create(KeycloakSession session) |
ClientInstallationProvider |
DockerComposeYamlInstallationProvider.create(KeycloakSession session) |
javax.ws.rs.core.Response |
DockerVariableOverrideInstallationProvider.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 |
DockerComposeYamlInstallationProvider.generateInstallation(KeycloakSession session,
RealmModel realm,
ClientModel client,
URI serverBaseUri) |
Modifier and Type | Method and Description |
---|---|
ProtocolMapper |
DockerAuthV2ProtocolMapper.create(KeycloakSession session) |
DockerResponseToken |
DockerAuthV2AttributeMapper.transformDockerResponseToken(DockerResponseToken responseToken,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
DockerResponseToken |
AllowAllDockerProtocolMapper.transformDockerResponseToken(DockerResponseToken responseToken,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
AuthenticatedClientSessionModel clientSession) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
OIDCLoginProtocol.session |
Constructor and Description |
---|
AccessTokenIntrospectionProvider(KeycloakSession session) |
AccessTokenResponseBuilder(RealmModel realm,
ClientModel client,
EventBuilder event,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
OIDCClientDescriptionConverter(KeycloakSession session) |
OIDCLoginProtocol(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers,
EventBuilder event) |
OIDCWellKnownProvider(KeycloakSession session) |
RefreshTokenIntrospectionProvider(KeycloakSession session) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
CibaGrantType(javax.ws.rs.core.MultivaluedMap<String,String> formParams,
ClientModel client,
KeycloakSession session,
TokenEndpoint tokenEndpoint,
RealmModel realm,
EventBuilder event,
Cors cors) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
HttpAuthenticationChannelProvider.session |
Modifier and Type | Method and Description |
---|---|
AuthenticationChannelProvider |
HttpAuthenticationChannelProviderFactory.create(KeycloakSession session) |
static CIBAAuthenticationRequest |
CIBAAuthenticationRequest.deserialize(KeycloakSession session,
String jwe)
Deserialize the given
jwe to a CIBAAuthenticationRequest instance. |
String |
CIBAAuthenticationRequest.serialize(KeycloakSession session)
Serializes this instance to a JWE.
|
Constructor and Description |
---|
CIBAAuthenticationRequest(KeycloakSession session,
UserModel user,
ClientModel client) |
HttpAuthenticationChannelProvider(KeycloakSession session,
String httpAuthenticationRequestUri) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractCibaEndpoint.session |
Modifier and Type | Method and Description |
---|---|
OIDCExtProvider |
CibaRootEndpoint.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractCibaEndpoint(KeycloakSession session,
EventBuilder event) |
BackchannelAuthenticationCallbackEndpoint(KeycloakSession session,
EventBuilder event) |
BackchannelAuthenticationEndpoint(KeycloakSession session,
EventBuilder event) |
CibaRootEndpoint(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
CIBALoginUserResolver |
DefaultCIBALoginUserResolverFactory.create(KeycloakSession session) |
Constructor and Description |
---|
DefaultCIBALoginUserResolver(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
DeviceGrantType.approveOAuth2DeviceAuthorization(AuthenticationSessionModel authSession,
AuthenticatedClientSessionModel clientSession,
KeycloakSession session) |
static javax.ws.rs.core.Response |
DeviceGrantType.denyOAuth2DeviceAuthorization(AuthenticationSessionModel authSession,
LoginProtocol.Error error,
KeycloakSession session) |
Constructor and Description |
---|
DeviceGrantType(javax.ws.rs.core.MultivaluedMap<String,String> formParams,
ClientModel client,
KeycloakSession session,
TokenEndpoint tokenEndpoint,
RealmModel realm,
EventBuilder event,
Cors cors) |
Modifier and Type | Method and Description |
---|---|
RealmResourceProvider |
DeviceEndpointFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
ClientInstallationProvider |
KeycloakOIDCJbossSubsystemClientInstallation.create(KeycloakSession session) |
ClientInstallationProvider |
KeycloakOIDCJbossSubsystemClientCliInstallation.create(KeycloakSession session) |
ClientInstallationProvider |
KeycloakOIDCClientInstallation.create(KeycloakSession session) |
javax.ws.rs.core.Response |
KeycloakOIDCJbossSubsystemClientInstallation.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 |
KeycloakOIDCClientInstallation.generateInstallation(KeycloakSession session,
RealmModel realm,
ClientModel client,
URI baseUri) |
static Map<String,Object> |
KeycloakOIDCClientInstallation.getClientCredentialsAdapterConfig(KeycloakSession session,
ClientModel client) |
Modifier and Type | Method and Description |
---|---|
ProtocolMapper |
AbstractOIDCProtocolMapper.create(KeycloakSession session) |
protected void |
UserSessionNoteMapper.setClaim(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx) |
protected void |
ScriptBasedOIDCProtocolMapper.setClaim(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx) |
protected void |
HardcodedClaim.setClaim(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx) |
protected void |
AbstractOIDCProtocolMapper.setClaim(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx)
Intended to be overridden in
ProtocolMapper implementations to add claims to an token. |
protected void |
UserRealmRoleMappingMapper.setClaim(IDToken token,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession session,
ClientSessionContext clientSessionCtx) |
protected void |
UserClientRoleMappingMapper.setClaim(IDToken token,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession session,
ClientSessionContext clientSessionCtx) |
protected void |
ScriptBasedOIDCProtocolMapper.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 |
AudienceProtocolMapper.setClaim(IDToken token,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx) |
protected void |
AbstractOIDCProtocolMapper.setClaim(IDToken token,
ProtocolMapperModel mappingModel,
UserSessionModel userSession,
KeycloakSession keycloakSession,
ClientSessionContext clientSessionCtx)
Intended to be overridden in
ProtocolMapper implementations to add claims to an token. |
AccessToken |
RoleNameMapper.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 |
HardcodedRole.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 |
AllowedWebOriginsProtocolMapper.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 |
AbstractOIDCProtocolMapper.transformAccessToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessTokenResponse |
OIDCAccessTokenResponseMapper.transformAccessTokenResponse(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessTokenResponse |
AbstractOIDCProtocolMapper.transformAccessTokenResponse(AccessTokenResponse accessTokenResponse,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
IDToken |
OIDCIDTokenMapper.transformIDToken(IDToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSession) |
IDToken |
AbstractPairwiseSubMapper.transformIDToken(IDToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
IDToken |
AbstractOIDCProtocolMapper.transformIDToken(IDToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
UserInfoTokenMapper.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 |
AbstractOIDCProtocolMapper.transformUserInfoToken(AccessToken token,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
void |
SHA256PairwiseSubMapper.validateAdditionalConfig(KeycloakSession session,
RealmModel realm,
ProtocolMapperContainerModel mapperContainer,
ProtocolMapperModel mapperModel) |
void |
AbstractPairwiseSubMapper.validateAdditionalConfig(KeycloakSession session,
RealmModel realm,
ProtocolMapperContainerModel mapperContainer,
ProtocolMapperModel mapperModel)
Override to add additional configuration validation.
|
void |
ScriptBasedOIDCProtocolMapper.validateConfig(KeycloakSession session,
RealmModel realm,
ProtocolMapperContainerModel client,
ProtocolMapperModel mapperModel) |
void |
AbstractPairwiseSubMapper.validateConfig(KeycloakSession session,
RealmModel realm,
ProtocolMapperContainerModel mapperContainer,
ProtocolMapperModel mapperModel) |
Modifier and Type | Method and Description |
---|---|
static AuthorizeClientUtil.ClientAuthResult |
AuthorizeClientUtil.authorizeClient(KeycloakSession session,
EventBuilder event,
Cors cors) |
static ClientAuthenticatorFactory |
AuthorizeClientUtil.findClientAuthenticatorForOIDCAuthMethod(KeycloakSession session,
String oidcAuthMethod) |
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 set
|
static 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 void |
PairwiseSubMapperValidator.validate(KeycloakSession session,
ClientModel client,
ProtocolMapperModel mapperModel) |
static void |
PairwiseSubMapperValidator.validate(KeycloakSession session,
String rootUrl,
Set<String> redirectUris,
String sectorIdentifierUri) |
static String |
RedirectUtils.verifyRealmRedirectUri(KeycloakSession session,
String redirectUri) |
static String |
RedirectUtils.verifyRedirectUri(KeycloakSession session,
String redirectUri,
ClientModel client) |
static String |
RedirectUtils.verifyRedirectUri(KeycloakSession session,
String redirectUri,
ClientModel client,
boolean requireRedirectUri) |
static String |
RedirectUtils.verifyRedirectUri(KeycloakSession session,
String rootUrl,
String redirectUri,
Set<String> validRedirects,
boolean requireRedirectUri) |
Modifier and Type | Method and Description |
---|---|
OIDCExtProvider |
OpenShiftTokenReviewEndpointFactory.create(KeycloakSession session) |
Constructor and Description |
---|
OpenShiftTokenReviewEndpoint(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
SamlProtocol.session |
Constructor and Description |
---|
JaxrsSAML2BindingBuilder(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
ClientRegistrationProvider |
EntityDescriptorClientRegistrationProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
EntityDescriptorClientRegistrationContext(KeycloakSession session,
ClientRepresentation client,
ClientRegistrationProvider provider) |
EntityDescriptorClientRegistrationProvider(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
static void |
KeycloakSamlClientInstallation.baseXml(KeycloakSession session,
RealmModel realm,
ClientModel client,
URI baseUri,
SamlClient samlClient,
StringBuilder buffer) |
ClientInstallationProvider |
SamlSPDescriptorClientInstallation.create(KeycloakSession session) |
ClientInstallationProvider |
ModAuthMellonClientInstallation.create(KeycloakSession session) |
ClientInstallationProvider |
KeycloakSamlSubsystemInstallation.create(KeycloakSession session) |
ClientInstallationProvider |
KeycloakSamlSubsystemCliInstallation.create(KeycloakSession session) |
ClientInstallationProvider |
KeycloakSamlClientInstallation.create(KeycloakSession session) |
javax.ws.rs.core.Response |
SamlSPDescriptorClientInstallation.generateInstallation(KeycloakSession session,
RealmModel realm,
ClientModel client,
URI serverBaseUri) |
javax.ws.rs.core.Response |
ModAuthMellonClientInstallation.generateInstallation(KeycloakSession session,
RealmModel realm,
ClientModel client,
URI serverBaseUri) |
javax.ws.rs.core.Response |
KeycloakSamlSubsystemInstallation.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 |
KeycloakSamlClientInstallation.generateInstallation(KeycloakSession session,
RealmModel realm,
ClientModel client,
URI baseUri) |
Modifier and Type | Method and Description |
---|---|
boolean |
HttpBasicAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
Authenticator |
HttpBasicAuthenticatorFactory.create(KeycloakSession session) |
void |
HttpBasicAuthenticator.setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
default ExceptionConverter |
ExceptionConverter.create(KeycloakSession session) |
T |
ProviderFactory.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
ScriptingProvider |
DefaultScriptingProviderFactory.create(KeycloakSession session) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultKeycloakSession |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
DefaultKeycloakSessionFactory.create() |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
ErrorPage.error(KeycloakSession session,
AuthenticationSessionModel authenticationSession,
javax.ws.rs.core.Response.Status status,
String message,
Object... parameters) |
Constructor and Description |
---|
DefaultKeycloakContext(KeycloakSession session) |
DefaultKeycloakTransactionManager(KeycloakSession session) |
ErrorPageException(KeycloakSession session,
AuthenticationSessionModel authSession,
javax.ws.rs.core.Response.Status status,
String errorMessage,
Object... parameters) |
ErrorPageException(KeycloakSession session,
javax.ws.rs.core.Response.Status status,
String errorMessage,
Object... parameters) |
Modifier and Type | Method and 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 enabled
|
Constructor and Description |
---|
DefaultClientPolicyManager(KeycloakSession session,
Supplier<List<ClientProfileRepresentation>> globalClientProfilesSupplier) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractClientPolicyConditionProvider.session |
Modifier and Type | Method and Description |
---|---|
ClientPolicyConditionProvider |
ClientUpdaterSourceRolesConditionFactory.create(KeycloakSession session) |
ClientPolicyConditionProvider |
ClientUpdaterSourceHostsConditionFactory.create(KeycloakSession session) |
ClientPolicyConditionProvider |
ClientUpdaterSourceGroupsConditionFactory.create(KeycloakSession session) |
ClientPolicyConditionProvider |
ClientUpdaterContextConditionFactory.create(KeycloakSession session) |
ClientPolicyConditionProvider |
ClientScopesConditionFactory.create(KeycloakSession session) |
ClientPolicyConditionProvider |
ClientRolesConditionFactory.create(KeycloakSession session) |
ClientPolicyConditionProvider |
ClientAccessTypeConditionFactory.create(KeycloakSession session) |
ClientPolicyConditionProvider |
AnyClientConditionFactory.create(KeycloakSession session) |
Constructor and 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) |
Constructor and 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) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
SecureResponseTypeExecutor.session |
protected KeycloakSession |
ConfidentialClientAcceptExecutor.session |
Modifier and Type | Method and Description |
---|---|
ClientPolicyExecutorProvider |
SecureSigningAlgorithmForSignedJwtExecutorFactory.create(KeycloakSession session) |
ClientPolicyExecutorProvider |
SecureSigningAlgorithmExecutorFactory.create(KeycloakSession session) |
ClientPolicyExecutorProvider |
SecureSessionEnforceExecutorFactory.create(KeycloakSession session) |
ClientPolicyExecutorProvider |
SecureResponseTypeExecutorFactory.create(KeycloakSession session) |
ClientPolicyExecutorProvider |
SecureRequestObjectExecutorFactory.create(KeycloakSession session) |
ClientPolicyExecutorProvider |
SecureClientUrisExecutorFactory.create(KeycloakSession session) |
ClientPolicyExecutorProvider |
SecureClientAuthenticatorExecutorFactory.create(KeycloakSession session) |
ClientPolicyExecutorProvider |
PKCEEnforcerExecutorFactory.create(KeycloakSession session) |
ClientPolicyExecutorProvider |
HolderOfKeyEnforcerExecutorFactory.create(KeycloakSession session) |
FullScopeDisabledExecutor |
FullScopeDisabledExecutorFactory.create(KeycloakSession session) |
ClientPolicyExecutorProvider |
ConsentRequiredExecutorFactory.create(KeycloakSession session) |
ClientPolicyExecutorProvider |
ConfidentialClientAcceptExecutorFactory.create(KeycloakSession session) |
Constructor and Description |
---|
ConfidentialClientAcceptExecutor(KeycloakSession session) |
HolderOfKeyEnforcerExecutor(KeycloakSession session) |
PKCEEnforcerExecutor(KeycloakSession session) |
SecureClientAuthenticatorExecutor(KeycloakSession session) |
SecureClientUrisExecutor(KeycloakSession session) |
SecureRequestObjectExecutor(KeycloakSession session) |
SecureResponseTypeExecutor(KeycloakSession session) |
SecureSessionEnforceExecutor(KeycloakSession session) |
SecureSigningAlgorithmExecutor(KeycloakSession session) |
SecureSigningAlgorithmForSignedJwtExecutor(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractClientRegistrationProvider.session |
protected KeycloakSession |
AbstractClientRegistrationContext.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
ClientRegistrationContext.getSession() |
KeycloakSession |
AbstractClientRegistrationContext.getSession() |
Constructor and Description |
---|
AbstractClientRegistrationContext(KeycloakSession session,
ClientRepresentation client,
ClientRegistrationProvider provider) |
AbstractClientRegistrationProvider(KeycloakSession session) |
AdapterInstallationClientRegistrationProvider(KeycloakSession session) |
ClientRegistrationAuth(KeycloakSession session,
ClientRegistrationProvider provider,
EventBuilder event,
String endpoint) |
DefaultClientRegistrationContext(KeycloakSession session,
ClientRepresentation client,
ClientRegistrationProvider provider) |
DefaultClientRegistrationProvider(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
ClientRegistrationProvider |
OIDCClientRegistrationProviderFactory.create(KeycloakSession session) |
static OIDCClientRepresentation |
DescriptionConverter.toExternalResponse(KeycloakSession session,
ClientRepresentation client,
URI uri) |
static ClientRepresentation |
DescriptionConverter.toInternal(KeycloakSession session,
OIDCClientRepresentation clientOIDC) |
Constructor and Description |
---|
OIDCClientRegistrationContext(KeycloakSession session,
ClientRepresentation client,
ClientRegistrationProvider provider,
OIDCClientRepresentation oidcRep) |
OIDCClientRegistrationProvider(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
List<ProviderConfigProperty> |
ClientRegistrationPolicyFactory.getConfigProperties(KeycloakSession session)
Get config properties filled for particular session.
|
List<ProviderConfigProperty> |
AbstractClientRegistrationPolicyFactory.getConfigProperties(KeycloakSession 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) |
Modifier and Type | Method and Description |
---|---|
ClientRegistrationPolicy |
TrustedHostClientRegistrationPolicyFactory.create(KeycloakSession session,
ComponentModel model) |
ClientRegistrationPolicy |
ScopeClientRegistrationPolicyFactory.create(KeycloakSession session,
ComponentModel model) |
ClientRegistrationPolicy |
ProtocolMappersClientRegistrationPolicyFactory.create(KeycloakSession session,
ComponentModel model) |
ClientRegistrationPolicy |
MaxClientsClientRegistrationPolicyFactory.create(KeycloakSession session,
ComponentModel model) |
ClientRegistrationPolicy |
ConsentRequiredClientRegistrationPolicyFactory.create(KeycloakSession session,
ComponentModel model) |
ClientRegistrationPolicy |
ClientScopesClientRegistrationPolicyFactory.create(KeycloakSession session,
ComponentModel model) |
ClientRegistrationPolicy |
ClientDisabledClientRegistrationPolicyFactory.create(KeycloakSession session,
ComponentModel model) |
List<ProviderConfigProperty> |
ClientScopesClientRegistrationPolicyFactory.getConfigProperties(KeycloakSession session) |
void |
TrustedHostClientRegistrationPolicyFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
void |
MaxClientsClientRegistrationPolicyFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractRequestFilter.close(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractRequestFilter.filter(ClientConnection clientConnection,
Consumer<KeycloakSession> next) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
RealmManager.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
RealmManager.getSession() |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
AuthenticationManager.actionRequired(KeycloakSession session,
AuthenticationSessionModel authSession,
org.jboss.resteasy.spi.HttpRequest request,
EventBuilder event) |
AuthenticationManager.AuthResult |
AuthenticationManager.authenticateIdentityCookie(KeycloakSession session,
RealmModel realm) |
AuthenticationManager.AuthResult |
AppAuthManager.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 client
|
static 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,
String initiatingIdp) |
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) |
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 void |
AuthenticationManager.evaluateRequiredActionTriggers(KeycloakSession session,
AuthenticationSessionModel authSession,
org.jboss.resteasy.spi.HttpRequest request,
EventBuilder event,
RealmModel realm,
UserModel user) |
protected static javax.ws.rs.core.Response |
AuthenticationManager.executionActions(KeycloakSession session,
AuthenticationSessionModel authSession,
org.jboss.resteasy.spi.HttpRequest request,
EventBuilder event,
RealmModel realm,
UserModel user,
Stream<String> requiredActions) |
static boolean |
AuthenticationManager.expireUserSessionCookie(KeycloakSession session,
UserSessionModel userSession,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers,
ClientConnection connection) |
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,
org.jboss.resteasy.spi.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> |
ClientSessionCode.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,
org.jboss.resteasy.spi.HttpRequest request,
javax.ws.rs.core.UriInfo uriInfo,
EventBuilder event) |
static String |
AuthenticationManager.nextRequiredAction(KeycloakSession session,
AuthenticationSessionModel authSession,
org.jboss.resteasy.spi.HttpRequest request,
EventBuilder event) |
void |
UserStorageSyncManager.notifyToRefreshPeriodicSync(KeycloakSession session,
RealmModel realm,
UserStorageProviderModel provider,
boolean removed) |
static <CLIENT_SESSION extends CommonClientSessionModel> |
ClientSessionCode.parseResult(String code,
String tabId,
KeycloakSession session,
RealmModel realm,
ClientModel client,
EventBuilder event,
Class<CLIENT_SESSION> sessionClass) |
static <CLIENT_SESSION extends CommonClientSessionModel> |
ClientSessionCode.parseResult(String code,
String tabId,
KeycloakSession session,
RealmModel realm,
ClientModel client,
EventBuilder event,
CLIENT_SESSION clientSession) |
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,
org.jboss.resteasy.spi.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,
org.jboss.resteasy.spi.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 client
|
AppAuthManager.BearerTokenAuthenticator |
AppAuthManager.BearerTokenAuthenticator.setSession(KeycloakSession session) |
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) |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
MigrationProvider |
DefaultMigrationProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
DefaultMigrationProvider(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
RealmsResource.session |
protected KeycloakSession |
PublicRealmResource.session |
protected KeycloakSession |
LoginActionsService.session |
protected KeycloakSession |
ClientsManagementService.session |
protected KeycloakSession |
AbstractSecuredLocalService.session |
Modifier and Type | Method and 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's
iss (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) |
Constructor and Description |
---|
SessionCodeChecks(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo,
org.jboss.resteasy.spi.HttpRequest request,
ClientConnection clientConnection,
KeycloakSession session,
EventBuilder event,
String authSessionId,
String code,
String execution,
String clientId,
String tabId,
String flowPath) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AccountConsole.session |
Modifier and Type | Method and Description |
---|---|
SortedSet<LinkedAccountRepresentation> |
LinkedAccountsResource.getLinkedAccounts(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
PasswordUtil.isConfigured(KeycloakSession session,
RealmModel realm,
UserModel user) |
static boolean |
AccountFormService.isPasswordSet(KeycloakSession session,
RealmModel realm,
UserModel user) |
Constructor and Description |
---|
AccountCredentialResource(KeycloakSession session,
UserModel user,
Auth auth) |
AccountLoader(KeycloakSession session,
EventBuilder event) |
AccountRestService(KeycloakSession session,
Auth auth,
ClientModel client,
EventBuilder event,
AccountRestApiVersion version) |
LinkedAccountsResource(KeycloakSession session,
org.jboss.resteasy.spi.HttpRequest request,
ClientModel client,
Auth auth,
EventBuilder event,
UserModel user) |
PasswordUtil(KeycloakSession session,
UserModel user) |
SessionResource(KeycloakSession session,
Auth auth,
org.jboss.resteasy.spi.HttpRequest request) |
Constructor and Description |
---|
AbstractResourceService(KeycloakSession session,
UserModel user,
Auth auth,
org.jboss.resteasy.spi.HttpRequest request) |
ResourcesService(KeycloakSession session,
UserModel user,
Auth auth,
org.jboss.resteasy.spi.HttpRequest request) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
UsersResource.session |
protected KeycloakSession |
UserStorageProviderResource.session |
protected KeycloakSession |
UserResource.session |
protected KeycloakSession |
UserProfileResource.session |
protected KeycloakSession |
ScopeMappedResource.session |
protected KeycloakSession |
ScopeMappedClientResource.session |
protected KeycloakSession |
RoleMapperResource.session |
protected KeycloakSession |
RealmsAdminResource.session |
protected KeycloakSession |
RealmLocalizationResource.session |
protected KeycloakSession |
RealmAdminResource.session |
protected KeycloakSession |
ProtocolMappersResource.session |
protected KeycloakSession |
ComponentResource.session |
protected KeycloakSession |
ClientsResource.session |
protected KeycloakSession |
ClientStorageProviderResource.session |
protected KeycloakSession |
ClientScopesResource.session |
protected KeycloakSession |
ClientScopeResource.session |
protected KeycloakSession |
ClientRoleMappingsResource.session |
protected KeycloakSession |
ClientResource.session |
protected KeycloakSession |
ClientRegistrationPolicyResource.session |
protected KeycloakSession |
ClientProfilesResource.session |
protected KeycloakSession |
ClientPoliciesResource.session |
protected KeycloakSession |
ClientInitialAccessResource.session |
protected KeycloakSession |
ClientAttributeCertificateResource.session |
protected KeycloakSession |
AttackDetectionResource.session |
protected KeycloakSession |
AdminRoot.session |
protected KeycloakSession |
AdminConsole.session |
Modifier and Type | Method and Description |
---|---|
static Properties |
AdminRoot.getMessages(KeycloakSession session,
RealmModel realm,
String lang) |
static Properties |
AdminRoot.getMessages(KeycloakSession session,
RealmModel realm,
String lang,
String... bundles) |
static Theme |
AdminRoot.getTheme(KeycloakSession session,
RealmModel realm) |
AdminEventBuilder |
AdminEventBuilder.refreshRealmEventsConfig(KeycloakSession session)
Refreshes the builder assuming that the realm event information has
changed.
|
static void |
UserResource.updateUserFromRep(UserProfile profile,
UserModel user,
UserRepresentation rep,
KeycloakSession session,
boolean isUpdateExistingUser) |
static javax.ws.rs.core.Response |
UserResource.validateUserProfile(UserProfile profile,
UserModel user,
KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
static AdminPermissionEvaluator |
AdminPermissions.evaluator(KeycloakSession session,
RealmModel realm,
AdminAuth auth) |
static AdminPermissionEvaluator |
AdminPermissions.evaluator(KeycloakSession session,
RealmModel realm,
RealmModel adminsRealm,
UserModel admin) |
static AdminPermissionManagement |
AdminPermissions.management(KeycloakSession session,
RealmModel realm) |
static RealmsPermissionEvaluator |
AdminPermissions.realms(KeycloakSession session,
AdminAuth auth) |
static RealmsPermissionEvaluator |
AdminPermissions.realms(KeycloakSession session,
RealmModel adminsRealm,
UserModel admin) |
Modifier and Type | Method and Description |
---|---|
void |
ClearExpiredUserSessions.run(KeycloakSession session) |
void |
ClearExpiredEvents.run(KeycloakSession session) |
void |
ClearExpiredClientInitialAccessTokens.run(KeycloakSession session) |
protected void |
ScheduledTaskRunner.runTask(KeycloakSession session) |
protected void |
ClusterAwareScheduledTaskRunner.runTask(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
static AccessToken.CertConf |
MtlsHoKTokenUtil.bindTokenWithClientCertificate(org.jboss.resteasy.spi.HttpRequest request,
KeycloakSession session) |
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionAndClientScopeIds(AuthenticatedClientSessionModel clientSession,
Set<String> clientScopeIds,
KeycloakSession session) |
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionAndClientScopes(AuthenticatedClientSessionModel clientSession,
Stream<ClientScopeModel> clientScopes,
KeycloakSession session) |
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionAndScopeParameter(AuthenticatedClientSessionModel clientSession,
String scopeParam,
KeycloakSession session) |
static DefaultClientSessionContext |
DefaultClientSessionContext.fromClientSessionScopeParameter(AuthenticatedClientSessionModel clientSession,
KeycloakSession session)
Useful if we want to "re-compute" client scopes based on the scope parameter
|
abstract javax.ws.rs.core.Response |
BrowserHistoryHelper.loadSavedResponse(KeycloakSession session,
AuthenticationSessionModel authSession) |
static String |
ResolveRelative.resolveRelativeUri(KeycloakSession session,
String rootUrl,
String url) |
static String |
ResolveRelative.resolveRootUrl(KeycloakSession session,
String rootUrl) |
static javax.ws.rs.core.Response |
IframeUtil.returnIframeFromResources(String fileName,
String version,
KeycloakSession session) |
abstract javax.ws.rs.core.Response |
BrowserHistoryHelper.saveResponseAndRedirect(KeycloakSession session,
AuthenticationSessionModel authSession,
javax.ws.rs.core.Response response,
boolean actionRequest,
org.jboss.resteasy.spi.HttpRequest httpRequest) |
static boolean |
MtlsHoKTokenUtil.verifyTokenBindingWithClientCertificate(AccessToken token,
org.jboss.resteasy.spi.HttpRequest request,
KeycloakSession session) |
Constructor and Description |
---|
AuthenticationFlowURLHelper(KeycloakSession session,
RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo) |
Modifier and Type | Method and Description |
---|---|
X509ClientCertificateLookup |
NginxProxySslClientCertificateLookupFactory.create(KeycloakSession session) |
X509ClientCertificateLookup |
HaProxySslClientCertificateLookupFactory.create(KeycloakSession session) |
X509ClientCertificateLookup |
DefaultClientCertificateLookupFactory.create(KeycloakSession session) |
X509ClientCertificateLookup |
ApacheProxySslClientCertificateLookupFactory.create(KeycloakSession session) |
boolean |
NginxProxySslClientCertificateLookup.loadKeycloakTrustStore(KeycloakSession kcsession)
Loading truststore @ first login
|
Constructor and Description |
---|
NginxProxySslClientCertificateLookup(String sslCientCertHttpHeader,
String sslCertChainHttpHeaderPrefix,
int certificateChainLength,
KeycloakSession kcsession) |
Modifier and Type | Method and Description |
---|---|
BitbucketIdentityProvider |
BitbucketIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
Constructor and Description |
---|
BitbucketIdentityProvider(KeycloakSession session,
OAuth2IdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
FacebookIdentityProvider |
FacebookIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
Constructor and Description |
---|
FacebookIdentityProvider(KeycloakSession session,
FacebookIdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
GitHubIdentityProvider |
GitHubIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
Constructor and Description |
---|
GitHubIdentityProvider(KeycloakSession session,
OAuth2IdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
GitLabIdentityProvider |
GitLabIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
Constructor and Description |
---|
GitLabIdentityProvider(KeycloakSession session,
OIDCIdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
GoogleIdentityProvider |
GoogleIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
Constructor and Description |
---|
GoogleIdentityProvider(KeycloakSession session,
GoogleIdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
InstagramIdentityProvider |
InstagramIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
Constructor and Description |
---|
InstagramIdentityProvider(KeycloakSession session,
OAuth2IdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
LinkedInIdentityProvider |
LinkedInIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
Constructor and Description |
---|
LinkedInIdentityProvider(KeycloakSession session,
OAuth2IdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
MicrosoftIdentityProvider |
MicrosoftIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
Constructor and Description |
---|
MicrosoftIdentityProvider(KeycloakSession session,
OAuth2IdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
OpenshiftV4IdentityProvider |
OpenshiftV4IdentityProviderFactory.create(KeycloakSession keycloakSession,
IdentityProviderModel identityProviderModel) |
OpenshiftV3IdentityProvider |
OpenshiftV3IdentityProviderFactory.create(KeycloakSession keycloakSession,
IdentityProviderModel identityProviderModel) |
Constructor and Description |
---|
OpenshiftV3IdentityProvider(KeycloakSession session,
OpenshiftV3IdentityProviderConfig config) |
OpenshiftV4IdentityProvider(KeycloakSession session,
OpenshiftV4IdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
PayPalIdentityProvider |
PayPalIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
Constructor and Description |
---|
PayPalIdentityProvider(KeycloakSession session,
PayPalIdentityProviderConfig config) |
Modifier and Type | Method and Description |
---|---|
StackoverflowIdentityProvider |
StackoverflowIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
Constructor and Description |
---|
StackoverflowIdentityProvider(KeycloakSession session,
StackOverflowIdentityProviderConfig config) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
TwitterIdentityProvider.Endpoint.session |
Modifier and Type | Method and Description |
---|---|
TwitterIdentityProvider |
TwitterIdentityProviderFactory.create(KeycloakSession session,
IdentityProviderModel model) |
javax.ws.rs.core.Response |
TwitterIdentityProvider.retrieveToken(KeycloakSession session,
FederatedIdentityModel identity) |
Constructor and Description |
---|
TwitterIdentityProvider(KeycloakSession session,
OAuth2IdentityProviderConfig config) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
RoleStorageManager.session |
protected KeycloakSession |
ClientStorageManager.session |
protected KeycloakSession |
AbstractStorageManager.session |
Modifier and Type | Method and Description |
---|---|
T |
UserStorageProviderFactory.create(KeycloakSession session,
ComponentModel model)
called per Keycloak transaction.
|
static <T> Stream<T> |
RoleStorageManager.getEnabledStorageProviders(KeycloakSession session,
RealmModel realm,
Class<T> type) |
static <T> Stream<T> |
ClientStorageManager.getEnabledStorageProviders(KeycloakSession session,
RealmModel realm,
Class<T> type) |
static RoleStorageProvider |
RoleStorageManager.getStorageProvider(KeycloakSession session,
RealmModel realm,
String componentId) |
static ClientStorageProvider |
ClientStorageManager.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> |
RoleStorageManager.getStorageProviders(KeycloakSession session,
RealmModel realm,
Class<T> type) |
static <T> Stream<T> |
ClientStorageManager.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) |
default void |
UserStorageProviderFactory.onCreate(KeycloakSession session,
RealmModel realm,
ComponentModel model)
Called when UserStorageProviderModel is created.
|
void |
UserStorageManager.onCreate(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
void |
OnUpdateComponent.onUpdate(KeycloakSession session,
RealmModel realm,
ComponentModel oldModel,
ComponentModel newModel) |
void |
UserStorageManager.onUpdate(KeycloakSession session,
RealmModel realm,
ComponentModel oldModel,
ComponentModel newModel) |
default void |
UserStorageProviderFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
Constructor and Description |
---|
AbstractStorageManager(KeycloakSession session,
Class<? extends ProviderFactory> factoryTypeClass,
Class<ProviderType> providerTypeClass,
Function<ComponentModel,StorageProviderModelType> toStorageProviderModelTypeFunction,
String configScope) |
ClientScopeStorageManager(KeycloakSession session) |
ClientStorageManager(KeycloakSession session,
long clientStorageProviderTimeout) |
GroupStorageManager(KeycloakSession session) |
RoleStorageManager(KeycloakSession session,
long roleStorageProviderTimeout) |
UserStorageManager(KeycloakSession session) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractUserAdapterFederatedStorage.session |
protected KeycloakSession |
AbstractUserAdapter.session |
Constructor and Description |
---|
AbstractUserAdapter(KeycloakSession session,
RealmModel realm,
ComponentModel storageProviderModel) |
AbstractUserAdapterFederatedStorage(KeycloakSession session,
RealmModel realm,
ComponentModel storageProviderModel) |
InMemoryUserAdapter(KeycloakSession session,
RealmModel realm,
String id) |
Streams(KeycloakSession session,
RealmModel realm,
ComponentModel storageProviderModel) |
Streams(KeycloakSession session,
RealmModel realm,
ComponentModel storageProviderModel) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractClientStorageAdapter.session |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
AbstractClientStorageAdapter(KeycloakSession session,
RealmModel realm,
ClientStorageProviderModel component) |
AbstractReadOnlyClientStorageAdapter(KeycloakSession session,
RealmModel realm,
ClientStorageProviderModel component) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
UserFederatedStorageProvider |
JpaUserFederatedStorageProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
JpaUserFederatedStorageProvider(KeycloakSession session,
javax.persistence.EntityManager em) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
LDAPStorageProvider.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
LDAPStorageProvider.getSession() |
Modifier and Type | Method and Description |
---|---|
LDAPStorageProvider |
LDAPStorageProviderFactory.create(KeycloakSession session,
ComponentModel model) |
static LDAPIdentityStore |
LDAPIdentityStoreRegistry.createLdapIdentityStore(KeycloakSession session,
LDAPConfig cfg)
Create LDAPIdentityStore to be cached in the local registry
|
protected 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) |
Constructor and Description |
---|
LDAPStorageProvider(LDAPStorageProviderFactory factory,
KeycloakSession session,
ComponentModel model,
LDAPIdentityStore ldapIdentityStore) |
Modifier and Type | Method and Description |
---|---|
static LDAPContextManager |
LDAPContextManager.create(KeycloakSession session,
LDAPConfig connectionProperties) |
Constructor and Description |
---|
LDAPContextManager(KeycloakSession session,
LDAPConfig connectionProperties) |
LDAPIdentityStore(KeycloakSession session,
LDAPConfig config) |
LDAPOperationManager(KeycloakSession session,
LDAPConfig config) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractLDAPStorageMapper.session |
Modifier and Type | Method and 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) |
T |
LDAPStorageMapperFactory.create(KeycloakSession session,
ComponentModel model)
called per Keycloak transaction.
|
LDAPStorageMapper |
AbstractLDAPStorageMapperFactory.create(KeycloakSession session,
ComponentModel model) |
default void |
LDAPStorageMapperFactory.onCreate(KeycloakSession session,
RealmModel realm,
ComponentModel model)
Called when UserStorageProviderModel is created.
|
void |
UserAttributeLDAPStorageMapperFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
default void |
LDAPStorageMapperFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
void |
HardcodedLDAPRoleStorageMapperFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
void |
HardcodedLDAPGroupStorageMapperFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
void |
HardcodedLDAPAttributeMapperFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
void |
HardcodedAttributeMapperFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
void |
FullNameLDAPStorageMapperFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
void |
CertificateLDAPStorageMapperFactory.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel config) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
OpenshiftSAClientAdapter(String clientId,
com.openshift.restclient.model.IResource resource,
com.openshift.restclient.IClient client,
KeycloakSession session,
RealmModel realm,
ClientStorageProviderModel component) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
ThemeProvider |
JarThemeProviderFactory.create(KeycloakSession session) |
ThemeProvider |
FolderThemeProviderFactory.create(KeycloakSession sessions) |
ThemeSelectorProvider |
DefaultThemeSelectorProviderFactory.create(KeycloakSession session) |
ThemeManager |
DefaultThemeManagerFactory.create(KeycloakSession session) |
ThemeResourceProvider |
ClasspathThemeResourceProviderFactory.create(KeycloakSession session) |
ThemeProvider |
ClasspathThemeProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
DefaultThemeManager(DefaultThemeManagerFactory factory,
KeycloakSession session) |
DefaultThemeSelectorProvider(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
void |
ScheduledTask.run(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
TimerProvider |
BasicTimerProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
BasicTimerProvider(KeycloakSession session,
Timer timer,
int transactionTimeout,
BasicTimerProviderFactory factory) |
Modifier and Type | Method and 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 AsyncResponse
responseToFinishInTransaction with given Response responseToSend . |
Modifier and Type | Method and Description |
---|---|
TruststoreProvider |
FileTruststoreProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
JSSETruststoreConfigurator(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
HostnameProvider |
RequestHostnameProviderFactory.create(KeycloakSession session)
Deprecated.
|
HostnameProvider |
FixedHostnameProviderFactory.create(KeycloakSession session)
Deprecated.
|
HostnameProvider |
DefaultHostnameProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
DefaultHostnameProvider(KeycloakSession session,
URI frontendUri,
URI adminUri,
boolean forceBackendUrlToFrontendUrl) |
FixedHostnameProvider(KeycloakSession session,
boolean alwaysHttps,
String globalHostname,
int httpPort,
int httpsPort)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
AttributeContext.getSession() |
Constructor and Description |
---|
AttributeContext(UserProfileContext context,
KeycloakSession session,
Map.Entry<String,List<String>> attribute,
UserModel user,
AttributeMetadata metadata) |
DefaultAttributes(UserProfileContext context,
Map<String,?> attributes,
UserModel user,
UserProfileMetadata profileMetadata,
KeycloakSession session) |
DefaultUserProfile(Attributes attributes,
Function<Attributes,UserModel> userCreator,
UserModel user,
KeycloakSession session) |
ValidationException(KeycloakSession session,
UserModel user) |
Modifier and Type | Method and Description |
---|---|
protected UserProfileMetadata |
DeclarativeUserProfileProvider.configureUserProfile(UserProfileMetadata metadata,
KeycloakSession session) |
protected DeclarativeUserProfileProvider |
DeclarativeUserProfileProvider.create(KeycloakSession session,
Map<UserProfileContext,UserProfileMetadata> metadataRegistry) |
static List<String> |
UPConfigUtils.validate(KeycloakSession session,
UPConfig config)
Validate object representation of the configuration.
|
void |
DeclarativeUserProfileProvider.validateConfiguration(KeycloakSession session,
RealmModel realm,
ComponentModel model) |
Constructor and Description |
---|
DeclarativeAttributes(UserProfileContext context,
Map<String,?> attributes,
UserModel user,
UserProfileMetadata profileMetadata,
KeycloakSession session) |
DeclarativeUserProfileProvider(KeycloakSession session,
Map<UserProfileContext,UserProfileMetadata> metadataRegistry,
String defaultRawConfig) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractUserProfileProvider.session |
Modifier and Type | Method and 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.
|
U |
AbstractUserProfileProvider.create(KeycloakSession session) |
protected DefaultUserProfileProvider |
DefaultUserProfileProvider.create(KeycloakSession session,
Map<UserProfileContext,UserProfileMetadata> metadataRegistry) |
protected abstract U |
AbstractUserProfileProvider.create(KeycloakSession session,
Map<UserProfileContext,UserProfileMetadata> metadataRegistry)
Subclasses can override this method to create their instances of
UserProfileProvider . |
Constructor and Description |
---|
AbstractUserProfileProvider(KeycloakSession session,
Map<UserProfileContext,UserProfileMetadata> contextualMetadataRegistry) |
DefaultUserProfileProvider(KeycloakSession session,
Map<UserProfileContext,UserProfileMetadata> validators) |
Modifier and Type | Method and 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.
|
static <T> Consumer<? super T> |
ServicesUtils.consumeWithTimeBound(KeycloakSession session,
long timeout,
Consumer<T> func) |
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) |
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 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) |
static <T,R> Function<? super T,R> |
ServicesUtils.timeBoundOne(KeycloakSession session,
long timeout,
Function<T,R> func) |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
ValidationContext.getSession() |
Modifier and Type | Method and Description |
---|---|
default Validator |
SimpleValidator.create(KeycloakSession session) |
static ValidationResult |
Validators.validateConfig(KeycloakSession session,
String id,
ValidatorConfig config)
|
default ValidationResult |
ValidatorFactory.validateConfig(KeycloakSession session,
ValidatorConfig config)
Validates the given validation config.
|
static Validator |
Validators.validator(KeycloakSession session,
String id)
Look-up up for a built-in or registered
Validator with the given validatorId. |
static ValidatorFactory |
Validators.validatorFactory(KeycloakSession session,
String id)
Look-up for a built-in or registered
ValidatorFactory with the given validatorId. |
Constructor and Description |
---|
ValidationContext(KeycloakSession session)
Creates a new
ValidationContext with a KeycloakSession . |
ValidationContext(KeycloakSession session,
Set<ValidationError> errors)
Creates a new
ValidationContext . |
Validators(KeycloakSession session)
Creates a new
Validators instance with the given KeycloakSession . |
Modifier and Type | Method and Description |
---|---|
ValidationResult |
PatternValidator.validateConfig(KeycloakSession session,
ValidatorConfig config) |
ValidationResult |
LocalDateValidator.validateConfig(KeycloakSession session,
ValidatorConfig config) |
ValidationResult |
LengthValidator.validateConfig(KeycloakSession session,
ValidatorConfig config) |
ValidationResult |
AbstractNumberValidator.validateConfig(KeycloakSession session,
ValidatorConfig config) |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
ValidationContext.getSession() |
KeycloakSession |
DefaultValidationContext.getSession() |
Modifier and Type | Method and 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) |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
VaultProvider |
FilesPlainTextVaultProviderFactory.create(KeycloakSession session) |
protected String |
AbstractVaultProviderFactory.getRealmName(KeycloakSession session)
Obtains the name of realm from the
KeycloakSession . |
Copyright © 2021 JBoss by Red Hat. All rights reserved.