keycloak
公開メンバ関数 | 静的公開メンバ関数 | 静的公開変数類 | 限定公開メンバ関数 | 全メンバ一覧
org.keycloak.broker.oidc.mappers.AbstractClaimMapper クラスabstract
org.keycloak.broker.oidc.mappers.AbstractClaimMapper の継承関係図
Inheritance graph
org.keycloak.broker.oidc.mappers.AbstractClaimMapper 連携図
Collaboration graph

公開メンバ関数

boolean valueEquals (String desiredValue, Object value)
 
void close ()
 
IdentityProviderMapper create (KeycloakSession session)
 
void init (org.keycloak.Config.Scope config)
 
void init (Config.Scope config)
 
void postInit (KeycloakSessionFactory factory)
 
void preprocessFederatedIdentity (KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
 
void importNewUser (KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
 
String [] getCompatibleProviders ()
 
String getDisplayCategory ()
 
String getDisplayType ()
 
void updateBrokeredUser (KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
 
String getId ()
 
default int order ()
 
String getHelpText ()
 
List< ProviderConfigPropertygetConfigProperties ()
 

静的公開メンバ関数

static Object getClaimValue (JsonWebToken token, String claim)
 
static Object getClaimValue (IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
 
static Object getClaimValue (BrokeredIdentityContext context, String claim)
 

静的公開変数類

static final String CLAIM = "claim"
 
static final String CLAIM_VALUE = "claim.value"
 
static final String ANY_PROVIDER = "*"
 

限定公開メンバ関数

boolean hasClaimValue (IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
 

詳解

著者
Bill Burke
バージョン
Revision
1

関数詳解

◆ close()

void org.keycloak.broker.provider.AbstractIdentityProviderMapper.close ( )
inlineinherited

org.keycloak.provider.Providerを実装しています。

32  {
33 
34  }

◆ create()

IdentityProviderMapper org.keycloak.broker.provider.AbstractIdentityProviderMapper.create ( KeycloakSession  session)
inlineinherited

org.keycloak.provider.ProviderFactory< T extends Provider >を実装しています。

37  {
38  return null;
39  }

◆ getClaimValue() [1/3]

static Object org.keycloak.broker.oidc.mappers.AbstractClaimMapper.getClaimValue ( JsonWebToken  token,
String  claim 
)
inlinestatic
43  {
44  List<String> split = OIDCAttributeMapperHelper.splitClaimPath(claim);
45  Map<String, Object> jsonObject = token.getOtherClaims();
46  final int length = split.size();
47  int i = 0;
48  for (String component : split) {
49  i++;
50  if (i == length) {
51  return jsonObject.get(component);
52  } else {
53  Object val = jsonObject.get(component);
54  if (!(val instanceof Map)) return null;
55  jsonObject = (Map<String, Object>)val;
56  }
57  }
58  return null;
59  }

◆ getClaimValue() [2/3]

static Object org.keycloak.broker.oidc.mappers.AbstractClaimMapper.getClaimValue ( IdentityProviderMapperModel  mapperModel,
BrokeredIdentityContext  context 
)
inlinestatic
61  {
62  String claim = mapperModel.getConfig().get(CLAIM);
63  return getClaimValue(context, claim);
64  }
static final String CLAIM
Definition: AbstractClaimMapper.java:40
static Object getClaimValue(JsonWebToken token, String claim)
Definition: AbstractClaimMapper.java:43

◆ getClaimValue() [3/3]

static Object org.keycloak.broker.oidc.mappers.AbstractClaimMapper.getClaimValue ( BrokeredIdentityContext  context,
String  claim 
)
inlinestatic
66  {
67  { // search access token
68  JsonWebToken token = (JsonWebToken)context.getContextData().get(KeycloakOIDCIdentityProvider.VALIDATED_ACCESS_TOKEN);
69  if (token != null) {
70  Object value = getClaimValue(token, claim);
71  if (value != null) return value;
72  }
73 
74  }
75  { // search ID Token
76  JsonWebToken token = (JsonWebToken)context.getContextData().get(KeycloakOIDCIdentityProvider.VALIDATED_ID_TOKEN);
77  if (token != null) {
78  Object value = getClaimValue(token, claim);
79  if (value != null) return value;
80  }
81 
82  }
83  {
84  // Search the OIDC UserInfo claim set (if any)
85  JsonNode profileJsonNode = (JsonNode) context.getContextData().get(OIDCIdentityProvider.USER_INFO);
86  Object value = AbstractJsonUserAttributeMapper.getJsonValue(profileJsonNode, claim);
87  if (value != null) return value;
88  }
89  return null;
90  }
static Object getClaimValue(JsonWebToken token, String claim)
Definition: AbstractClaimMapper.java:43

◆ getCompatibleProviders()

String [] org.keycloak.broker.provider.IdentityProviderMapper.getCompatibleProviders ( )
inherited

◆ getConfigProperties()

List<ProviderConfigProperty> org.keycloak.provider.ConfiguredProvider.getConfigProperties ( )
inherited

org.keycloak.authentication.forms.RegistrationRecaptcha, org.keycloak.storage.ldap.LDAPStorageProviderFactory, org.keycloak.authentication.authenticators.client.JWTClientSecretAuthenticator, org.keycloak.authentication.authenticators.client.JWTClientAuthenticator, org.keycloak.authentication.authenticators.x509.AbstractX509ClientCertificateAuthenticatorFactory, org.keycloak.authentication.authenticators.resetcred.ResetCredentialEmail, org.keycloak.authentication.authenticators.client.X509ClientAuthenticator, org.keycloak.authentication.authenticators.client.ClientIdAndSecretAuthenticator, org.keycloak.authentication.authenticators.resetcred.ResetCredentialChooseUser, org.keycloak.authentication.authenticators.directgrant.ValidateUsername, org.keycloak.authentication.authenticators.directgrant.ValidateOTP, org.keycloak.keys.GeneratedRsaKeyProviderFactory, org.keycloak.authentication.authenticators.broker.IdpReviewProfileAuthenticatorFactory, org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactory, org.keycloak.authentication.authenticators.browser.ConditionalOtpFormAuthenticatorFactory, org.keycloak.authentication.authenticators.broker.IdpCreateUserIfUniqueAuthenticatorFactory, org.keycloak.federation.kerberos.KerberosFederationProviderFactory, org.keycloak.authentication.authenticators.browser.OTPFormAuthenticatorFactory, org.keycloak.authentication.authenticators.directgrant.ValidatePassword, org.keycloak.authentication.authenticators.browser.SpnegoAuthenticatorFactory, org.keycloak.protocol.saml.mappers.GroupMembershipMapper, org.keycloak.authentication.authenticators.browser.UsernamePasswordFormFactory, org.keycloak.keys.ImportedRsaKeyProviderFactory, org.keycloak.protocol.saml.mappers.RoleListMapper, org.keycloak.authentication.authenticators.browser.CookieAuthenticatorFactory, org.keycloak.services.clientregistration.policy.impl.ClientScopesClientRegistrationPolicyFactory, org.keycloak.broker.oidc.mappers.AbstractJsonUserAttributeMapper, org.keycloak.protocol.oidc.mappers.AddressMapper, org.keycloak.broker.saml.mappers.UserAttributeStatementMapper, org.keycloak.protocol.oidc.mappers.AbstractPairwiseSubMapper, org.keycloak.authentication.authenticators.cli.CliUsernamePasswordAuthenticatorFactory, org.keycloak.protocol.oidc.mappers.ScriptBasedOIDCProtocolMapper, org.keycloak.authentication.authenticators.broker.IdpEmailVerificationAuthenticatorFactory, org.keycloak.authentication.authenticators.challenge.BasicAuthAuthenticatorFactory, org.keycloak.authentication.authenticators.challenge.BasicAuthOTPAuthenticatorFactory, org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticatorFactory, org.keycloak.authentication.authenticators.broker.IdpConfirmLinkAuthenticatorFactory, org.keycloak.authentication.authenticators.console.ConsoleUsernamePasswordAuthenticatorFactory, org.keycloak.authentication.authenticators.broker.IdpAutoLinkAuthenticatorFactory, org.keycloak.keys.JavaKeystoreKeyProviderFactory, org.keycloak.protocol.saml.profile.ecp.authenticator.HttpBasicAuthenticatorFactory, org.keycloak.broker.saml.mappers.AttributeToRoleMapper, org.keycloak.keys.GeneratedEcdsaKeyProviderFactory, org.keycloak.storage.UserStorageProviderFactory< T extends UserStorageProvider >, org.keycloak.authentication.authenticators.resetcred.AbstractSetRequiredActionAuthenticator, org.keycloak.broker.saml.mappers.UserAttributeMapper, org.keycloak.storage.client.ClientStorageProviderFactory< T extends ClientStorageProvider >, org.keycloak.authentication.authenticators.browser.IdentityProviderAuthenticatorFactory, org.keycloak.protocol.oidc.mappers.UserClientRoleMappingMapper, org.keycloak.services.clientregistration.policy.impl.ProtocolMappersClientRegistrationPolicyFactory, org.keycloak.protocol.oidc.mappers.AudienceProtocolMapper, org.keycloak.broker.oidc.mappers.ClaimToRoleMapper, org.keycloak.broker.oidc.mappers.UserAttributeMapper, org.keycloak.protocol.saml.mappers.ScriptBasedMapper, org.keycloak.broker.oidc.mappers.ExternalKeycloakRoleToRoleMapper, org.keycloak.authentication.forms.RegistrationPage, org.keycloak.protocol.saml.mappers.RoleNameMapper, org.keycloak.broker.saml.mappers.UsernameTemplateMapper, org.keycloak.protocol.oidc.mappers.RoleNameMapper, org.keycloak.services.clientregistration.policy.impl.MaxClientsClientRegistrationPolicyFactory, org.keycloak.protocol.oidc.mappers.UserAttributeMapper, org.keycloak.services.clientregistration.policy.impl.TrustedHostClientRegistrationPolicyFactory, org.keycloak.broker.oidc.mappers.UsernameTemplateMapper, org.keycloak.protocol.oidc.mappers.UserRealmRoleMappingMapper, org.keycloak.protocol.oidc.mappers.GroupMembershipMapper, org.keycloak.protocol.oidc.mappers.HardcodedClaim, org.keycloak.authentication.forms.RegistrationPassword, org.keycloak.authentication.forms.RegistrationUserCreation, org.keycloak.protocol.oidc.mappers.HardcodedRole, org.keycloak.broker.provider.HardcodedAttributeMapper, org.keycloak.broker.provider.HardcodedUserSessionAttributeMapper, org.keycloak.protocol.saml.mappers.UserAttributeStatementMapper, org.keycloak.authentication.forms.RegistrationProfile, org.keycloak.protocol.oidc.mappers.UserPropertyMapper, org.keycloak.protocol.oidc.mappers.UserSessionNoteMapper, org.keycloak.protocol.saml.mappers.HardcodedAttributeMapper, org.keycloak.protocol.saml.mappers.UserPropertyAttributeStatementMapper, org.keycloak.protocol.saml.mappers.HardcodedRole, org.keycloak.protocol.saml.mappers.UserSessionNoteStatementMapper, org.keycloak.protocol.oidc.mappers.FullNameMapper, org.keycloak.broker.provider.HardcodedRoleMapper, org.keycloak.services.clientregistration.policy.impl.ClientDisabledClientRegistrationPolicyFactory, org.keycloak.services.clientregistration.policy.impl.ConsentRequiredClientRegistrationPolicyFactory, org.keycloak.services.clientregistration.policy.impl.ScopeClientRegistrationPolicyFactory, org.keycloak.protocol.docker.mapper.DockerAuthV2ProtocolMapper, org.keycloak.protocol.docker.DockerAuthenticatorFactory (計86項目)で実装されています。

◆ getDisplayCategory()

String org.keycloak.broker.provider.IdentityProviderMapper.getDisplayCategory ( )
inherited

◆ getDisplayType()

String org.keycloak.broker.provider.IdentityProviderMapper.getDisplayType ( )
inherited

◆ getHelpText()

String org.keycloak.provider.ConfiguredProvider.getHelpText ( )
inherited

org.keycloak.authentication.forms.RegistrationRecaptcha, org.keycloak.authentication.authenticators.client.JWTClientSecretAuthenticator, org.keycloak.broker.saml.mappers.UserAttributeStatementMapper, org.keycloak.broker.saml.mappers.UserAttributeMapper, org.keycloak.authentication.authenticators.client.JWTClientAuthenticator, org.keycloak.authentication.authenticators.resetcred.ResetCredentialEmail, org.keycloak.authentication.authenticators.client.X509ClientAuthenticator, org.keycloak.authentication.authenticators.client.ClientIdAndSecretAuthenticator, org.keycloak.authentication.authenticators.resetcred.ResetCredentialChooseUser, org.keycloak.broker.oidc.mappers.UserAttributeMapper, org.keycloak.broker.saml.mappers.AttributeToRoleMapper, org.keycloak.authentication.authenticators.directgrant.ValidateUsername, org.keycloak.broker.saml.mappers.UsernameTemplateMapper, org.keycloak.broker.oidc.mappers.ExternalKeycloakRoleToRoleMapper, org.keycloak.authentication.authenticators.directgrant.ValidateOTP, org.keycloak.keys.GeneratedRsaKeyProviderFactory, org.keycloak.broker.oidc.mappers.ClaimToRoleMapper, org.keycloak.broker.oidc.mappers.UsernameTemplateMapper, org.keycloak.protocol.oidc.mappers.AddressMapper, org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactory, org.keycloak.broker.oidc.mappers.AbstractJsonUserAttributeMapper, org.keycloak.protocol.oidc.mappers.ScriptBasedOIDCProtocolMapper, org.keycloak.authentication.authenticators.browser.ConditionalOtpFormAuthenticatorFactory, org.keycloak.authentication.authenticators.browser.OTPFormAuthenticatorFactory, org.keycloak.authentication.authenticators.directgrant.ValidatePassword, org.keycloak.broker.provider.HardcodedUserSessionAttributeMapper, org.keycloak.authentication.authenticators.browser.SpnegoAuthenticatorFactory, org.keycloak.broker.provider.HardcodedAttributeMapper, org.keycloak.protocol.saml.mappers.GroupMembershipMapper, org.keycloak.authentication.authenticators.browser.UsernamePasswordFormFactory, org.keycloak.keys.ImportedRsaKeyProviderFactory, org.keycloak.protocol.oidc.mappers.UserClientRoleMappingMapper, org.keycloak.protocol.oidc.mappers.AudienceProtocolMapper, org.keycloak.protocol.saml.mappers.RoleListMapper, org.keycloak.authentication.authenticators.browser.CookieAuthenticatorFactory, org.keycloak.authentication.authenticators.broker.IdpReviewProfileAuthenticatorFactory, org.keycloak.authentication.authenticators.broker.IdpCreateUserIfUniqueAuthenticatorFactory, org.keycloak.broker.provider.HardcodedRoleMapper, org.keycloak.protocol.saml.mappers.ScriptBasedMapper, org.keycloak.authentication.authenticators.cli.CliUsernamePasswordAuthenticatorFactory, org.keycloak.authentication.authenticators.broker.IdpEmailVerificationAuthenticatorFactory, org.keycloak.authentication.authenticators.challenge.BasicAuthAuthenticatorFactory, org.keycloak.authentication.authenticators.challenge.BasicAuthOTPAuthenticatorFactory, org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticatorFactory, org.keycloak.authentication.authenticators.broker.IdpConfirmLinkAuthenticatorFactory, org.keycloak.authentication.authenticators.console.ConsoleUsernamePasswordAuthenticatorFactory, org.keycloak.authentication.authenticators.broker.IdpAutoLinkAuthenticatorFactory, org.keycloak.keys.JavaKeystoreKeyProviderFactory, org.keycloak.protocol.oidc.mappers.RoleNameMapper, org.keycloak.protocol.oidc.mappers.UserAttributeMapper, org.keycloak.protocol.saml.mappers.RoleNameMapper, org.keycloak.protocol.saml.profile.ecp.authenticator.HttpBasicAuthenticatorFactory, org.keycloak.protocol.oidc.mappers.UserRealmRoleMappingMapper, org.keycloak.protocol.oidc.mappers.GroupMembershipMapper, org.keycloak.protocol.oidc.mappers.HardcodedClaim, org.keycloak.keys.GeneratedEcdsaKeyProviderFactory, org.keycloak.protocol.oidc.mappers.HardcodedRole, org.keycloak.storage.UserStorageProviderFactory< T extends UserStorageProvider >, org.keycloak.protocol.oidc.mappers.UserPropertyMapper, org.keycloak.protocol.oidc.mappers.UserSessionNoteMapper, org.keycloak.protocol.saml.mappers.UserAttributeStatementMapper, org.keycloak.protocol.saml.mappers.HardcodedAttributeMapper, org.keycloak.protocol.saml.mappers.UserPropertyAttributeStatementMapper, org.keycloak.storage.client.ClientStorageProviderFactory< T extends ClientStorageProvider >, org.keycloak.authentication.authenticators.browser.IdentityProviderAuthenticatorFactory, org.keycloak.services.clientregistration.policy.impl.ProtocolMappersClientRegistrationPolicyFactory, org.keycloak.protocol.oidc.mappers.FullNameMapper, org.keycloak.protocol.saml.mappers.HardcodedRole, org.keycloak.protocol.saml.mappers.UserSessionNoteStatementMapper, org.keycloak.authentication.forms.RegistrationPage, org.keycloak.services.clientregistration.policy.impl.MaxClientsClientRegistrationPolicyFactory, org.keycloak.protocol.oidc.mappers.SHA256PairwiseSubMapper, org.keycloak.services.clientregistration.policy.impl.TrustedHostClientRegistrationPolicyFactory, org.keycloak.authentication.forms.RegistrationPassword, org.keycloak.authentication.forms.RegistrationUserCreation, org.keycloak.services.clientregistration.policy.impl.ClientScopesClientRegistrationPolicyFactory, org.keycloak.authentication.authenticators.resetcred.ResetPassword, org.keycloak.authentication.authenticators.resetcred.ResetOTP, org.keycloak.authentication.forms.RegistrationProfile, org.keycloak.authentication.authenticators.broker.IdpUsernamePasswordFormFactory, org.keycloak.authentication.authenticators.x509.X509ClientCertificateAuthenticatorFactory, org.keycloak.services.clientregistration.policy.impl.ClientDisabledClientRegistrationPolicyFactory, org.keycloak.services.clientregistration.policy.impl.ConsentRequiredClientRegistrationPolicyFactory, org.keycloak.services.clientregistration.policy.impl.ScopeClientRegistrationPolicyFactory, org.keycloak.authentication.authenticators.x509.ValidateX509CertificateUsernameFactory, org.keycloak.protocol.docker.mapper.AllowAllDockerProtocolMapper, org.keycloak.protocol.docker.DockerAuthenticatorFactory (計87項目)で実装されています。

◆ getId()

String org.keycloak.provider.ProviderFactory< T extends Provider >.getId ( )
inherited

org.keycloak.models.sessions.infinispan.InfinispanUserSessionProviderFactory, org.keycloak.storage.ldap.LDAPStorageProviderFactory, org.keycloak.protocol.saml.EntityDescriptorDescriptionConverter, org.keycloak.protocol.oidc.OIDCLoginProtocolFactory, org.keycloak.authentication.authenticators.client.JWTClientAuthenticator, org.keycloak.authentication.forms.RegistrationUserCreation, org.keycloak.authentication.authenticators.resetcred.ResetCredentialEmail, org.keycloak.authentication.forms.RegistrationRecaptcha, org.keycloak.authentication.authenticators.resetcred.ResetCredentialChooseUser, org.keycloak.authentication.authenticators.client.JWTClientSecretAuthenticator, org.keycloak.authentication.authenticators.client.ClientIdAndSecretAuthenticator, org.keycloak.authentication.forms.RegistrationProfile, org.keycloak.authentication.authenticators.client.X509ClientAuthenticator, org.keycloak.cluster.infinispan.InfinispanClusterProviderFactory, org.keycloak.models.sessions.infinispan.InfinispanAuthenticationSessionProviderFactory, org.keycloak.authentication.forms.RegistrationPassword, org.keycloak.authentication.requiredactions.UpdateProfile, org.keycloak.authentication.requiredactions.UpdatePassword, org.keycloak.protocol.saml.installation.KeycloakSamlClientInstallation, org.keycloak.protocol.saml.installation.SamlIDPDescriptorClientInstallation, org.keycloak.protocol.oidc.installation.KeycloakOIDCClientInstallation, org.keycloak.keys.infinispan.InfinispanPublicKeyStorageProviderFactory, org.keycloak.authentication.authenticators.directgrant.ValidateUsername, org.keycloak.authentication.authenticators.directgrant.ValidateOTP, org.keycloak.keys.GeneratedRsaKeyProviderFactory, org.keycloak.authentication.requiredactions.VerifyEmail, org.keycloak.authentication.requiredactions.UpdateTotp, org.keycloak.policy.BlacklistPasswordPolicyProviderFactory, org.keycloak.protocol.saml.installation.ModAuthMellonClientInstallation, org.keycloak.connections.httpclient.DefaultHttpClientFactory, org.keycloak.connections.jpa.updater.liquibase.conn.DefaultLiquibaseConnectionProvider, org.keycloak.protocol.oidc.mappers.AbstractPairwiseSubMapper, org.keycloak.authorization.policy.provider.drools.DroolsPolicyProviderFactory, org.keycloak.protocol.oidc.installation.KeycloakOIDCJbossSubsystemClientInstallation, org.keycloak.authentication.authenticators.directgrant.ValidatePassword, org.keycloak.truststore.FileTruststoreProviderFactory, org.keycloak.authentication.forms.RegistrationPage, org.keycloak.protocol.saml.installation.SamlSPDescriptorClientInstallation, org.keycloak.protocol.saml.profile.ecp.authenticator.HttpBasicAuthenticatorFactory, org.keycloak.protocol.saml.mappers.GroupMembershipMapper, org.keycloak.authentication.authenticators.browser.IdentityProviderAuthenticatorFactory, org.keycloak.keys.ImportedRsaKeyProviderFactory, org.keycloak.protocol.saml.mappers.RoleListMapper, org.keycloak.services.clientregistration.policy.impl.ClientScopesClientRegistrationPolicyFactory, org.keycloak.protocol.oidc.mappers.AddressMapper, org.keycloak.broker.saml.mappers.UserAttributeStatementMapper, org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory, org.keycloak.protocol.oidc.mappers.ScriptBasedOIDCProtocolMapper, org.keycloak.protocol.saml.installation.KeycloakSamlSubsystemInstallation, org.keycloak.executors.DefaultExecutorsProviderFactory, org.keycloak.theme.ClasspathThemeProviderFactory, org.keycloak.keys.JavaKeystoreKeyProviderFactory, org.keycloak.models.cache.infinispan.InfinispanUserCacheProviderFactory, org.keycloak.models.sessions.infinispan.InfinispanCodeToTokenStoreProviderFactory, org.keycloak.models.cache.infinispan.InfinispanCacheRealmProviderFactory, org.keycloak.models.cache.infinispan.authorization.InfinispanCacheStoreFactoryProviderFactory, org.keycloak.authentication.authenticators.browser.SpnegoAuthenticatorFactory, org.keycloak.broker.saml.mappers.AttributeToRoleMapper, org.keycloak.keys.GeneratedEcdsaKeyProviderFactory, org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactory, org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory, org.keycloak.broker.saml.mappers.UserAttributeMapper, org.keycloak.protocol.oidc.mappers.UserClientRoleMappingMapper, org.keycloak.services.clientregistration.policy.impl.ProtocolMappersClientRegistrationPolicyFactory, org.keycloak.protocol.oidc.mappers.AudienceProtocolMapper, org.keycloak.authentication.authenticators.browser.ConditionalOtpFormAuthenticatorFactory, org.keycloak.protocol.docker.DockerAuthenticatorFactory, org.keycloak.events.email.EmailEventListenerProviderFactory, org.keycloak.broker.oidc.mappers.ClaimToRoleMapper, org.keycloak.broker.oidc.mappers.UserAttributeMapper, org.keycloak.broker.provider.HardcodedAttributeMapper, org.keycloak.broker.provider.HardcodedUserSessionAttributeMapper, org.keycloak.models.sessions.infinispan.InfinispanActionTokenStoreProviderFactory, org.keycloak.protocol.saml.mappers.ScriptBasedMapper, org.keycloak.protocol.saml.SamlProtocolFactory, org.keycloak.broker.oidc.mappers.ExternalKeycloakRoleToRoleMapper, org.keycloak.connections.jpa.updater.liquibase.lock.LiquibaseDBLockProviderFactory, org.keycloak.broker.saml.mappers.UsernameTemplateMapper, org.keycloak.protocol.saml.mappers.RoleNameMapper, org.keycloak.authentication.authenticators.browser.OTPFormAuthenticatorFactory, org.keycloak.authentication.authenticators.browser.UsernamePasswordFormFactory, org.keycloak.protocol.oidc.mappers.RoleNameMapper, org.keycloak.services.clientregistration.policy.impl.MaxClientsClientRegistrationPolicyFactory, org.keycloak.protocol.docker.DockerAuthV2ProtocolFactory, org.keycloak.protocol.oidc.mappers.UserAttributeMapper, org.keycloak.authentication.authenticators.browser.CookieAuthenticatorFactory, org.keycloak.broker.provider.HardcodedRoleMapper, org.keycloak.policy.LowerCasePasswordPolicyProviderFactory, org.keycloak.policy.SpecialCharsPasswordPolicyProviderFactory, org.keycloak.policy.UpperCasePasswordPolicyProviderFactory, org.keycloak.services.clientregistration.policy.impl.TrustedHostClientRegistrationPolicyFactory, org.keycloak.exportimport.KeycloakClientDescriptionConverter, org.keycloak.models.sessions.infinispan.InfinispanStickySessionEncoderProviderFactory, org.keycloak.broker.oidc.mappers.UsernameTemplateMapper, org.keycloak.protocol.oidc.mappers.UserRealmRoleMappingMapper, org.keycloak.protocol.oidc.mappers.GroupMembershipMapper, org.keycloak.protocol.oidc.mappers.HardcodedClaim, org.keycloak.authentication.authenticators.broker.IdpReviewProfileAuthenticatorFactory, org.keycloak.authentication.authenticators.x509.X509ClientCertificateAuthenticatorFactory, org.keycloak.protocol.oidc.mappers.HardcodedRole, org.keycloak.authentication.requiredactions.TermsAndConditions, org.keycloak.authorization.DefaultAuthorizationProviderFactory, org.keycloak.models.session.DisabledUserSessionPersisterProvider, org.keycloak.services.x509.DefaultClientCertificateLookupFactory, org.keycloak.authentication.authenticators.broker.IdpCreateUserIfUniqueAuthenticatorFactory, org.keycloak.authentication.authenticators.cli.CliUsernamePasswordAuthenticatorFactory, org.keycloak.timer.basic.BasicTimerProviderFactory, org.keycloak.authentication.authenticators.challenge.BasicAuthAuthenticatorFactory, org.keycloak.authentication.authenticators.challenge.BasicAuthOTPAuthenticatorFactory, org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticatorFactory, org.keycloak.authentication.authenticators.console.ConsoleUsernamePasswordAuthenticatorFactory, org.keycloak.authentication.authenticators.x509.ValidateX509CertificateUsernameFactory, org.keycloak.events.log.JBossLoggingEventListenerProviderFactory, org.keycloak.protocol.oidc.mappers.UserPropertyMapper, org.keycloak.protocol.oidc.mappers.UserSessionNoteMapper, org.keycloak.protocol.saml.mappers.UserAttributeStatementMapper, org.keycloak.transaction.JBossJtaTransactionManagerLookup, org.keycloak.authentication.authenticators.broker.IdpConfirmLinkAuthenticatorFactory, org.keycloak.authentication.authenticators.broker.IdpEmailVerificationAuthenticatorFactory, org.keycloak.federation.kerberos.KerberosFederationProviderFactory, org.keycloak.protocol.saml.mappers.HardcodedAttributeMapper, org.keycloak.protocol.saml.mappers.UserPropertyAttributeStatementMapper, org.keycloak.storage.UserStorageProviderFactory< T extends UserStorageProvider >, org.keycloak.theme.FolderThemeProviderFactory, org.keycloak.authentication.authenticators.broker.IdpAutoLinkAuthenticatorFactory, org.keycloak.authentication.authenticators.resetcred.ResetPassword, org.keycloak.exportimport.singlefile.SingleFileImportProviderFactory, org.keycloak.protocol.oidc.mappers.FullNameMapper, org.keycloak.protocol.oidc.OIDCClientDescriptionConverterFactory, org.keycloak.protocol.saml.mappers.HardcodedRole, org.keycloak.protocol.saml.mappers.UserSessionNoteStatementMapper, org.keycloak.scripting.DefaultScriptingProviderFactory, org.keycloak.authentication.authenticators.resetcred.ResetOTP, org.keycloak.exportimport.dir.DirExportProviderFactory, org.keycloak.exportimport.singlefile.SingleFileExportProviderFactory, org.keycloak.storage.client.ClientStorageProviderFactory< T extends ClientStorageProvider >, org.keycloak.policy.HashAlgorithmPasswordPolicyProviderFactory, org.keycloak.services.managers.DefaultBruteForceProtectorFactory, org.keycloak.storage.jpa.JpaUserFederatedStorageProviderFactory, org.keycloak.theme.ExtendingThemeManagerFactory, org.keycloak.authorization.config.UmaWellKnownProviderFactory, org.keycloak.email.freemarker.FreeMarkerEmailTemplateProviderFactory, org.keycloak.events.jpa.JpaEventStoreProviderFactory, org.keycloak.exportimport.dir.DirImportProviderFactory, org.keycloak.forms.account.freemarker.FreeMarkerAccountProviderFactory, org.keycloak.forms.login.freemarker.FreeMarkerLoginFormsProviderFactory, org.keycloak.models.jpa.session.JpaUserSessionPersisterProviderFactory, org.keycloak.policy.ForceExpiredPasswordPolicyProviderFactory, org.keycloak.protocol.oidc.AccessTokenIntrospectionProviderFactory, org.keycloak.services.clientregistration.policy.impl.ClientDisabledClientRegistrationPolicyFactory, org.keycloak.services.clientregistration.policy.impl.ConsentRequiredClientRegistrationPolicyFactory, org.keycloak.services.clientregistration.policy.impl.ScopeClientRegistrationPolicyFactory, org.keycloak.services.migration.DefaultMigrationProviderFactory, org.keycloak.authorization.jpa.store.JPAAuthorizationStoreFactory, org.keycloak.authorization.protection.introspect.RPTIntrospectionProviderFactory, org.keycloak.protocol.docker.installation.DockerComposeYamlInstallationProvider, org.keycloak.protocol.oidc.OIDCWellKnownProviderFactory, org.keycloak.protocol.saml.clientregistration.EntityDescriptorClientRegistrationProviderFactory, org.keycloak.services.clientregistration.oidc.OIDCClientRegistrationProviderFactory, org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProviderFactory, org.keycloak.credential.hash.Pbkdf2PasswordHashProviderFactory, org.keycloak.email.DefaultEmailSenderProviderFactory, org.keycloak.policy.DefaultPasswordPolicyManagerProviderFactory, org.keycloak.policy.HashIterationsPasswordPolicyProviderFactory, org.keycloak.services.clientregistration.AdapterInstallationClientRegistrationProviderFactory, org.keycloak.services.clientregistration.DefaultClientRegistrationProviderFactory, org.keycloak.models.jpa.JpaRealmProviderFactory, org.keycloak.models.jpa.JpaUserCredentialStoreFactory, org.keycloak.models.jpa.JpaUserProviderFactory, org.keycloak.social.gitlab.GitLabIdentityProviderFactory, org.keycloak.social.linkedin.LinkedInIdentityProviderFactory, org.keycloak.social.stackoverflow.StackoverflowIdentityProviderFactory, org.keycloak.social.bitbucket.BitbucketIdentityProviderFactory, org.keycloak.social.facebook.FacebookIdentityProviderFactory, org.keycloak.social.github.GitHubIdentityProviderFactory, org.keycloak.social.google.GoogleIdentityProviderFactory, org.keycloak.social.instagram.InstagramIdentityProviderFactory, org.keycloak.social.microsoft.MicrosoftIdentityProviderFactory, org.keycloak.social.paypal.PayPalIdentityProviderFactory, org.keycloak.social.twitter.TwitterIdentityProviderFactory, org.keycloak.locale.DefaultLocaleSelectorProviderFactory, org.keycloak.services.x509.ApacheProxySslClientCertificateLookupFactory, org.keycloak.authentication.authenticators.broker.IdpUsernamePasswordFormFactory, org.keycloak.services.x509.HaProxySslClientCertificateLookupFactory, org.keycloak.theme.ClasspathThemeResourceProviderFactory, org.keycloak.protocol.docker.installation.DockerRegistryConfigFileInstallationProvider, org.keycloak.protocol.docker.installation.DockerVariableOverrideInstallationProvider, org.keycloak.protocol.openshift.OpenShiftTokenReviewEndpointFactory, org.keycloak.social.paypal.PayPalUserAttributeMapper, org.keycloak.social.facebook.FacebookUserAttributeMapper, org.keycloak.social.github.GitHubUserAttributeMapper, org.keycloak.social.google.GoogleUserAttributeMapper, org.keycloak.social.instagram.InstagramUserAttributeMapper, org.keycloak.social.linkedin.LinkedInUserAttributeMapper, org.keycloak.social.microsoft.MicrosoftUserAttributeMapper, org.keycloak.social.stackoverflow.StackoverflowUserAttributeMapper, org.keycloak.credential.CredentialProviderFactory< T extends CredentialProvider >, org.keycloak.protocol.oidc.RefreshTokenIntrospectionProviderFactory, org.keycloak.credential.hash.Pbkdf2Sha256PasswordHashProviderFactory, org.keycloak.credential.hash.Pbkdf2Sha512PasswordHashProviderFactory, org.keycloak.policy.HistoryPasswordPolicyProviderFactory, org.keycloak.policy.DigitsPasswordPolicyProviderFactory, org.keycloak.policy.LengthPasswordPolicyProviderFactory, org.keycloak.policy.NotUsernamePasswordPolicyProviderFactory, org.keycloak.policy.RegexPatternsPasswordPolicyProviderFactory, org.keycloak.url.FixedHostnameProviderFactory, org.keycloak.protocol.docker.mapper.AllowAllDockerProtocolMapper, org.keycloak.theme.DefaultThemeSelectorProviderFactory, org.keycloak.crypto.ES256SignatureProviderFactory, org.keycloak.crypto.ES384SignatureProviderFactory, org.keycloak.crypto.ES512SignatureProviderFactory, org.keycloak.crypto.HS256SignatureProviderFactory, org.keycloak.crypto.HS384SignatureProviderFactory, org.keycloak.crypto.HS512SignatureProviderFactory, org.keycloak.crypto.RS256SignatureProviderFactory, org.keycloak.crypto.RS384SignatureProviderFactory, org.keycloak.crypto.RS512SignatureProviderFactory, org.keycloak.social.openshift.OpenshiftV3IdentityProviderFactory, org.keycloak.url.RequestHostnameProviderFactory (計219項目)で実装されています。

◆ hasClaimValue()

boolean org.keycloak.broker.oidc.mappers.AbstractClaimMapper.hasClaimValue ( IdentityProviderMapperModel  mapperModel,
BrokeredIdentityContext  context 
)
inlineprotected
93  {
94  Object value = getClaimValue(mapperModel, context);
95  String desiredValue = mapperModel.getConfig().get(CLAIM_VALUE);
96  return valueEquals(desiredValue, value);
97  }
static final String CLAIM_VALUE
Definition: AbstractClaimMapper.java:41
boolean valueEquals(String desiredValue, Object value)
Definition: AbstractClaimMapper.java:99
static Object getClaimValue(JsonWebToken token, String claim)
Definition: AbstractClaimMapper.java:43

◆ importNewUser()

void org.keycloak.broker.provider.AbstractIdentityProviderMapper.importNewUser ( KeycloakSession  session,
RealmModel  realm,
UserModel  user,
IdentityProviderMapperModel  mapperModel,
BrokeredIdentityContext  context 
)
inlineinherited

org.keycloak.broker.provider.IdentityProviderMapperを実装しています。

57  {
58 
59  }

◆ init() [1/2]

void org.keycloak.provider.ProviderFactory< T extends Provider >.init ( Config.Scope  config)
inherited

Only called once when the factory is first created. This config is pulled from keycloak_server.json

引数
config

org.keycloak.storage.ldap.LDAPStorageProviderFactory, org.keycloak.protocol.saml.EntityDescriptorDescriptionConverter, org.keycloak.authentication.authenticators.x509.AbstractX509ClientCertificateAuthenticatorFactory, org.keycloak.authentication.forms.RegistrationUserCreation, org.keycloak.authentication.authenticators.resetcred.ResetCredentialEmail, org.keycloak.authentication.forms.RegistrationRecaptcha, org.keycloak.authentication.authenticators.resetcred.ResetCredentialChooseUser, org.keycloak.authentication.forms.RegistrationProfile, org.keycloak.authentication.forms.RegistrationPassword, org.keycloak.cluster.infinispan.InfinispanClusterProviderFactory, org.keycloak.protocol.saml.installation.KeycloakSamlClientInstallation, org.keycloak.protocol.saml.installation.SamlIDPDescriptorClientInstallation, org.keycloak.authentication.requiredactions.UpdateProfile, org.keycloak.authentication.requiredactions.UpdatePassword, org.keycloak.protocol.oidc.installation.KeycloakOIDCClientInstallation, org.keycloak.protocol.saml.mappers.RoleNameMapper, org.keycloak.connections.httpclient.DefaultHttpClientFactory, org.keycloak.protocol.saml.installation.ModAuthMellonClientInstallation, org.keycloak.federation.kerberos.KerberosFederationProviderFactory, org.keycloak.authentication.requiredactions.VerifyEmail, org.keycloak.authentication.requiredactions.UpdateTotp, org.keycloak.connections.jpa.updater.liquibase.conn.DefaultLiquibaseConnectionProvider, org.keycloak.protocol.oidc.installation.KeycloakOIDCJbossSubsystemClientInstallation, org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory, org.keycloak.protocol.saml.installation.SamlSPDescriptorClientInstallation, org.keycloak.policy.BlacklistPasswordPolicyProviderFactory, org.keycloak.authentication.forms.RegistrationPage, org.keycloak.protocol.saml.profile.ecp.authenticator.HttpBasicAuthenticatorFactory, org.keycloak.authentication.authenticators.browser.IdentityProviderAuthenticatorFactory, org.keycloak.authentication.authenticators.resetcred.AbstractSetRequiredActionAuthenticator, org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory, org.keycloak.protocol.saml.installation.KeycloakSamlSubsystemInstallation, org.keycloak.keys.infinispan.InfinispanPublicKeyStorageProviderFactory, org.keycloak.theme.ClasspathThemeProviderFactory, org.keycloak.models.cache.infinispan.InfinispanUserCacheProviderFactory, org.keycloak.models.cache.infinispan.InfinispanCacheRealmProviderFactory, org.keycloak.executors.DefaultExecutorsProviderFactory, org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactory, org.keycloak.protocol.saml.SamlProtocolFactory, org.keycloak.authentication.authenticators.browser.ConditionalOtpFormAuthenticatorFactory, org.keycloak.protocol.docker.DockerAuthenticatorFactory, org.keycloak.storage.UserStorageProviderFactory< T extends UserStorageProvider >, org.keycloak.storage.client.ClientStorageProviderFactory< T extends ClientStorageProvider >, org.keycloak.authentication.authenticators.directgrant.AbstractDirectGrantAuthenticator, org.keycloak.authentication.authenticators.browser.OTPFormAuthenticatorFactory, org.keycloak.authentication.authenticators.browser.UsernamePasswordFormFactory, org.keycloak.exportimport.KeycloakClientDescriptionConverter, org.keycloak.authentication.authenticators.browser.SpnegoAuthenticatorFactory, org.keycloak.protocol.oidc.mappers.AbstractOIDCProtocolMapper, org.keycloak.authentication.authenticators.browser.CookieAuthenticatorFactory, org.keycloak.authentication.requiredactions.TermsAndConditions, org.keycloak.events.email.EmailEventListenerProviderFactory, org.keycloak.authentication.authenticators.broker.IdpReviewProfileAuthenticatorFactory, org.keycloak.protocol.saml.mappers.AbstractSAMLProtocolMapper, org.keycloak.models.session.DisabledUserSessionPersisterProvider, org.keycloak.services.x509.DefaultClientCertificateLookupFactory, org.keycloak.authentication.authenticators.broker.IdpCreateUserIfUniqueAuthenticatorFactory, org.keycloak.authentication.authenticators.cli.CliUsernamePasswordAuthenticatorFactory, org.keycloak.authentication.authenticators.client.AbstractClientAuthenticator, org.keycloak.theme.JarThemeProviderFactory, org.keycloak.authentication.authenticators.challenge.BasicAuthAuthenticatorFactory, org.keycloak.authentication.authenticators.challenge.BasicAuthOTPAuthenticatorFactory, org.keycloak.authentication.authenticators.challenge.NoCookieFlowRedirectAuthenticatorFactory, org.keycloak.connections.jpa.updater.liquibase.lock.LiquibaseDBLockProviderFactory, org.keycloak.models.sessions.infinispan.InfinispanActionTokenStoreProviderFactory, org.keycloak.timer.basic.BasicTimerProviderFactory, org.keycloak.truststore.FileTruststoreProviderFactory, org.keycloak.authentication.authenticators.console.ConsoleUsernamePasswordAuthenticatorFactory, org.keycloak.events.log.JBossLoggingEventListenerProviderFactory, org.keycloak.protocol.oidc.OIDCClientDescriptionConverterFactory, org.keycloak.authentication.authenticators.broker.IdpConfirmLinkAuthenticatorFactory, org.keycloak.authentication.authenticators.broker.IdpEmailVerificationAuthenticatorFactory, org.keycloak.exportimport.singlefile.SingleFileImportProviderFactory, org.keycloak.services.x509.AbstractClientCertificateFromHttpHeadersLookupFactory, org.keycloak.theme.ClasspathThemeResourceProviderFactory, org.keycloak.exportimport.dir.DirExportProviderFactory, org.keycloak.exportimport.singlefile.SingleFileExportProviderFactory, org.keycloak.policy.HashAlgorithmPasswordPolicyProviderFactory, org.keycloak.policy.HistoryPasswordPolicyProviderFactory, org.keycloak.protocol.docker.mapper.DockerAuthV2ProtocolMapper, org.keycloak.authentication.authenticators.broker.IdpAutoLinkAuthenticatorFactory, org.keycloak.models.jpa.session.JpaUserSessionPersisterProviderFactory, org.keycloak.policy.DigitsPasswordPolicyProviderFactory, org.keycloak.policy.LengthPasswordPolicyProviderFactory, org.keycloak.policy.NotUsernamePasswordPolicyProviderFactory, org.keycloak.policy.RegexPatternsPasswordPolicyProviderFactory, org.keycloak.scripting.DefaultScriptingProviderFactory, org.keycloak.credential.hash.Pbkdf2PasswordHashProviderFactory, org.keycloak.events.jpa.JpaEventStoreProviderFactory, org.keycloak.exportimport.dir.DirImportProviderFactory, org.keycloak.transaction.JBossJtaTransactionManagerLookup, org.keycloak.email.freemarker.FreeMarkerEmailTemplateProviderFactory, org.keycloak.forms.account.freemarker.FreeMarkerAccountProviderFactory, org.keycloak.forms.login.freemarker.FreeMarkerLoginFormsProviderFactory, org.keycloak.policy.ForceExpiredPasswordPolicyProviderFactory, org.keycloak.storage.jpa.JpaUserFederatedStorageProviderFactory, org.keycloak.keys.KeyProviderFactory< T extends KeyProvider >, org.keycloak.policy.HashIterationsPasswordPolicyProviderFactory, org.keycloak.protocol.oidc.OIDCWellKnownProviderFactory, org.keycloak.protocol.saml.clientregistration.EntityDescriptorClientRegistrationProviderFactory, org.keycloak.services.clientregistration.oidc.OIDCClientRegistrationProviderFactory, org.keycloak.theme.ExtendingThemeManagerFactory, org.keycloak.theme.FolderThemeProviderFactory, org.keycloak.credential.CredentialProviderFactory< T extends CredentialProvider >, org.keycloak.services.clientregistration.policy.AbstractClientRegistrationPolicyFactory, org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProviderFactory, org.keycloak.policy.LowerCasePasswordPolicyProviderFactory, org.keycloak.policy.SpecialCharsPasswordPolicyProviderFactory, org.keycloak.policy.UpperCasePasswordPolicyProviderFactory, org.keycloak.protocol.oidc.AccessTokenIntrospectionProviderFactory, org.keycloak.provider.wildfly.ModuleThemeProviderFactory, org.keycloak.services.managers.DefaultBruteForceProtectorFactory, org.keycloak.services.migration.DefaultMigrationProviderFactory, org.keycloak.models.jpa.JpaRealmProviderFactory, org.keycloak.models.jpa.JpaUserCredentialStoreFactory, org.keycloak.models.jpa.JpaUserProviderFactory, org.keycloak.protocol.docker.installation.DockerComposeYamlInstallationProvider, org.keycloak.email.DefaultEmailSenderProviderFactory, org.keycloak.policy.DefaultPasswordPolicyManagerProviderFactory, org.keycloak.protocol.AbstractLoginProtocolFactory, org.keycloak.services.clientregistration.AdapterInstallationClientRegistrationProviderFactory, org.keycloak.services.clientregistration.DefaultClientRegistrationProviderFactory, org.keycloak.locale.DefaultLocaleSelectorProviderFactory, org.keycloak.urls.HostnameProviderFactory, org.keycloak.credential.hash.Pbkdf2Sha256PasswordHashProviderFactory, org.keycloak.credential.hash.Pbkdf2Sha512PasswordHashProviderFactory, org.keycloak.crypto.SignatureProviderFactory, org.keycloak.protocol.docker.installation.DockerRegistryConfigFileInstallationProvider, org.keycloak.protocol.docker.installation.DockerVariableOverrideInstallationProvider, org.keycloak.url.FixedHostnameProviderFactory, org.keycloak.theme.DefaultThemeSelectorProviderFactory, org.keycloak.protocol.oidc.ext.OIDCExtProviderFactory (計132項目)で実装されています。

◆ init() [2/2]

void org.keycloak.broker.provider.AbstractIdentityProviderMapper.init ( org.keycloak.Config.Scope  config)
inlineinherited
42  {
43 
44  }

◆ order()

default int org.keycloak.provider.ProviderFactory< T extends Provider >.order ( )
inlineinherited

◆ postInit()

void org.keycloak.broker.provider.AbstractIdentityProviderMapper.postInit ( KeycloakSessionFactory  factory)
inlineinherited

org.keycloak.provider.ProviderFactory< T extends Provider >を実装しています。

47  {
48 
49  }

◆ preprocessFederatedIdentity()

void org.keycloak.broker.provider.AbstractIdentityProviderMapper.preprocessFederatedIdentity ( KeycloakSession  session,
RealmModel  realm,
IdentityProviderMapperModel  mapperModel,
BrokeredIdentityContext  context 
)
inlineinherited

org.keycloak.broker.provider.IdentityProviderMapperを実装しています。

52  {
53 
54  }

◆ updateBrokeredUser()

void org.keycloak.broker.provider.IdentityProviderMapper.updateBrokeredUser ( KeycloakSession  session,
RealmModel  realm,
UserModel  user,
IdentityProviderMapperModel  mapperModel,
BrokeredIdentityContext  context 
)
inherited

◆ valueEquals()

boolean org.keycloak.broker.oidc.mappers.AbstractClaimMapper.valueEquals ( String  desiredValue,
Object  value 
)
inline
99  {
100  if (value instanceof String) {
101  if (desiredValue.equals(value)) return true;
102  } else if (value instanceof Double) {
103  try {
104  if (Double.valueOf(desiredValue).equals(value)) return true;
105  } catch (Exception e) {
106 
107  }
108  } else if (value instanceof Integer) {
109  try {
110  if (Integer.valueOf(desiredValue).equals(value)) return true;
111  } catch (Exception e) {
112 
113  }
114  } else if (value instanceof Boolean) {
115  try {
116  if (Boolean.valueOf(desiredValue).equals(value)) return true;
117  } catch (Exception e) {
118 
119  }
120  } else if (value instanceof List) {
121  List list = (List)value;
122  for (Object val : list) {
123  if (valueEquals(desiredValue, val)) return true;
124  }
125  }
126  return false;
127  }
boolean valueEquals(String desiredValue, Object value)
Definition: AbstractClaimMapper.java:99

メンバ詳解

◆ ANY_PROVIDER

final String org.keycloak.broker.provider.IdentityProviderMapper.ANY_PROVIDER = "*"
staticinherited

◆ CLAIM

final String org.keycloak.broker.oidc.mappers.AbstractClaimMapper.CLAIM = "claim"
static

◆ CLAIM_VALUE

final String org.keycloak.broker.oidc.mappers.AbstractClaimMapper.CLAIM_VALUE = "claim.value"
static

このクラス詳解は次のファイルから抽出されました: