Interface ContextAttributeMapping
public interface ContextAttributeMapping
Mapping between an attribute name and the String permission value for that attribute.
It is up to the implementer to determine how to parse the String value into valid Shiro permission objects.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the attribute name associated with this mapping.ddf.security.permission.KeyValuePermissionReturns aKeyValuePermissionobject that has been created from the parsed attribute value.Gets the attribute value for this mapping.Returns the context of the attribute
-
Method Details
-
getAttributeName
String getAttributeName()Returns the attribute name associated with this mapping.- Returns:
- attribute name
-
getAttributeValue
String getAttributeValue()Gets the attribute value for this mapping. This should return the raw, un-parsed value.- Returns:
- attribute value
-
getAttributePermission
ddf.security.permission.KeyValuePermission getAttributePermission()Returns aKeyValuePermissionobject that has been created from the parsed attribute value.- Returns:
- permission
-
getContext
String getContext()Returns the context of the attribute- Returns:
- context
-