Class JsonPrincipalAttributesProperties
java.lang.Object
org.apereo.cas.configuration.model.SpringResourceProperties
org.apereo.cas.configuration.model.core.authentication.JsonPrincipalAttributesProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-support-person-directory",
automated=true)
public class JsonPrincipalAttributesProperties
extends SpringResourceProperties
If you wish to directly and separately retrieve attributes from a static JSON source. The resource syntax must be as such: <pre> { "user1": { "firstName":["Json1"], "lastName":["One"] }, "user2": { "firstName":["Json2"], "eduPersonAffiliation":["employee", "student"] } } </pre>
- Since:
- 5.2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
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.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.Methods inherited from class org.apereo.cas.configuration.model.SpringResourceProperties
getLocation, setLocation, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
isDefined, isUndefined
-
Constructor Details
-
JsonPrincipalAttributesProperties
public JsonPrincipalAttributesProperties()
-
-
Method Details
-
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. -
getId
A value can be assigned to this field to uniquely identify this resolver. -
getState
Whether attribute resolution based on this source is enabled. -
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
.
-
setId
A value can be assigned to this field to uniquely identify this resolver.- Returns:
this
.
-
setState
Whether attribute resolution based on this source is enabled.- Returns:
this
.
-