Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-05


oracle.security.jps.principals
Enum JpsPrincipalType

java.lang.Object
  extended by java.lang.Enum<JpsPrincipalType>
      extended by oracle.security.jps.principals.JpsPrincipalType

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JpsPrincipalType>

public enum JpsPrincipalType
extends java.lang.Enum<JpsPrincipalType>

This enum defines the supported types of Principal in OPSS.


Enum Constant Summary
JPS_ANONYMOUS_ROLE
          the anonymous role principal type.
JPS_ANONYMOUS_USER
          the anonymous user principal type.
JPS_APPLICATION_ROLE
          the application role principal type.
JPS_AUTHENTICATED_ROLE
          the authenticated role principal type.
JPS_ENTERPRISE_ROLE
          the enterprise role principal type.
JPS_USER
          the enterprise user principal type.

 

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

 

Enum Constant Detail

JPS_USER

public static final JpsPrincipalType JPS_USER
the enterprise user principal type.

JPS_ANONYMOUS_USER

public static final JpsPrincipalType JPS_ANONYMOUS_USER
the anonymous user principal type.

JPS_APPLICATION_ROLE

public static final JpsPrincipalType JPS_APPLICATION_ROLE
the application role principal type.

JPS_ENTERPRISE_ROLE

public static final JpsPrincipalType JPS_ENTERPRISE_ROLE
the enterprise role principal type.

JPS_ANONYMOUS_ROLE

public static final JpsPrincipalType JPS_ANONYMOUS_ROLE
the anonymous role principal type.

JPS_AUTHENTICATED_ROLE

public static final JpsPrincipalType JPS_AUTHENTICATED_ROLE
the authenticated role principal type.

Method Detail

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

Oracle Fusion Middleware Management Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-05


Copyright © 2011, Oracle. All rights reserved.