Enum StandardSubjectAttribute

    • Enum Constant Detail

      • ACCESS_SUBJECT_IP_ADDRESS

        public static final StandardSubjectAttribute ACCESS_SUBJECT_IP_ADDRESS
        Access subject category urn:oasis:names:tc:xacml:3.0:subject:authn-locality:ip-address
      • ACCESS_SUBJECT_DNS_NAME

        public static final StandardSubjectAttribute ACCESS_SUBJECT_DNS_NAME
        urn:oasis:names:tc:xacml:3.0:subject:authn-locality:dns-name
      • INTERMEDIARY_SUBJECT_IP_ADDRESS

        public static final StandardSubjectAttribute INTERMEDIARY_SUBJECT_IP_ADDRESS
        Intermediary subject category
      • SUBJECT_CODEBASE_IP_ADDRESS

        public static final StandardSubjectAttribute SUBJECT_CODEBASE_IP_ADDRESS
        Subject codebase category
      • RECIPIENT_SUBJECT_IP_ADDRESS

        public static final StandardSubjectAttribute RECIPIENT_SUBJECT_IP_ADDRESS
        Recipient subject category
      • SUBJECT_REQUESTING_MACHINE_IP_ADDRESS

        public static final StandardSubjectAttribute SUBJECT_REQUESTING_MACHINE_IP_ADDRESS
        Subject's requesting machine category
    • Method Detail

      • values

        public static StandardSubjectAttribute[] 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 (StandardSubjectAttribute c : StandardSubjectAttribute.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StandardSubjectAttribute 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 name
        NullPointerException - if the argument is null
      • getFQN

        public org.ow2.authzforce.core.pdp.api.AttributeFqn getFQN()
        Get attribute GUID
        Returns:
        attribute GUID (AttributeId, Issuer, Category)
      • getDatatype

        public org.ow2.authzforce.core.pdp.api.value.AttributeDatatype<?> getDatatype()
        Get attribute data-type
        Returns:
        attribute data-type
      • getInstance

        public static StandardSubjectAttribute getInstance​(org.ow2.authzforce.core.pdp.api.AttributeFqn attributeFqn)
        Get the standard environment attribute corresponding to the given ID
        Parameters:
        attributeFqn - standard attribute ID
        Returns:
        StandardEnvironmentAttribute corresponding to given ID, or null if there is no standard environment attribute with such ID