public class SAMLAudienceProtocolMapper extends AbstractSAMLProtocolMapper implements SAMLLoginResponseMapper
Modifier and Type | Field and Description |
---|---|
static String |
AUDIENCE_CATEGORY |
static String |
INCLUDED_CLIENT_AUDIENCE |
static String |
INCLUDED_CUSTOM_AUDIENCE |
protected static org.jboss.logging.Logger |
logger |
static String |
PROVIDER_ID |
Constructor and Description |
---|
SAMLAudienceProtocolMapper() |
Modifier and Type | Method and Description |
---|---|
List<ProviderConfigProperty> |
getConfigProperties() |
String |
getDisplayCategory() |
String |
getDisplayType() |
String |
getHelpText() |
String |
getId() |
protected static AudienceRestrictionType |
locateAudienceRestriction(ResponseType response) |
ResponseType |
transformLoginResponse(ResponseType response,
ProtocolMapperModel mappingModel,
KeycloakSession session,
UserSessionModel userSession,
ClientSessionContext clientSessionCtx) |
close, create, getProtocol, init, postInit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPriority, validateConfig
order
protected static final org.jboss.logging.Logger logger
public static final String PROVIDER_ID
public static final String AUDIENCE_CATEGORY
public static final String INCLUDED_CLIENT_AUDIENCE
public static final String INCLUDED_CUSTOM_AUDIENCE
public List<ProviderConfigProperty> getConfigProperties()
getConfigProperties
in interface ConfiguredProvider
public String getId()
getId
in interface ProviderFactory<ProtocolMapper>
public String getDisplayType()
getDisplayType
in interface ProtocolMapper
public String getDisplayCategory()
getDisplayCategory
in interface ProtocolMapper
public String getHelpText()
getHelpText
in interface ConfiguredProvider
protected static AudienceRestrictionType locateAudienceRestriction(ResponseType response)
public ResponseType transformLoginResponse(ResponseType response, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
transformLoginResponse
in interface SAMLLoginResponseMapper
Copyright © 2021 JBoss by Red Hat. All rights reserved.