Package net.shibboleth.idp.authn.config
Enum LDAPAuthenticationFactoryBean.TrustType
- java.lang.Object
-
- java.lang.Enum<LDAPAuthenticationFactoryBean.TrustType>
-
- net.shibboleth.idp.authn.config.LDAPAuthenticationFactoryBean.TrustType
-
- All Implemented Interfaces:
Serializable,Comparable<LDAPAuthenticationFactoryBean.TrustType>
- Enclosing class:
- LDAPAuthenticationFactoryBean
public static enum LDAPAuthenticationFactoryBean.TrustType extends Enum<LDAPAuthenticationFactoryBean.TrustType>
Enum that defines LDAP trust configuration. Labels maps to values in ldap.properties.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERTIFICATEJVMKEYSTORE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LDAPAuthenticationFactoryBean.TrustTypefromLabel(String s)Stringlabel()static LDAPAuthenticationFactoryBean.TrustTypevalueOf(String name)Returns the enum constant of this type with the specified name.static LDAPAuthenticationFactoryBean.TrustType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JVM
public static final LDAPAuthenticationFactoryBean.TrustType JVM
-
CERTIFICATE
public static final LDAPAuthenticationFactoryBean.TrustType CERTIFICATE
-
KEYSTORE
public static final LDAPAuthenticationFactoryBean.TrustType KEYSTORE
-
-
Field Detail
-
label
private final String label
Label for this type.
-
-
Constructor Detail
-
TrustType
private TrustType(String s)
-
-
Method Detail
-
values
public static LDAPAuthenticationFactoryBean.TrustType[] 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 (LDAPAuthenticationFactoryBean.TrustType c : LDAPAuthenticationFactoryBean.TrustType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LDAPAuthenticationFactoryBean.TrustType 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 nameNullPointerException- if the argument is null
-
label
public String label()
-
fromLabel
public static LDAPAuthenticationFactoryBean.TrustType fromLabel(String s)
-
-