cas.mgmt.adminRoles=ROLE_ADMIN,ROLE_IDMADMIN
# Attributes that you wish to resolve for the principal
cas.authn.attributeRepository.attributes.uid=uid
cas.authn.attributeRepository.attributes.mail=mail
cas.authn.attributeRepository.attributes.displayName=displayName
cas.authn.attributeRepository.attributes.cn=commonName
cas.authn.attributeRepository.attributes.affiliation=groupMembership
cas.authn.attributeRepository.attributes.lastName=sn
cas.authn.attributeRepository.attributes.firstName=givenName
cas.authn.attributeRepository.attributes.givenName=givenName
cas.authn.attributeRepository.attributes.member=memberOf
cas.mgmt.authzAttributes[0]=memberOf
cas.mgmt.authzAttributes[1]=groupMembership
cas.mgmt.ldap.ldapAuthz.groupAttribute=cn
cas.mgmt.ldap.ldapAuthz.groupPrefix=ROLE_
cas.mgmt.ldap.ldapAuthz.groupFilter=(member={0})
cas.mgmt.ldap.ldapAuthz.groupBaseDn=ou=groups,dc=xxxxxxx,dc=com
cas.mgmt.ldap.ldapAuthz.rolePrefix=ROLE_
cas.mgmt.ldap.ldapAuthz.roleAttribute=memberOf
cas.mgmt.ldap.ldapAuthz.searchFilter=(cn={user})
cas.mgmt.ldap.ldapAuthz.baseDn=dc=xxxxxx,dc=com
{
"@class" : "org.apereo.cas.services.RegexRegisteredService",
"serviceId" : "^(https|imaps)://.*",
"name" : "HTTPS and IMAPS",
"id" : 10000001,
"description" : "This service definition authorizes all application urls that support HTTPS and IMAPS protocols.",
"evaluationOrder" : 10000,
"accessStrategy" : {
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
"enabled" : true,
"ssoEnabled" : true,
"attributeReleasePolicy" : {
"@class" : "org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy",
"allowedAttributes" : [ "java.util.ArrayList", [ "sAMAccountName", "displayName", "cn"] ]
},
"requiredAttributes" : {
"@class" : "java.util.HashMap",
"sAMAccountName" : [ "java.util.HashSet", [ "mylogin_ad" ] ],
"displayName" : [ "java.util.HashSet", ["NAME Julien"] ]
}
}
}