Enum Class EidasLoaEnum

java.lang.Object
java.lang.Enum<EidasLoaEnum>
se.swedenconnect.opensaml.eidas.common.EidasLoaEnum
All Implemented Interfaces:
Serializable, Comparable<EidasLoaEnum>, Constable

public enum EidasLoaEnum extends Enum<EidasLoaEnum>
Enumeration representing an eIDAS Level of Assurance.
Author:
Martin Lindström
  • Enum Constant Details

    • LOA_LOW_NON_NOTIFIED

      public static final EidasLoaEnum LOA_LOW_NON_NOTIFIED
      eIDAS "low" Level of assurance. For non-notified eID scheme.
    • LOA_LOW

      public static final EidasLoaEnum LOA_LOW
      eIDAS "low" Level of assurance.
    • LOA_SUBSTANTIAL_NON_NOTIFIED

      public static final EidasLoaEnum LOA_SUBSTANTIAL_NON_NOTIFIED
      eIDAS "substantial" Level of assurance. For non-notified eID scheme.
    • LOA_SUBSTANTIAL

      public static final EidasLoaEnum LOA_SUBSTANTIAL
      eIDAS "substantial" Level of assurance.
    • LOA_HIGH_NON_NOTIFIED

      public static final EidasLoaEnum LOA_HIGH_NON_NOTIFIED
      eIDAS "high" Level of assurance. For non-notified eID scheme.
    • LOA_HIGH

      public static final EidasLoaEnum LOA_HIGH
      eIDAS "high" Level of assurance.
  • Method Details

    • values

      public static EidasLoaEnum[] 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 EidasLoaEnum 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
    • getUri

      public String getUri()
      Returns the URI for this LoA.
      Returns:
      an URI
    • getOrder

      public int getOrder()
      Returns the sorting order index.
      Returns:
      the sorting order (the higher the strength, the higher the value)
    • parse

      public static EidasLoaEnum parse(String uri)
      Given a URI the method returns the enum value matching.
      Parameters:
      uri - URI
      Returns:
      the matching enum value or null is no match is found