public class RoleListMapper extends AbstractSAMLProtocolMapper implements SAMLRoleListMapper
Modifier and Type | Field and Description |
---|---|
static String |
PROVIDER_ID |
static String |
SINGLE_ROLE_ATTRIBUTE |
Constructor and Description |
---|
RoleListMapper() |
Modifier and Type | Method and Description |
---|---|
static ProtocolMapperModel |
create(String name,
String samlAttributeName,
String nameFormat,
String friendlyName,
boolean singleAttribute) |
List<ProviderConfigProperty> |
getConfigProperties() |
String |
getDisplayCategory() |
String |
getDisplayType() |
String |
getHelpText() |
String |
getId() |
void |
mapRoles(AttributeStatementType roleAttributeStatement,
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
public static final String PROVIDER_ID
public static final String SINGLE_ROLE_ATTRIBUTE
public String getDisplayCategory()
getDisplayCategory
in interface ProtocolMapper
public String getDisplayType()
getDisplayType
in interface ProtocolMapper
public String getHelpText()
getHelpText
in interface ConfiguredProvider
public List<ProviderConfigProperty> getConfigProperties()
getConfigProperties
in interface ConfiguredProvider
public String getId()
getId
in interface ProviderFactory<ProtocolMapper>
public void mapRoles(AttributeStatementType roleAttributeStatement, ProtocolMapperModel mappingModel, KeycloakSession session, UserSessionModel userSession, ClientSessionContext clientSessionCtx)
mapRoles
in interface SAMLRoleListMapper
public static ProtocolMapperModel create(String name, String samlAttributeName, String nameFormat, String friendlyName, boolean singleAttribute)
Copyright © 2020 JBoss by Red Hat. All rights reserved.