Hi , 

I tried with this settings but still can not access both sites. ( status 
page and management ) . I comment out management settings and just 
configured with status page settings but again it could not access or view 
status page. Do you have any running configuration compatible with cas6.0.x 
( cas-server and management )  , i will try to use it as sample.
Thank you.



17 Temmuz 2019 Çarşamba 16:52:09 UTC+3 tarihinde abdelrahman halawa yazdı:
>
> Hi,
> The JSON files are good.
> Below, my suggestion configurations:
> ------------cas.properties----------------- 
> management.contextPath=/status
> management.security.enabled=true
> management.security.roles=ACTUATOR,ADMIN
> management.security.sessions=if-required
> cas.adminPagesSecurity.actuatorEndpointsEnabled=true
> cas.monitor.endpoints.enabled=true
> endpoints.enabled=true
> cas.adminPagesSecurity.ip=127\\.0\\.0\\.1
> cas.monitor.endpoints.sensitive=false
> endpoints.sensitive=false
> cas.adminPagesSecurity.loginUrl=${cas.server.prefix}/login
> cas.adminPagesSecurity.service=${cas.server.prefix}/status/dashboard
> cas.adminPagesSecurity.users=file:etc/cas/config/adminusers.properties 
> //file contains the authorized users, who will uses CAS
> cas.adminPagesSecurity.adminRoles[0]=ROLE_ADMIN
>
> ----------------------adminusers.properties----------------------
> casuser=notused,ROLE_ADMIN
>
> --------------------Management.properties-----------------------
> cas.server.name=https://xxxxxxxxxxx
> cas.server.prefix=${cas.server.name}/cas
> mgmt.adminRoles[0]=ROLE_ADMIN
> mgmt.userPropertiesFile= file:etc/cas/config/adminusers.properties 
>
> mgmt.serverName=https://xxxxxxxx:8443
> server.context-path=/cas-management
> cas.serviceRegistry.json.location=file:xxxxxxxxxxxxxxxxxxx //path to the 
> folder, which contains JSON files
> cas.serviceRegistry.initFromJson=true
>
>
> On Wed, Jul 17, 2019 at 10:37 AM M.Pedis <[email protected] <javascript:>> 
> wrote:
>
>>  Hi 
>>
>> *Abdelrahman , *I followed every steps but it couldn work for me , i 
>> think i miss something or configure wrong. Could you please share an 
>> example configuration for admin-dashboard ( also json file ) and 
>> cas-management compatible with cas-server 6.1.0-RC5-SNAPSHOT version?
>> I wrote my cas properties below and services file ;
>>
>> cas.properties ; (it properly works ) 
>>
>>
>> cas.server.name:https://cas.xxxxxxx.edu.tr:8443
>> server.prefix=${server.name}/cas
>>
>> cas.authn.accept.users=
>>
>> logging.config: file:/etc/cas/config/log4j2.xml
>>
>> cas.tgc.secure:true
>> #
>> cas.tgc.crypto.encryption.key:r88iOMdbRMLOkITV54kax4WgadTdzUYSBXNhOp_oqS0
>>
>> cas.tgc.crypto.signing.key:bMpP_eHgIsL1kz_cnxEqYo9Bb384V70eZIvWctQ5V6xTO4P6wsQjFlglD9OSQNlFdb0mT2Q1E3qXdo05_tzrjQ
>> cas.webflow.crypto.encryption.key:Kmj1JJSPOTSiagI4gCxhUA==
>>
>> cas.webflow.crypto.signing.key:hGapVlP6pCzIUo_CCboRszQpvWFPazmyuWsBUOoWYqUQqMKw55al5c_EGH6VBtjpIVUqEAXcvLQjQ8HaVBEmDw
>> #
>> cas.authn.ldap[0].type=AUTHENTICATED
>>
>> cas.authn.ldap[0].principalAttributeList=cn,givenName,userPrincipalName,description
>> cas.authn.ldap[0].bindDn=cn=Users,DC=xxx,DC=edu,DC=tr
>> cas.authn.ldap[0].ldapUrl=ldap://192.168.98.60:389
>> #cas.authn.ldap[0].searchFilter=cn={user}
>> cas.authn.ldap[0].searchFilter=(userPrincipalName={user})
>> cas.authn.ldap[0].bindDn=cn=CAS ldap,cn=users,dc=xxxx,dc=edu,dc=tr
>> cas.authn.ldap[0].bindCredential=xxxxxxxxxxxx
>> cas.authn.ldap[0].baseDn=OU=Domain Users,DC=xxxxxxx,DC=edu,DC=tr
>> cas.authn.ldap[0].subtreeSearch=true
>> cas.authn.ldap[0].useSsl=false
>> #
>> #cas.mgmt.serverName:${cas.server.name}
>>
>> /etc/cas/services--- = 
>>
>> CASAdminDashboard-1563349460.json
>> {
>>   "@class" : "org.apereo.cas.services.RegexRegisteredService",
>>   "serviceId" : "^
>> https://cas.xxxxx.edu.tr:8443/cas/status/dashboard(\\z|/.*)",
>>   "name" : "CAS Admin Dashboard",
>>   "id" : 1563349460,
>>   "description" : "CAS dashboard and administrative endpoints",
>>   "evaluationOrder" : 5000
>> }
>>
>> CASServiceManagement-1563352362.json
>> {
>>   "@class" : "org.apereo.cas.services.RegexRegisteredService",
>>   "serviceId" : "^https://cas.xxxxx.edu.tr:8443/cas-management(\\z|/.*)",
>>   "name" : "CAS Services Management",
>>   "id" : 1563352362,
>>   "description" : "CAS services management webapp",
>>   "evaluationOrder" : 5500
>> }
>>
>>
>>
>> What do i need to add cas.properties , management.properties , users.json 
>> .. _? 
>>
>> Thanks
>>
>>
>>
>> -- 
>> - 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/b896eef0-c675-459e-b940-ef765014757c%40apereo.org
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/b896eef0-c675-459e-b940-ef765014757c%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Best regards,
> ------------------------------------
>
> ​
> [image: photo]  
> *Abdelrahman Halawa*
> Teacher Assistant, Computer and Systems Department, Al-Azhar University
> +2 01008131693 | [email protected] <javascript:> | Skype: 
> abdelrahmanhalawa <https://mail.google.com/mail/u/0/#> | Maadi, Cairo, 
> Egypt
> <http://eg.linkedin.com/pub/abdelrahman-halawa/2b/689/886> 
> <http://twitter.com/Abdelrahman_S_H>
>

-- 
- 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/1e2691de-eb89-4e61-9510-444eb7f62750%40apereo.org.

Reply via email to