Package org.keycloak.broker.saml.mappers
Enum UsernameTemplateMapper.Target
- java.lang.Object
- 
- java.lang.Enum<UsernameTemplateMapper.Target>
- 
- org.keycloak.broker.saml.mappers.UsernameTemplateMapper.Target
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<UsernameTemplateMapper.Target>
 - Enclosing class:
- UsernameTemplateMapper
 
 public static enum UsernameTemplateMapper.Target extends Enum<UsernameTemplateMapper.Target> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BROKER_IDBROKER_USERNAMELOCAL
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidset(BrokeredIdentityContext context, String value)static UsernameTemplateMapper.TargetvalueOf(String name)Returns the enum constant of this type with the specified name.static UsernameTemplateMapper.Target[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
LOCALpublic static final UsernameTemplateMapper.Target LOCAL 
 - 
BROKER_IDpublic static final UsernameTemplateMapper.Target BROKER_ID 
 - 
BROKER_USERNAMEpublic static final UsernameTemplateMapper.Target BROKER_USERNAME 
 
- 
 - 
Method Detail- 
valuespublic static UsernameTemplateMapper.Target[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UsernameTemplateMapper.Target c : UsernameTemplateMapper.Target.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static UsernameTemplateMapper.Target valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
setpublic abstract void set(BrokeredIdentityContext context, String value) 
 
- 
 
-