Interface ContextPolicy
public interface ContextPolicy
Represents the policy for a given web context.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSetting that can be used in a header or attribute to signify that the policy on that current message does not require authentication. -
Method Summary
Modifier and TypeMethodDescriptionReturns aCollectionof attribute names.ddf.security.permission.CollectionPermissionReturns aCollectionPermissionobject built from the attribute mappings.Returns aCollectionof attributesReturns aCollectionof authentication methodsReturns the context path that this policy covers.
-
Field Details
-
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 aCollectionof authentication methods- Returns:
- authentication methods
-
getAllowedAttributePermissions
ddf.security.permission.CollectionPermission getAllowedAttributePermissions()Returns aCollectionPermissionobject built from the attribute mappings.- Returns:
- permissions
-
getAllowedAttributeNames
Collection<String> getAllowedAttributeNames()Returns aCollectionof attribute names.- Returns:
- all attribute names used in this policy
-
getAllowedAttributes
Collection<ContextAttributeMapping> getAllowedAttributes()Returns aCollectionof attributes- Returns:
- all attributes the policy uses
-