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, postInit
public 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 ProtocolMapper
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 ProtocolMapper
public String mapName(ProtocolMapperModel model, RoleModel roleModel)
mapName
in interface SAMLRoleNameMapper
public static ProtocolMapperModel create(String name, String role, String newName)
Copyright © 2015. All rights reserved.