Enum LdapMapEscapeStrategy
- java.lang.Object
- 
- java.lang.Enum<LdapMapEscapeStrategy>
- 
- org.keycloak.models.map.storage.ldap.store.LdapMapEscapeStrategy
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<LdapMapEscapeStrategy>
 
 public enum LdapMapEscapeStrategy extends Enum<LdapMapEscapeStrategy> - Author:
- Marek Posolda
 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description DEFAULTNON_ASCII_CHARS_ONLYOCTET_STRING
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidappendByte(byte b, StringBuilder output)abstract Stringescape(String input)static StringescapeHex(byte[] bytes)static LdapMapEscapeStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static LdapMapEscapeStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NON_ASCII_CHARS_ONLYpublic static final LdapMapEscapeStrategy NON_ASCII_CHARS_ONLY 
 - 
DEFAULTpublic static final LdapMapEscapeStrategy DEFAULT 
 - 
OCTET_STRINGpublic static final LdapMapEscapeStrategy OCTET_STRING 
 
- 
 - 
Method Detail- 
valuespublic static LdapMapEscapeStrategy[] 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 (LdapMapEscapeStrategy c : LdapMapEscapeStrategy.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static LdapMapEscapeStrategy 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
 
 - 
escapeHexpublic static String escapeHex(byte[] bytes) 
 - 
appendByteprotected void appendByte(byte b, StringBuilder output)
 
- 
 
-