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 TypeMethodDescriptionProtocolMapperContainerModel.addProtocolMapper
(ProtocolMapperModel model) ProtocolMapperContainerModel.getProtocolMapperById
(String id) ProtocolMapperContainerModel.getProtocolMapperByName
(String protocol, String name) Modifier and TypeMethodDescriptionClientSessionContext.getProtocolMappersStream()
Returns protocol mappers as a stream.ProtocolMapperContainerModel.getProtocolMappersStream()
Returns protocol mappers as a stream.Modifier and TypeMethodDescriptionProtocolMapperContainerModel.addProtocolMapper
(ProtocolMapperModel model) void
UserProvider.preRemove
(ProtocolMapperModel protocolMapper) Called when a protocolMapper is removedvoid
ProtocolMapperContainerModel.removeProtocolMapper
(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.map.client
Modifier and TypeMethodDescriptionMapClientAdapter.addProtocolMapper
(ProtocolMapperModel model) MapClientAdapter.getProtocolMapperById
(String id) MapClientAdapter.getProtocolMapperByName
(String protocol, String name) MapProtocolMapperUtils.toModel
(MapProtocolMapperEntity entity) Modifier and TypeMethodDescriptionMapClientAdapter.addProtocolMapper
(ProtocolMapperModel model) static MapProtocolMapperEntity
MapProtocolMapperUtils.fromModel
(ProtocolMapperModel model) void
MapClientAdapter.removeProtocolMapper
(ProtocolMapperModel mapping) void
MapClientAdapter.updateProtocolMapper
(ProtocolMapperModel mapping) -
Uses of ProtocolMapperModel in org.keycloak.models.map.clientscope
Modifier and TypeMethodDescriptionMapClientScopeAdapter.addProtocolMapper
(ProtocolMapperModel model) MapClientScopeAdapter.getProtocolMapperById
(String id) MapClientScopeAdapter.getProtocolMapperByName
(String protocol, String name) Modifier and TypeMethodDescriptionMapClientScopeAdapter.addProtocolMapper
(ProtocolMapperModel model) void
MapClientScopeAdapter.removeProtocolMapper
(ProtocolMapperModel mapping) void
MapClientScopeAdapter.updateProtocolMapper
(ProtocolMapperModel mapping) -
Uses of ProtocolMapperModel in org.keycloak.models.map.user
Modifier and TypeMethodDescriptionvoid
MapUserProvider.preRemove
(ProtocolMapperModel protocolMapper) -
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.protocol
Modifier and TypeMethodDescriptionstatic ProtocolMapperModel
ProtocolMapperUtils.findLocaleMapper
(KeycloakSession session) Find the builtin locale 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 TypeMethodDescriptionstatic 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.oidc
-
Uses of ProtocolMapperModel in org.keycloak.protocol.oidc.mappers
Modifier and TypeMethodDescriptionstatic ProtocolMapperModel
static ProtocolMapperModel
static ProtocolMapperModel
GroupMembershipMapper.create
(String name, String tokenClaimName, boolean consentRequired, String consentText, boolean accessToken, boolean idToken) static ProtocolMapperModel
HardcodedClaim.create
(String name, String hardcodedName, String hardcodedValue, String claimType, boolean accessToken, boolean idToken) static ProtocolMapperModel
static ProtocolMapperModel
static ProtocolMapperModel
ScriptBasedOIDCProtocolMapper.create
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, String script, boolean multiValued) static ProtocolMapperModel
UserClientRoleMappingMapper.create
(String clientId, String clientRolePrefix, String name, String tokenClaimName, boolean accessToken, boolean idToken) static ProtocolMapperModel
UserClientRoleMappingMapper.create
(String clientId, String clientRolePrefix, String name, String tokenClaimName, boolean accessToken, boolean idToken, boolean multiValued) static ProtocolMapperModel
UserRealmRoleMappingMapper.create
(String realmRolePrefix, String name, String tokenClaimName, boolean accessToken, boolean idToken) static ProtocolMapperModel
UserRealmRoleMappingMapper.create
(String realmRolePrefix, String name, String tokenClaimName, boolean accessToken, boolean idToken, boolean multiValued) static ProtocolMapperModel
AddressMapper.createAddressMapper()
static ProtocolMapperModel
AddressMapper.createAddressMapper
(boolean idToken, boolean accessToken, boolean userInfo) static ProtocolMapperModel
AllowedWebOriginsProtocolMapper.createClaimMapper
(String name) static ProtocolMapperModel
AudienceProtocolMapper.createClaimMapper
(String name, String includedClientAudience, String includedCustomAudience, boolean accessToken, boolean idToken) static ProtocolMapperModel
AudienceResolveProtocolMapper.createClaimMapper
(String name) static ProtocolMapperModel
OIDCAttributeMapperHelper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, boolean userinfo, String mapperId) static ProtocolMapperModel
OIDCAttributeMapperHelper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, String mapperId) static ProtocolMapperModel
UserAttributeMapper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken) static ProtocolMapperModel
UserAttributeMapper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, boolean multivalued) static ProtocolMapperModel
UserAttributeMapper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken, boolean multivalued, boolean aggregateAttrs) static ProtocolMapperModel
UserPropertyMapper.createClaimMapper
(String name, String userAttribute, String tokenClaimName, String claimType, boolean accessToken, boolean idToken) static ProtocolMapperModel
UserSessionNoteMapper.createClaimMapper
(String name, String userSessionNote, String tokenClaimName, String jsonType, boolean accessToken, boolean idToken) static ProtocolMapperModel
UserSessionNoteMapper.createClaimMapper
(String name, String userSessionNote, String tokenClaimName, String jsonType, boolean accessToken, boolean idToken, boolean userInfo) 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
enumModifier and TypeMethodDescriptionabstract String
AbstractPairwiseSubMapper.generateSub
(ProtocolMapperModel mappingModel, String sectorIdentifier, String localSub) Generates a pairwise subject identifier.SHA256PairwiseSubMapper.generateSub
(ProtocolMapperModel mappingModel, String sectorIdentifier, String localSub) 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.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
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
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) 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.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
-
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.