Interface ContextPolicy


public interface ContextPolicy
Represents the policy for a given web context.
  • Field Details

    • NO_AUTH_POLICY

      static final String NO_AUTH_POLICY
      Setting that can be used in a header or attribute to signify that the policy on that current message does not require authentication.
      See Also:
  • Method Details

    • getContextPath

      String getContextPath()
      Returns the context path that this policy covers.
      Returns:
      context path
    • getAuthenticationMethods

      Collection<String> getAuthenticationMethods()
      Returns a Collection of authentication methods
      Returns:
      authentication methods
    • getAllowedAttributePermissions

      ddf.security.permission.CollectionPermission getAllowedAttributePermissions()
      Returns a CollectionPermission object built from the attribute mappings.
      Returns:
      permissions
    • getAllowedAttributeNames

      Collection<String> getAllowedAttributeNames()
      Returns a Collection of attribute names.
      Returns:
      all attribute names used in this policy
    • getAllowedAttributes

      Collection<ContextAttributeMapping> getAllowedAttributes()
      Returns aCollection of attributes
      Returns:
      all attributes the policy uses