Class ProfileAttributeDescriptor
java.lang.Object
de.xima.fc.mdl.auth.authorization.ProfileAttributeDescriptor
- All Implemented Interfaces:
IProfileAttributeDescriptor
,Serializable
Model describing a profile attribute. See
IProfileAttributeDescriptor
for more information.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProfileAttributeDescriptor
customAttribute
(String type, String name) boolean
getName()
Returns the name of the profile attribute.getType()
Returns the type of the profile attribute.int
hashCode()
static ProfileAttributeDescriptor
jsonPathAttribute
(String name) void
void
toString()
-
Constructor Details
-
ProfileAttributeDescriptor
public ProfileAttributeDescriptor()
-
-
Method Details
-
customAttribute
-
jsonPathAttribute
-
getType
Description copied from interface:IProfileAttributeDescriptor
Returns the type of the profile attribute. The type of a profile attribute determines how thename
of the attribute is evaluated with a given profile. The default attribute type "JSON_PATH PROFILE_ATTRIBUTE_TYPE_JSON_PATH JSON_PATH
" for example determines that thename
of the attribute should be considered as a JSON path and evaluated as such on the profile.- Specified by:
getType
in interfaceIProfileAttributeDescriptor
- Returns:
- the type of the profile attribute. E.g.
"
JSON_PATH PROFILE_ATTRIBUTE_TYPE_JSON_PATH JSON_PATH
"
-
setType
-
getName
Description copied from interface:IProfileAttributeDescriptor
Returns the name of the profile attribute. The name is used in conjunction with thetype
to describe the attribute of a profile and used to evaluate the value said property.- Specified by:
getName
in interfaceIProfileAttributeDescriptor
- Returns:
- the name of the profile attribute. E.g. "
$.path.to.attribute
" for atype
"JSON_PATH PROFILE_ATTRIBUTE_TYPE_JSON_PATH JSON_PATH
"
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-