Skip navigation links
oracle.security.jps.principals
Enum JpsPrincipalType
java.lang.Object
java.lang.Enum<JpsPrincipalType>
oracle.security.jps.principals.JpsPrincipalType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<JpsPrincipalType>
-
public enum JpsPrincipalType
- extends java.lang.Enum<JpsPrincipalType>
Method Summary |
static JpsPrincipalType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JpsPrincipalType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
JPS_USER
public static final JpsPrincipalType JPS_USER
JPS_ANONYMOUS_USER
public static final JpsPrincipalType JPS_ANONYMOUS_USER
JPS_SYSTEM_USER
public static final JpsPrincipalType JPS_SYSTEM_USER
JPS_APPLICATION_ROLE
public static final JpsPrincipalType JPS_APPLICATION_ROLE
JPS_ENTERPRISE_ROLE
public static final JpsPrincipalType JPS_ENTERPRISE_ROLE
JPS_ADMIN_ROLE
public static final JpsPrincipalType JPS_ADMIN_ROLE
JPS_ANONYMOUS_ROLE
public static final JpsPrincipalType JPS_ANONYMOUS_ROLE
JPS_AUTHENTICATED_ROLE
public static final JpsPrincipalType JPS_AUTHENTICATED_ROLE
values
public static JpsPrincipalType[] 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 (JpsPrincipalType c : JpsPrincipalType.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static JpsPrincipalType 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
Skip navigation links
Copyright © 2011, Oracle. All rights reserved.