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:
  • 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

      public String getId()
      A value can be assigned to this field to uniquely identify this resolver.
    • getState

      public AttributeRepositoryStates getState()
      Whether attribute resolution based on this source is enabled.
    • setOrder

      public JsonPrincipalAttributesProperties setOrder(int order)
      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.