Hello,

I’ve been stuck on cas-management for several weeks now.

I followed the Dacurry documentation 
https://dacurry-tns.github.io/deploying-apereo-cas/building_svcmgmt_overview.html
 
but nothing works.

Here is my configuration of my cas-management.properties file

# Adresse du Serveur CAS
cas.server.name=https://cas.osnetworking.com:8443
cas.server.prefix=https://cas.osnetworking.com:8443/cas
#cas.server.prefix=${cas.server.name}/cas

logging.config=file:/etc/cas/config/log4j2-management.xml

##################################################################
# Update this URL to point at server running this management app #
##################################################################

#cas.mgmt.serverName: ${cas.server.name}
mgmt.serverName=https://casmanagement.osnetworking.com:8443
server.context-path=/cas-management
#server.port=8443

spring.thymeleaf.mode = HTML

mgmt.adminRoles[0]=ROLE_ADMIN
mgmt.userRoles[0]=ROLE_USER

mgmt.userPropertiesFile=file:/etc/cas/config/users.json

######################################
# Gestion des Logs de cas-management #
######################################

logging.config=file:/etc/cas/config/log4j2-management.xml

################################
# Gestion des services en JSON #
################################

cas.serviceRegistry.json.location=file:/etc/cas/services
cas.serviceRegistry.initFromJson = true

############################################################
# Liste des attributs sélectionables depuis le CAS-Manager #
############################################################

cas.authn.attributeRepository.stub.attributes.UDC_IDENTIFIER:   
UDC_IDENTIFIER
cas.authn.attributeRepository.stub.attributes.cn:               cn
cas.authn.attributeRepository.stub.attributes.displayName:      displayName
cas.authn.attributeRepository.stub.attributes.givenName:        givenName
cas.authn.attributeRepository.stub.attributes.mail:             mail
cas.authn.attributeRepository.stub.attributes.sn:               sn
cas.authn.attributeRepository.stub.attributes.uid:              uid


Here is my json file.

/*
   * Wildcard service définition that applies to any https or imaps url.
   * Do not use this definition in a production environment.
   */
{
 "@class" :            "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" :         
"^https://casmanagment.osnetworking.com/cas-management/.*";,
  "name" :              "CAS Services Management",
  "id" :                1563530823,
  "description" : "CAS services management webapp",
  "evaluationOrder" : 5500
  "allowedAttributes":["cn","sAMAccountName","mail"]
}

Is my file correct ?

Thank you

Best regard

-- 
- 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/28633cf0-1881-45b4-a254-eac78ccf951f%40apereo.org.

Reply via email to