How do I add / remove allowed attributes to a service?

The json file (below) shows the attributes. Note this file was
imported from an earlier
cas system.

I can't find a way to make changes from the new UI.

I have the same issue trying to create a new service.

What am I missing?

-Bryan

University of Utah

{
  @class: org.apereo.cas.services.RegexRegisteredService
  serviceId: ^https://appserv01-test.idm.utah.edu/.*
  name: appserv01TestIdmUtahEdu
  id: 1014
  description: "Bryan Wooten "
  expirationPolicy:
  {
    @class: org.apereo.cas.services.DefaultRegisteredServiceExpirationPolicy
    deleteWhenExpired: false
    notifyWhenDeleted: false
  }
  proxyPolicy:
  {
    @class:
org.apereo.cas.services.RegexMatchingRegisteredServiceProxyPolicy
    pattern: ^https?://.*
  }
  evaluationOrder: 0
  usernameAttributeProvider:
  {
    @class: org.apereo.cas.services.DefaultRegisteredServiceUsernameProvider
    canonicalizationMode: NONE
    encryptUsername: false
  }
  logoutType: BACK_CHANNEL
  requiredHandlers:
  [
    java.util.HashSet
    []
  ]
  environments:
  [
    java.util.HashSet
    []
  ]
  attributeReleasePolicy:
  {
    @class: org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy
    principalAttributesRepository:
    {
      @class:
org.apereo.cas.authentication.principal.DefaultPrincipalAttributesRepository
      mergingStrategy: MULTIVALUED
      ignoreResolvedAttributes: false
    }
    consentPolicy:
    {
      @class:
org.apereo.cas.services.consent.DefaultRegisteredServiceConsentPolicy
      enabled: true
      order: 0
    }
    authorizedToReleaseCredentialPassword: false
    authorizedToReleaseProxyGrantingTicket: false
    excludeDefaultAttributes: false
    authorizedToReleaseAuthenticationAttributes: true
    order: 0
    allowedAttributes:
    [
      java.util.ArrayList
      [
        firstName
        lastName
        displayName
        email
        homephone
        department
        ou
        cn
        telephoneNumber
        acadplan
        almail
        eduPersonAffiliation
        uid
        eduPersonPrincipalName
        ummail
        unid
        uudept
        uustudent
      ]
    ]
  }
  multifactorPolicy:
  {
    @class:
org.apereo.cas.services.DefaultRegisteredServiceMultifactorPolicy
    multifactorAuthenticationProviders:
    [
      java.util.LinkedHashSet
      []
    ]
    failureMode: UNDEFINED
    bypassEnabled: false
  }
  accessStrategy:
  {
    @class: org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy
    order: 0
    enabled: true
    ssoEnabled: true
    delegatedAuthenticationPolicy:
    {
      @class:
org.apereo.cas.services.DefaultRegisteredServiceDelegatedAuthenticationPolicy
      allowedProviders:
      [
        java.util.LinkedHashSet
        []
      ]
      permitUndefined: true
      exclusive: false
    }
    requireAllAttributes: true
    requiredAttributes:
    {
      @class: java.util.HashMap
    }
    rejectedAttributes:
    {
      @class: java.util.HashMap
    }
    caseInsensitive: false
  }
  properties:
  {
    @class: java.util.HashMap
  }
  contacts:
  [
    java.util.ArrayList
    []
  ]
}

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAG9x2GU5m9SidDLg88sNfTtWc42ngoKKBFDBy_zEjxLm2A2X3Q%40mail.gmail.com.

Reply via email to