Uses of Class
org.keycloak.models.ProtocolMapperModel
Package
Description
-
Uses of ProtocolMapperModel in org.keycloak.migration
-
Uses of ProtocolMapperModel in org.keycloak.migration.migrators
Modifier and TypeMethodDescriptionprotected void
MigrateTo1_6_0.migrateRealm
(KeycloakSession session, ProtocolMapperModel localeMapper, RealmModel realm) -
Uses of ProtocolMapperModel in org.keycloak.models
Modifier and TypeMethodDescriptionClientScopeDecorator.addProtocolMapper
(ProtocolMapperModel model) ProtocolMapperContainerModel.addProtocolMapper
(ProtocolMapperModel model) ClientScopeDecorator.getProtocolMapperById
(String id) ProtocolMapperContainerModel.getProtocolMapperById
(String id) ClientScopeDecorator.getProtocolMapperByName
(String protocol, String name) ProtocolMapperContainerModel.getProtocolMapperByName
(String protocol, String name) Modifier and TypeMethodDescriptionClientScopeDecorator.getProtocolMappersStream()
ClientSessionContext.getProtocolMappersStream()
Returns protocol mappers as a stream.ProtocolMapperContainerModel.getProtocolMappersStream()
Returns protocol mappers as a stream.Modifier and TypeMethodDescriptionClientScopeDecorator.addProtocolMapper
(ProtocolMapperModel model) ProtocolMapperContainerModel.addProtocolMapper
(ProtocolMapperModel model) void
UserProvider.preRemove
(ProtocolMapperModel protocolMapper) Called when a protocolMapper is removedvoid
ClientScopeDecorator.removeProtocolMapper
(ProtocolMapperModel mapping) void
ProtocolMapperContainerModel.removeProtocolMapper
(ProtocolMapperModel mapping) void
ClientScopeDecorator.updateProtocolMapper
(ProtocolMapperModel mapping) void
ProtocolMapperContainerModel.updateProtocolMapper
(ProtocolMapperModel mapping) -
Uses of ProtocolMapperModel in org.keycloak.models.cache.infinispan
Modifier and TypeMethodDescriptionClientAdapter.addProtocolMapper
(ProtocolMapperModel model) ClientScopeAdapter.addProtocolMapper
(ProtocolMapperModel model) ClientAdapter.getProtocolMapperById
(String id) ClientScopeAdapter.getProtocolMapperById
(String id) ClientAdapter.getProtocolMapperByName
(String protocol, String name) ClientScopeAdapter.getProtocolMapperByName
(String protocol, String name) Modifier and TypeMethodDescriptionClientAdapter.getProtocolMappersStream()
ClientScopeAdapter.getProtocolMappersStream()
Modifier and TypeMethodDescriptionClientAdapter.addProtocolMapper
(ProtocolMapperModel model) ClientScopeAdapter.addProtocolMapper
(ProtocolMapperModel model) void
UserCacheSession.preRemove
(ProtocolMapperModel protocolMapper) void
ClientAdapter.removeProtocolMapper
(ProtocolMapperModel mapping) void
ClientScopeAdapter.removeProtocolMapper
(ProtocolMapperModel mapping) void
ClientAdapter.updateProtocolMapper
(ProtocolMapperModel mapping) void
ClientScopeAdapter.updateProtocolMapper
(ProtocolMapperModel mapping) -
Uses of ProtocolMapperModel in org.keycloak.models.cache.infinispan.entities
Modifier and TypeMethodDescriptionCachedClient.getProtocolMappers()
CachedClientScope.getProtocolMappers()
-
Uses of ProtocolMapperModel in org.keycloak.models.delegate
Modifier and TypeMethodDescriptionClientModelLazyDelegate.addProtocolMapper
(ProtocolMapperModel model) ClientModelLazyDelegate.getProtocolMapperById
(String id) ClientModelLazyDelegate.getProtocolMapperByName
(String protocol, String name) Modifier and TypeMethodDescriptionClientModelLazyDelegate.addProtocolMapper
(ProtocolMapperModel model) void
ClientModelLazyDelegate.removeProtocolMapper
(ProtocolMapperModel mapping) void
ClientModelLazyDelegate.updateProtocolMapper
(ProtocolMapperModel mapping) -
Uses of ProtocolMapperModel in org.keycloak.models.jpa
Modifier and TypeMethodDescriptionClientAdapter.addProtocolMapper
(ProtocolMapperModel model) ClientScopeAdapter.addProtocolMapper
(ProtocolMapperModel model) protected ProtocolMapperModel
ClientAdapter.entityToModel
(ProtocolMapperEntity entity) protected ProtocolMapperModel
ClientScopeAdapter.entityToModel
(ProtocolMapperEntity entity) ClientAdapter.getProtocolMapperById
(String id) ClientScopeAdapter.getProtocolMapperById
(String id) ClientAdapter.getProtocolMapperByName
(String protocol, String name) ClientScopeAdapter.getProtocolMapperByName
(String protocol, String name) Modifier and TypeMethodDescriptionClientAdapter.getProtocolMappersStream()
ClientScopeAdapter.getProtocolMappersStream()
Modifier and TypeMethodDescriptionClientAdapter.addProtocolMapper
(ProtocolMapperModel model) ClientScopeAdapter.addProtocolMapper
(ProtocolMapperModel model) void
JpaUserProvider.preRemove
(ProtocolMapperModel protocolMapper) void
ClientAdapter.removeProtocolMapper
(ProtocolMapperModel mapping) void
ClientScopeAdapter.removeProtocolMapper
(ProtocolMapperModel mapping) void
ClientAdapter.updateProtocolMapper
(ProtocolMapperModel mapping) void
ClientScopeAdapter.updateProtocolMapper
(ProtocolMapperModel mapping) -
Uses of ProtocolMapperModel in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic ProtocolMapperModel
RepresentationToModel.toModel
(ProtocolMapperRepresentation rep) Modifier and TypeMethodDescriptionstatic ProtocolMapperRepresentation
ModelToRepresentation.toRepresentation
(ProtocolMapperModel model) -
Uses of ProtocolMapperModel in org.keycloak.organization.protocol.mappers.oidc
Modifier and TypeMethodDescriptionstatic ProtocolMapperModel
OrganizationMembershipMapper.create
(String name, boolean accessToken, boolean idToken, boolean introspectionEndpoint) OrganizationMembershipMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel model) Modifier and TypeMethodDescriptionOrganizationMembershipMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel model) protected void
OrganizationMembershipMapper.setClaim
(IDToken token, ProtocolMapperModel model, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx) -
Uses of ProtocolMapperModel in org.keycloak.organization.protocol.mappers.saml
Modifier and TypeMethodDescriptionstatic ProtocolMapperModel
OrganizationMembershipMapper.create()
Modifier and TypeMethodDescriptionvoid
OrganizationMembershipMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) -
Uses of ProtocolMapperModel in org.keycloak.protocol
Modifier and TypeMethodDescriptionstatic ProtocolMapperModel
ProtocolMapperUtils.findLocaleMapper
(KeycloakSession session) Find the builtin locale mapper.default ProtocolMapperModel
ProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) Get effective configuration of protocol mapper.Modifier and TypeMethodDescriptionLoginProtocolFactory.getBuiltinMappers()
List of built in protocol mappers that can be used to apply to clients.static Stream<Map.Entry<ProtocolMapperModel,
ProtocolMapper>> ProtocolMapperUtils.getSortedProtocolMappers
(KeycloakSession session, ClientSessionContext ctx) static Stream<Map.Entry<ProtocolMapperModel,
ProtocolMapper>> ProtocolMapperUtils.getSortedProtocolMappers
(KeycloakSession session, ClientSessionContext ctx, Predicate<Map.Entry<ProtocolMapperModel, ProtocolMapper>> filter) Modifier and TypeMethodDescriptiondefault ProtocolMapperModel
ProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) Get effective configuration of protocol mapper.static boolean
ProtocolMapperUtils.isEnabled
(KeycloakSession session, ProtocolMapperModel mapper) 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 endpointModifier and TypeMethodDescriptionstatic int
ProtocolMapperUtils.compare
(Map.Entry<ProtocolMapperModel, ProtocolMapper> entry) static Stream<Map.Entry<ProtocolMapperModel,
ProtocolMapper>> ProtocolMapperUtils.getSortedProtocolMappers
(KeycloakSession session, ClientSessionContext ctx, Predicate<Map.Entry<ProtocolMapperModel, ProtocolMapper>> filter) -
Uses of ProtocolMapperModel in org.keycloak.protocol.docker
-
Uses of ProtocolMapperModel in org.keycloak.protocol.docker.mapper
Modifier and TypeMethodDescriptionAllowAllDockerProtocolMapper.transformDockerResponseToken
(DockerResponseToken responseToken, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) DockerAuthV2AttributeMapper.transformDockerResponseToken
(DockerResponseToken responseToken, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) -
Uses of ProtocolMapperModel in org.keycloak.protocol.oid4vc
-
Uses of ProtocolMapperModel in org.keycloak.protocol.oid4vc.issuance.mappers
Modifier and TypeMethodDescriptionstatic ProtocolMapperModel
static ProtocolMapperModel
static ProtocolMapperModel
OID4VCUserAttributeMapper.create
(String mapperName, String userAttribute, String propertyName, boolean aggregateAttributes) -
Uses of ProtocolMapperModel in org.keycloak.protocol.oidc
-
Uses of ProtocolMapperModel in org.keycloak.protocol.oidc.mappers
Modifier and TypeMethodDescriptionstatic ProtocolMapperModel
AcrProtocolMapper.create
(String name, boolean accessToken, boolean idToken, boolean introspectionEndpoint) static ProtocolMapperModel
static ProtocolMapperModel
FullNameMapper.create
(String name, boolean accessToken, boolean idToken, boolean userInfo, boolean introspectionEndpoint) static ProtocolMapperModel
GroupMembershipMapper.create
(String name, String tokenClaimName, boolean consentRequired, String consentText, boolean accessToken, boolean idToken, boolean introspectionEndpoint) static ProtocolMapperModel
HardcodedClaim.create
(String name, String hardcodedName, String hardcodedValue, String claimType, boolean accessToken, boolean idToken, boolean introspectionEndpoint) static ProtocolMapperModel
static ProtocolMapperModel
static ProtocolMapperModel
static ProtocolMapperModel
ScriptBasedOIDCProtocolMapper.create
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, boolean introspectionEndpoint, String script, boolean multiValued) static ProtocolMapperModel
SessionStateMapper.create
(String name, boolean accessToken, boolean idToken, boolean userInfo, boolean introspectionEndpoint) static ProtocolMapperModel
static ProtocolMapperModel
UserClientRoleMappingMapper.create
(String clientId, String clientRolePrefix, String name, String tokenClaimName, boolean accessToken, boolean idToken, boolean introspectionEndpoint) static ProtocolMapperModel
UserClientRoleMappingMapper.create
(String clientId, String clientRolePrefix, String name, String tokenClaimName, boolean accessToken, boolean idToken, boolean introspectionEndpoint, boolean multiValued) static ProtocolMapperModel
UserRealmRoleMappingMapper.create
(String realmRolePrefix, String name, String tokenClaimName, boolean accessToken, boolean idToken, boolean introspectionEndpoint) static ProtocolMapperModel
UserRealmRoleMappingMapper.create
(String realmRolePrefix, String name, String tokenClaimName, boolean accessToken, boolean idToken, boolean introspectionEndpoint, boolean multiValued) static ProtocolMapperModel
AddressMapper.createAddressMapper()
static ProtocolMapperModel
AddressMapper.createAddressMapper
(boolean idToken, boolean accessToken, boolean userInfo, boolean introspectionEndpoint) static ProtocolMapperModel
AllowedWebOriginsProtocolMapper.createClaimMapper
(String name, boolean accessToken, boolean introspectionEndpoint) static ProtocolMapperModel
AudienceProtocolMapper.createClaimMapper
(String name, String includedClientAudience, String includedCustomAudience, boolean accessToken, boolean idToken, boolean introspectionEndpoint) static ProtocolMapperModel
AudienceResolveProtocolMapper.createClaimMapper
(String name, boolean accessToken, boolean introspectionEndpoint) static ProtocolMapperModel
OIDCAttributeMapperHelper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, boolean userinfo, boolean introspectionEndpoint, String mapperId) static ProtocolMapperModel
OIDCAttributeMapperHelper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, boolean introspectionEndpoint, String mapperId) static ProtocolMapperModel
UserAttributeMapper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, boolean introspectionEndpoint) static ProtocolMapperModel
UserAttributeMapper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, boolean introspectionEndpoint, boolean multivalued) static ProtocolMapperModel
UserAttributeMapper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, boolean introspectionEndpoint, boolean multivalued, boolean aggregateAttrs) static ProtocolMapperModel
UserPropertyMapper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, boolean introspectionEndpoint) static ProtocolMapperModel
UserSessionNoteMapper.createClaimMapper
(String name, String userSessionNote, String tokenClaimName, String jsonType, boolean accessToken, boolean idToken, boolean introspectionEndpoint) static ProtocolMapperModel
UserSessionNoteMapper.createClaimMapper
(String name, String userSessionNote, String tokenClaimName, String jsonType, boolean accessToken, boolean idToken, boolean userInfo, boolean introspectionEndpoint) static ProtocolMapperModel
ClaimsParameterTokenMapper.createMapper
(String name, boolean idToken, boolean userInfo) static ProtocolMapperModel
ClaimsParameterWithValueIdTokenMapper.createMapper
(String name, String attributeValue, boolean idToken) static ProtocolMapperModel
UserSessionNoteMapper.createUserSessionNoteMapper
(UserSessionNoteDescriptor userSessionNoteDescriptor) For session notes defined using aUserSessionNoteDescriptor
enumAbstractOIDCProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) AllowedWebOriginsProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) AudienceResolveProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) Modifier and TypeMethodDescriptionabstract String
AbstractPairwiseSubMapper.generateSub
(ProtocolMapperModel mappingModel, String sectorIdentifier, String localSub) Generates a pairwise subject identifier.SHA256PairwiseSubMapper.generateSub
(ProtocolMapperModel mappingModel, String sectorIdentifier, String localSub) AbstractOIDCProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) AllowedWebOriginsProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) AudienceResolveProtocolMapper.getEffectiveModel
(KeycloakSession session, RealmModel realm, ProtocolMapperModel protocolMapperModel) static String
PairwiseSubMapperHelper.getSalt
(ProtocolMapperModel mappingModel) protected String
DeployedScriptOIDCProtocolMapper.getScriptCode
(ProtocolMapperModel mapperModel) protected String
ScriptBasedOIDCProtocolMapper.getScriptCode
(ProtocolMapperModel mapperModel) static String
PairwiseSubMapperHelper.getSectorIdentifierUri
(ProtocolMapperModel mappingModel) static boolean
OIDCAttributeMapperHelper.includeInAccessToken
(ProtocolMapperModel mappingModel) static boolean
OIDCAttributeMapperHelper.includeInAccessTokenResponse
(ProtocolMapperModel mappingModel) static boolean
OIDCAttributeMapperHelper.includeInIDToken
(ProtocolMapperModel mappingModel) static boolean
OIDCAttributeMapperHelper.includeInIntrospection
(ProtocolMapperModel mappingModel) static boolean
OIDCAttributeMapperHelper.includeInLightweightAccessToken
(ProtocolMapperModel mappingModel) static boolean
OIDCAttributeMapperHelper.includeInUserInfo
(ProtocolMapperModel mappingModel) static boolean
OIDCAttributeMapperHelper.isMultivalued
(ProtocolMapperModel mappingModel) static Object
OIDCAttributeMapperHelper.mapAttributeValue
(ProtocolMapperModel mappingModel, Object attributeValue) static void
OIDCAttributeMapperHelper.mapClaim
(AccessTokenResponse token, ProtocolMapperModel mappingModel, Object attributeValue) static void
OIDCAttributeMapperHelper.mapClaim
(IDToken token, ProtocolMapperModel mappingModel, Object attributeValue) protected void
AbstractOIDCProtocolMapper.setClaim
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) Intended to be overridden inProtocolMapper
implementations to add claims to an token.protected void
AbstractOIDCProtocolMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession) Deprecated.protected void
AbstractOIDCProtocolMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) Intended to be overridden inProtocolMapper
implementations to add claims to an token.protected void
AcrProtocolMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
AddressMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession) protected void
AmrProtocolMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
AudienceProtocolMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
ClaimsParameterTokenMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
ClaimsParameterWithValueIdTokenMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
FullNameMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession) protected void
GroupMembershipMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession) Adds the group membership information to theJsonWebToken.otherClaims
.protected void
HardcodedClaim.setClaim
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
HardcodedClaim.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession) protected void
HardcodedRole.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx) protected void
RoleNameMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx) protected void
ScriptBasedOIDCProtocolMapper.setClaim
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
ScriptBasedOIDCProtocolMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
SessionStateMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
SubMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
UserAttributeMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession) protected void
UserClientRoleMappingMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx) protected void
UserPropertyMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession) protected void
UserRealmRoleMappingMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession session, ClientSessionContext clientSessionCtx) protected void
UserSessionNoteMapper.setClaim
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, UserSessionModel userSession, KeycloakSession keycloakSession, ClientSessionContext clientSessionCtx) protected void
UserSessionNoteMapper.setClaim
(IDToken token, ProtocolMapperModel mappingModel, UserSessionModel userSession) static void
PairwiseSubMapperHelper.setSalt
(ProtocolMapperModel mappingModel, String salt) static void
PairwiseSubMapperHelper.setSectorIdentifierUri
(ProtocolMapperModel mappingModel, String sectorIdentifierUri) AbstractOIDCProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AllowedWebOriginsProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AudienceResolveProtocolMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) NonceBackwardsCompatibleMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCAccessTokenMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformAccessToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformAccessTokenResponse
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCAccessTokenResponseMapper.transformAccessTokenResponse
(AccessTokenResponse accessTokenResponse, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformIDToken
(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformIDToken
(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) OIDCIDTokenMapper.transformIDToken
(IDToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSession) AbstractOIDCProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AllowedWebOriginsProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AudienceResolveProtocolMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) TokenIntrospectionTokenMapper.transformIntrospectionToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractOIDCProtocolMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) AbstractPairwiseSubMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) HardcodedRole.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) RoleNameMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) UserInfoTokenMapper.transformUserInfoToken
(AccessToken token, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) static boolean
GroupMembershipMapper.useFullPath
(ProtocolMapperModel mappingModel) void
AbstractPairwiseSubMapper.validateAdditionalConfig
(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel mapperContainer, ProtocolMapperModel mapperModel) Override to add additional configuration validation.void
SHA256PairwiseSubMapper.validateAdditionalConfig
(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel mapperContainer, ProtocolMapperModel mapperModel) final void
AbstractPairwiseSubMapper.validateConfig
(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel mapperContainer, ProtocolMapperModel mapperModel) void
ScriptBasedOIDCProtocolMapper.validateConfig
(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel client, ProtocolMapperModel mapperModel) -
Uses of ProtocolMapperModel in org.keycloak.protocol.oidc.utils
Modifier and TypeMethodDescriptionstatic void
PairwiseSubMapperValidator.validate
(KeycloakSession session, ClientModel client, ProtocolMapperModel mapperModel) -
Uses of ProtocolMapperModel in org.keycloak.protocol.saml
Modifier and TypeFieldDescriptionfinal ProtocolMapperModel
SamlProtocol.ProtocolMapperProcessor.model
-
Uses of ProtocolMapperModel in org.keycloak.protocol.saml.mappers
Modifier and TypeMethodDescriptionstatic ProtocolMapperModel
GroupMembershipMapper.create
(String name, String samlAttributeName, String nameFormat, String friendlyName, boolean singleAttribute) static ProtocolMapperModel
HardcodedAttributeMapper.create
(String name, String samlAttributeName, String nameFormat, String friendlyName, String value) static ProtocolMapperModel
static ProtocolMapperModel
RoleListMapper.create
(String name, String samlAttributeName, String nameFormat, String friendlyName, boolean singleAttribute) static ProtocolMapperModel
static ProtocolMapperModel
ScriptBasedMapper.create
(String name, String samlAttributeName, String nameFormat, String friendlyName, String script, boolean singleAttribute) Creates an protocol mapper model for the this script based mapper.static ProtocolMapperModel
AttributeStatementHelper.createAttributeMapper
(String name, String userAttribute, String samlAttributeName, String nameFormat, String friendlyName, String mapperId) static ProtocolMapperModel
UserAttributeStatementMapper.createAttributeMapper
(String name, String userAttribute, String samlAttributeName, String nameFormat, String friendlyName) static ProtocolMapperModel
UserPropertyAttributeStatementMapper.createAttributeMapper
(String name, String userAttribute, String samlAttributeName, String nameFormat, String friendlyName, boolean consentRequired, String consentText) Modifier and TypeMethodDescriptionstatic void
AttributeStatementHelper.addAttribute
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, String attributeValue) static void
AttributeStatementHelper.addAttributes
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, Collection<String> attributeValues) static AttributeType
AttributeStatementHelper.createAttributeType
(ProtocolMapperModel mappingModel) protected String
DeployedScriptSAMLProtocolMapper.getScriptCode
(ProtocolMapperModel mapperModel) protected String
ScriptBasedMapper.getScriptCode
(ProtocolMapperModel mappingModel) RoleNameMapper.mapName
(ProtocolMapperModel model, RoleModel roleModel) SAMLGroupNameMapper.mapName
(ProtocolMapperModel model, GroupModel group) SAMLRoleNameMapper.mapName
(ProtocolMapperModel model, RoleModel role) SAMLNameIdMapper.mapperNameId
(String nameIdFormat, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) UserAttributeNameIdMapper.mapperNameId
(String nameIdFormat, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
RoleListMapper.mapRoles
(AttributeStatementType roleAttributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) void
SAMLRoleListMapper.mapRoles
(AttributeStatementType roleAttributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) void
GroupMembershipMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
HardcodedAttributeMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
SAMLAttributeStatementMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
ScriptBasedMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) This method attaches one or many attributes to the passed attribute statement.void
UserAttributeStatementMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
UserPropertyAttributeStatementMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) void
UserSessionNoteStatementMapper.transformAttributeStatement
(AttributeStatementType attributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, AuthenticatedClientSessionModel clientSession) SAMLAudienceProtocolMapper.transformLoginResponse
(ResponseType response, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) SAMLAudienceResolveProtocolMapper.transformLoginResponse
(ResponseType response, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) SAMLLoginResponseMapper.transformLoginResponse
(ResponseType response, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx) static boolean
GroupMembershipMapper.useFullPath
(ProtocolMapperModel mappingModel) void
ScriptBasedMapper.validateConfig
(KeycloakSession session, RealmModel realm, ProtocolMapperContainerModel client, ProtocolMapperModel mapperModel) -
Uses of ProtocolMapperModel in org.keycloak.services.migration
-
Uses of ProtocolMapperModel in org.keycloak.services.util
Modifier and TypeMethodDescriptionDefaultClientSessionContext.getProtocolMappersStream()
static Stream<Map.Entry<ProtocolMapperModel,
ProtocolMapper>> DPoPUtil.getTransientProtocolMapper()
creates a protocol mapper that cannot be modified by administration users and that is used to bind AccessTokens to specific DPoP keys. -
Uses of ProtocolMapperModel in org.keycloak.storage
Modifier and TypeMethodDescriptionvoid
UserStorageManager.preRemove
(ProtocolMapperModel protocolMapper) -
Uses of ProtocolMapperModel in org.keycloak.storage.client
Modifier and TypeMethodDescriptionAbstractReadOnlyClientScopeAdapter.addProtocolMapper
(ProtocolMapperModel model) AbstractReadOnlyClientStorageAdapter.addProtocolMapper
(ProtocolMapperModel model) Modifier and TypeMethodDescriptionAbstractReadOnlyClientScopeAdapter.addProtocolMapper
(ProtocolMapperModel model) AbstractReadOnlyClientStorageAdapter.addProtocolMapper
(ProtocolMapperModel model) void
AbstractReadOnlyClientScopeAdapter.removeProtocolMapper
(ProtocolMapperModel mapping) void
AbstractReadOnlyClientStorageAdapter.removeProtocolMapper
(ProtocolMapperModel mapping) void
AbstractReadOnlyClientScopeAdapter.updateProtocolMapper
(ProtocolMapperModel mapping) void
AbstractReadOnlyClientStorageAdapter.updateProtocolMapper
(ProtocolMapperModel mapping) -
Uses of ProtocolMapperModel in org.keycloak.storage.federated
Modifier and TypeMethodDescriptionvoid
UserFederatedStorageProvider.preRemove
(ProtocolMapperModel protocolMapper) -
Uses of ProtocolMapperModel in org.keycloak.storage.jpa
Modifier and TypeMethodDescriptionvoid
JpaUserFederatedStorageProvider.preRemove
(ProtocolMapperModel protocolMapper)
AbstractOIDCProtocolMapper.setClaim(IDToken, ProtocolMapperModel, UserSessionModel, KeycloakSession, ClientSessionContext)
instead.