Enum Class Namespace

java.lang.Object
java.lang.Enum<Namespace>
org.jboss.as.security.Namespace
All Implemented Interfaces:
Serializable, Comparable<Namespace>, Constable

public enum Namespace extends Enum<Namespace>
An enumeration of the supported Security subsystem namespaces
Author:
Marcus Moyses
  • Enum Constant Details

    • UNKNOWN

      public static final Namespace UNKNOWN
    • SECURITY_1_0

      public static final Namespace SECURITY_1_0
    • SECURITY_1_1

      public static final Namespace SECURITY_1_1
    • SECURITY_1_2

      public static final Namespace SECURITY_1_2
    • SECURITY_2_0

      public static final Namespace SECURITY_2_0
  • Field Details

    • CURRENT

      public static final Namespace CURRENT
      The current namespace version.
  • Method Details

    • values

      public static Namespace[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Namespace valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getUriString

      public String getUriString()
      Get the URI of this namespace.
      Returns:
      the URI
    • forUri

      public static Namespace forUri(String uri)