Enum BCryptPasswordEncoder.BCryptVersion
- java.lang.Object
- 
- java.lang.Enum<BCryptPasswordEncoder.BCryptVersion>
- 
- org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder.BCryptVersion
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<BCryptPasswordEncoder.BCryptVersion>
 - Enclosing class:
- BCryptPasswordEncoder
 
 public static enum BCryptPasswordEncoder.BCryptVersion extends java.lang.Enum<BCryptPasswordEncoder.BCryptVersion> Stores the default bcrypt version for use in configuration.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetVersion()static BCryptPasswordEncoder.BCryptVersionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BCryptPasswordEncoder.BCryptVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
$2Apublic static final BCryptPasswordEncoder.BCryptVersion $2A 
 - 
$2Ypublic static final BCryptPasswordEncoder.BCryptVersion $2Y 
 - 
$2Bpublic static final BCryptPasswordEncoder.BCryptVersion $2B 
 
- 
 - 
Method Detail- 
valuespublic static BCryptPasswordEncoder.BCryptVersion[] 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 (BCryptPasswordEncoder.BCryptVersion c : BCryptPasswordEncoder.BCryptVersion.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static BCryptPasswordEncoder.BCryptVersion valueOf(java.lang.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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
getVersionpublic java.lang.String getVersion() 
 
- 
 
-