Class SAMLAudienceProtocolMapper

java.lang.Object
org.keycloak.protocol.saml.mappers.AbstractSAMLProtocolMapper
org.keycloak.protocol.saml.mappers.SAMLAudienceProtocolMapper
All Implemented Interfaces:
ProtocolMapper, SAMLLoginResponseMapper, ConfiguredProvider, Provider, ProviderFactory<ProtocolMapper>

public class SAMLAudienceProtocolMapper extends AbstractSAMLProtocolMapper implements SAMLLoginResponseMapper
SAML mapper to add a audience restriction into the assertion, to another client (clientId) or to a custom URI. Only one URI is added, clientId has preference over the custom value (the class maps OIDC behavior).
Author:
rmartinc