public class RoleNameMapper extends AbstractOIDCProtocolMapper implements SAMLRoleNameMapper
ProtocolMapper.ConfigProperty| Modifier and Type | Field and Description |
|---|---|
static String |
NEW_ROLE_NAME |
static String |
PROVIDER_ID |
static String |
ROLE_CONFIG |
TOKEN_MAPPER_CATEGORY| Constructor and Description |
|---|
RoleNameMapper() |
| Modifier and Type | Method and Description |
|---|---|
static ProtocolMapperModel |
create(String name,
String role,
String newName) |
List<ProtocolMapper.ConfigProperty> |
getConfigProperties() |
String |
getDisplayCategory() |
String |
getDisplayType() |
String |
getHelpText() |
String |
getId() |
String |
mapName(ProtocolMapperModel model,
RoleModel roleModel) |
close, create, getProtocol, init, postInitpublic static final String ROLE_CONFIG
public static String NEW_ROLE_NAME
public static final String PROVIDER_ID
public List<ProtocolMapper.ConfigProperty> getConfigProperties()
getConfigProperties in interface ProtocolMapperpublic String getId()
getId in interface ProviderFactory<ProtocolMapper>public String getDisplayType()
getDisplayType in interface ProtocolMapperpublic String getDisplayCategory()
getDisplayCategory in interface ProtocolMapperpublic String getHelpText()
getHelpText in interface ProtocolMapperpublic String mapName(ProtocolMapperModel model, RoleModel roleModel)
mapName in interface SAMLRoleNameMapperpublic static ProtocolMapperModel create(String name, String role, String newName)
Copyright © 2015. All rights reserved.