Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
RequiredActionContextResult.session |
protected KeycloakSession |
AuthenticationProcessor.session |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
RequiredActionContextResult.getSession() |
KeycloakSession |
AuthenticationProcessor.getSession() |
KeycloakSession |
AuthenticationProcessor.Result.getSession() |
KeycloakSession |
RequiredActionContext.getSession() |
KeycloakSession |
FormContext.getSession()
Current session
|
KeycloakSession |
AbstractAuthenticationFlowContext.getSession()
Current session
|
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> |
AbstractActionTokenHander.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 |
IdpReviewProfileAuthenticator.configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
IdpEmailVerificationAuthenticator.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 |
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 |
---|---|
CertificateValidator.CertificateValidatorBuilder |
AbstractX509ClientCertificateAuthenticator.certificateValidationParameters(KeycloakSession session,
X509AuthenticatorConfigModel config) |
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) |
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 |
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 |
WebAuthnRegisterFactory.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 |
DefaultAuthorizationProviderFactory.create(KeycloakSession session,
RealmModel realm) |
AuthorizationProvider |
AuthorizationProviderFactory.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 |
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 |
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) |
void |
IdentityProviderMapper.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
Called after UserModel is created for first time for this user.
|
void |
AbstractIdentityProviderMapper.importNewUser(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
javax.ws.rs.core.Response |
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 |
HardcodedUserSessionAttributeMapper.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
void |
HardcodedAttributeMapper.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
void |
IdentityProviderMapper.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
Called to determine what keycloak username and email to use to process the login request from the external IDP.
|
void |
AbstractIdentityProviderMapper.preprocessFederatedIdentity(KeycloakSession session,
RealmModel realm,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
javax.ws.rs.core.Response |
IdentityProvider.retrieveToken(KeycloakSession session,
FederatedIdentityModel identity)
Returns a
Response containing the token previously stored during the authentication process for a
specific user. |
void |
IdentityProvider.updateBrokeredUser(KeycloakSession session,
RealmModel realm,
UserModel user,
BrokeredIdentityContext context) |
void |
AbstractIdentityProvider.updateBrokeredUser(KeycloakSession session,
RealmModel realm,
UserModel user,
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.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 |
HardcodedRoleMapper.updateBrokeredUserLegacy(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context) |
void |
IdentityProviderMapper.updateBrokeredUserLegacy(KeycloakSession session,
RealmModel realm,
UserModel user,
IdentityProviderMapperModel mapperModel,
BrokeredIdentityContext context)
Called when this user has logged in before and has already been imported.
|
void |
AbstractIdentityProviderMapper.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 ProviderType |
ComponentFactory.create(KeycloakSession session) |
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 |
ComponentFactory.onUpdate(KeycloakSession session,
RealmModel realm,
ComponentModel oldModel,
ComponentModel newModel)
Called after the component is updated.
|
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) |
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 |
UserCredentialStoreManager.session |
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> List<T> |
UserCredentialStoreManager.getCredentialProviders(KeycloakSession session,
RealmModel realm,
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) |
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) |
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) |
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(List<IdentityProviderModel> providers,
KeycloakSession session,
RealmModel realm,
Map<String,Object> attributes,
javax.ws.rs.core.MultivaluedMap<String,String> formData,
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) |
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 |
---|---|
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) |
T |
KeyProviderFactory.create(KeycloakSession session,
ComponentModel model) |
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) |
default boolean |
KeyProviderFactory.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) |
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_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_2_0.migrateRealm(KeycloakSession session,
RealmModel realm,
boolean json) |
protected void |
MigrateTo4_0_0.migrateRealm(KeycloakSession session,
RealmModel realm,
boolean json) |
protected void |
MigrateTo8_0_0.migrateRealmMFA(KeycloakSession session,
RealmModel realm,
boolean jsn) |
Modifier and Type | Method and Description |
---|---|
KeycloakSession |
KeycloakSessionFactory.create() |
KeycloakSession |
UserModel.UserRemovedEvent.getKeycloakSession() |
KeycloakSession |
RoleContainerModel.RoleRemovedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.RealmCreationEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.RealmPostCreateEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.RealmRemovedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.ClientUpdatedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.ClientRemovedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.IdentityProviderUpdatedEvent.getKeycloakSession() |
KeycloakSession |
RealmModel.IdentityProviderRemovedEvent.getKeycloakSession() |
KeycloakSession |
GroupModel.GroupRemovedEvent.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) |
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) |
Constructor and Description |
---|
DBLockManager(KeycloakSession session) |
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) |
RealmProvider |
JpaRealmProviderFactory.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) |
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 | Field and Description |
---|---|
protected KeycloakSession |
AbstractClientModel.session |
Modifier and Type | Method and Description |
---|---|
ClientProvider |
MapClientProviderFactory.create(KeycloakSession session) |
Constructor and Description |
---|
AbstractClientModel(KeycloakSession session,
RealmModel realm,
E entity) |
MapClientAdapter(KeycloakSession session,
RealmModel realm,
MapClientEntity entity) |
MapClientProvider(KeycloakSession session,
MapStorage<UUID,MapClientEntity> clientStore,
ConcurrentMap<UUID,ConcurrentMap<String,Integer>> clientRegisteredNodesStore) |
Modifier and Type | Method and Description |
---|---|
MapStorageProvider |
ConcurrentHashMapStorageProvider.create(KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
UserSessionPersisterProvider |
DisabledUserSessionPersisterProvider.create(KeycloakSession session) |
Constructor and Description |
---|
PersistentUserSessionAdapter(KeycloakSession session,
PersistentUserSessionModel model,
RealmModel realm,
String userId,
Map<String,AuthenticatedClientSessionModel> clientSessions) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
InfinispanUserSessionProvider.session |
Modifier and Type | Method and Description |
---|---|
protected void |
InfinispanUserSessionProviderFactory.checkRemoteCaches(KeycloakSession session) |
InfinispanUserSessionProvider |
InfinispanUserSessionProviderFactory.create(KeycloakSession session) |
StickySessionEncoderProvider |
InfinispanStickySessionEncoderProviderFactory.create(KeycloakSession session) |
InfinispanSingleUseTokenStoreProvider |
InfinispanSingleUseTokenStoreProviderFactory.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 |
InfinispanAuthenticationSessionProviderFactory.registerClusterListeners(KeycloakSession session) |
Constructor and Description |
---|
InfinispanChangelogBasedTransaction(KeycloakSession kcSession,
org.infinispan.Cache<K,SessionEntityWrapper<V>> cache,
RemoteCacheInvoker remoteCacheInvoker) |
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,
InfinispanUserSessionProvider 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) |
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) |
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,
SessionUpdateTask<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 |
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 List<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 |
Modifier and Type | Method and Description |
---|---|
static ClientSessionContext |
TokenManager.attachAuthenticationSession(KeycloakSession session,
UserSessionModel userSession,
AuthenticationSessionModel authSession) |
boolean |
TokenManager.checkTokenValidForIntrospection(KeycloakSession session,
RealmModel realm,
AccessToken token)
Checks if the token is valid.
|
TokenIntrospectionProvider |
RefreshTokenIntrospectionProviderFactory.create(KeycloakSession session) |
WellKnownProvider |
OIDCWellKnownProviderFactory.create(KeycloakSession session) |
LoginProtocol |
OIDCLoginProtocolFactory.create(KeycloakSession session) |
ClientDescriptionConverter |
OIDCClientDescriptionConverterFactory.create(KeycloakSession session) |
TokenIntrospectionProvider |
AccessTokenIntrospectionProviderFactory.create(KeycloakSession session) |
AccessToken |
TokenManager.createClientAccessToken(KeycloakSession session,
RealmModel realm,
ClientModel client,
UserModel user,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
static TokenManager.NotBeforeCheck |
TokenManager.NotBeforeCheck.forModel(KeycloakSession session,
RealmModel realmModel,
UserModel userModel) |
TokenManager.RefreshResult |
TokenManager.refreshAccessToken(KeycloakSession session,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection connection,
RealmModel realm,
ClientModel authorizedClient,
String encodedRefreshToken,
EventBuilder event,
javax.ws.rs.core.HttpHeaders headers,
org.jboss.resteasy.spi.HttpRequest request) |
TokenManager.AccessTokenResponseBuilder |
TokenManager.responseBuilder(RealmModel realm,
ClientModel client,
EventBuilder event,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
OIDCLoginProtocol |
OIDCLoginProtocol.setSession(KeycloakSession session) |
RefreshToken |
TokenManager.toRefreshToken(KeycloakSession session,
String encodedRefreshToken) |
AccessToken |
TokenManager.transformAccessToken(KeycloakSession session,
AccessToken token,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
void |
TokenManager.transformIDToken(KeycloakSession session,
IDToken token,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
AccessToken |
TokenManager.transformUserInfoAccessToken(KeycloakSession session,
AccessToken token,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
TokenManager.TokenValidation |
TokenManager.validateToken(KeycloakSession session,
javax.ws.rs.core.UriInfo uriInfo,
ClientConnection connection,
RealmModel realm,
RefreshToken oldToken,
javax.ws.rs.core.HttpHeaders headers) |
static boolean |
TokenManager.verifyConsentStillAvailable(KeycloakSession session,
UserModel user,
ClientModel client,
Set<ClientScopeModel> requestedClientScopes) |
IDToken |
TokenManager.verifyIDToken(KeycloakSession session,
RealmModel realm,
String encodedIDToken) |
IDToken |
TokenManager.verifyIDTokenSignature(KeycloakSession session,
String encodedIDToken) |
RefreshToken |
TokenManager.verifyRefreshToken(KeycloakSession session,
RealmModel realm,
ClientModel client,
org.jboss.resteasy.spi.HttpRequest request,
String encodedRefreshToken,
boolean checkExpiration) |
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) |
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 |
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 |
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) |
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) |
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) |
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 |
---|---|
ClientPolicyProvider |
DefaultClientPolicyProviderFactory.create(KeycloakSession session,
ComponentModel model) |
Constructor and Description |
---|
DefaultClientPolicyManager(KeycloakSession session) |
DefaultClientPolicyProvider(KeycloakSession session,
ComponentModel componentModel) |
Modifier and Type | Field and Description |
---|---|
protected KeycloakSession |
AbstractAugumentingClientRegistrationPolicyExecutor.session |
Constructor and Description |
---|
AbstractAugumentingClientRegistrationPolicyExecutor(KeycloakSession session,
ComponentModel componentModel) |
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 |
---|---|