java.lang.Object
org.codice.ddf.security.policy.context.impl.Policy
All Implemented Interfaces:
org.codice.ddf.security.policy.context.ContextPolicy

public class Policy extends Object implements org.codice.ddf.security.policy.context.ContextPolicy
Implementation of ContextPolicy for the Policy Manager in this package.
  • Constructor Details

    • Policy

      public Policy(String contextPath, Collection<String> authenticationMethods, Collection<org.codice.ddf.security.policy.context.attributes.ContextAttributeMapping> attributeMappings)
  • Method Details

    • getContextPath

      public String getContextPath()
      Specified by:
      getContextPath in interface org.codice.ddf.security.policy.context.ContextPolicy
    • getAuthenticationMethods

      public Collection<String> getAuthenticationMethods()
      Specified by:
      getAuthenticationMethods in interface org.codice.ddf.security.policy.context.ContextPolicy
    • getAllowedAttributePermissions

      public ddf.security.permission.CollectionPermission getAllowedAttributePermissions()
      Specified by:
      getAllowedAttributePermissions in interface org.codice.ddf.security.policy.context.ContextPolicy
    • getAllowedAttributeNames

      public Collection<String> getAllowedAttributeNames()
      Specified by:
      getAllowedAttributeNames in interface org.codice.ddf.security.policy.context.ContextPolicy
    • getAllowedAttributes

      public Collection<org.codice.ddf.security.policy.context.attributes.ContextAttributeMapping> getAllowedAttributes()
      Specified by:
      getAllowedAttributes in interface org.codice.ddf.security.policy.context.ContextPolicy
    • toString

      public String toString()
      Overrides:
      toString in class Object