Class StubPrincipalAttributesProperties
java.lang.Object
org.apereo.cas.configuration.model.core.authentication.StubPrincipalAttributesProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-person-directory",
automated=true)
public class StubPrincipalAttributesProperties
extends Object
implements Serializable
This is
StubPrincipalAttributesProperties
.- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionStatic attributes that need to be mapped to a hardcoded value belong here.getId()
A value can be assigned to this field to uniquely identify this resolver.int
getOrder()
The order of this attribute repository in the chain of repositories.getState()
Whether attribute resolution based on this source is enabled.setAttributes
(Map<String, String> attributes) Static attributes that need to be mapped to a hardcoded value belong here.A value can be assigned to this field to uniquely identify this resolver.setOrder
(int order) The order of this attribute repository in the chain of repositories.Whether attribute resolution based on this source is enabled.
-
Constructor Details
-
StubPrincipalAttributesProperties
public StubPrincipalAttributesProperties()
-
-
Method Details
-
getAttributes
Static attributes that need to be mapped to a hardcoded value belong here. The structure follows a key-value pair where key is the attribute name and value is the attribute value. The key is the attribute fetched from the source and the value is the attribute name CAS should use for virtual renames.Attributes may be allowed to be virtually renamed and remapped. The key in the attribute map is the original attribute, and the value should be the virtually-renamed attribute.
-
getId
A value can be assigned to this field to uniquely identify this resolver. -
getOrder
public int getOrder()The order of this attribute repository in the chain of repositories. Can be used to explicitly position this source in chain and affects merging strategies. -
getState
Whether attribute resolution based on this source is enabled. -
setAttributes
Static attributes that need to be mapped to a hardcoded value belong here. The structure follows a key-value pair where key is the attribute name and value is the attribute value. The key is the attribute fetched from the source and the value is the attribute name CAS should use for virtual renames.Attributes may be allowed to be virtually renamed and remapped. The key in the attribute map is the original attribute, and the value should be the virtually-renamed attribute.
- Returns:
this
.
-
setId
A value can be assigned to this field to uniquely identify this resolver.- Returns:
this
.
-
setOrder
The order of this attribute repository in the chain of repositories. Can be used to explicitly position this source in chain and affects merging strategies.- Returns:
this
.
-
setState
Whether attribute resolution based on this source is enabled.- Returns:
this
.
-