Enum AppClientSecurityInfo.CredentialType
- java.lang.Object
-
- java.lang.Enum<AppClientSecurityInfo.CredentialType>
-
- com.sun.enterprise.security.appclient.integration.AppClientSecurityInfo.CredentialType
-
- All Implemented Interfaces:
Serializable
,Comparable<AppClientSecurityInfo.CredentialType>
- Enclosing interface:
- AppClientSecurityInfo
public static enum AppClientSecurityInfo.CredentialType extends Enum<AppClientSecurityInfo.CredentialType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
CERTIFICATE
USERNAME_PASSWORD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AppClientSecurityInfo.CredentialType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AppClientSecurityInfo.CredentialType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USERNAME_PASSWORD
public static final AppClientSecurityInfo.CredentialType USERNAME_PASSWORD
-
CERTIFICATE
public static final AppClientSecurityInfo.CredentialType CERTIFICATE
-
ALL
public static final AppClientSecurityInfo.CredentialType ALL
-
-
Method Detail
-
values
public static AppClientSecurityInfo.CredentialType[] 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 (AppClientSecurityInfo.CredentialType c : AppClientSecurityInfo.CredentialType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AppClientSecurityInfo.CredentialType 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
-
-