Package org.jboss.security.config
Enum Element
- java.lang.Object
-
- java.lang.Enum<Element>
-
- org.jboss.security.config.Element
-
- All Implemented Interfaces:
Serializable
,Comparable<Element>
public enum Element extends Enum<Element>
Enum for the elements of a security domain configuration- Author:
- Marcus Moyses
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Element
forName(String localName)
String
getLocalName()
Get the local name of this element.static Element
valueOf(String name)
Returns the enum constant of this type with the specified name.static Element[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final Element UNKNOWN
-
POLICY
public static final Element POLICY
-
APPLICATION_POLICY
public static final Element APPLICATION_POLICY
-
SECURITY_DOMAIN
public static final Element SECURITY_DOMAIN
-
AUTHENTICATION
public static final Element AUTHENTICATION
-
AUTHENTICATION_JASPI
public static final Element AUTHENTICATION_JASPI
-
AUTHORIZATION
public static final Element AUTHORIZATION
-
ACL
public static final Element ACL
-
ROLE_MAPPING
public static final Element ROLE_MAPPING
-
MAPPING
public static final Element MAPPING
-
AUDIT
public static final Element AUDIT
-
IDENTITY_TRUST
public static final Element IDENTITY_TRUST
-
ACL_MODULE
public static final Element ACL_MODULE
-
LOGIN_MODULE
public static final Element LOGIN_MODULE
-
LOGIN_MODULE_STACK
public static final Element LOGIN_MODULE_STACK
-
AUTH_MODULE
public static final Element AUTH_MODULE
-
PROVIDER_MODULE
public static final Element PROVIDER_MODULE
-
POLICY_MODULE
public static final Element POLICY_MODULE
-
TRUST_MODULE
public static final Element TRUST_MODULE
-
MAPPING_MODULE
public static final Element MAPPING_MODULE
-
MODULE_OPTION
public static final Element MODULE_OPTION
-
-
Method Detail
-
values
public static Element[] 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 (Element c : Element.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Element 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
-
getLocalName
public String getLocalName()
Get the local name of this element.- Returns:
- the local name
-
-