I have fixed mgmt.xxx to cas.mgmt.xxx but now I have other error.
https://dpaste.com/7WYTYWLQL

My config entries in management.properties looks like this:

....
# Enable authorization based on groups
cas.mgmt.ldap.ldapAuthz.groupAttribute=memberOf
cas.mgmt.ldap.ldapAuthz.groupPrefix=
cas.mgmt.ldap.ldapAuthz.groupFilter=
cas.mgmt.ldap.ldapAuthz.groupBaseDn=OU=xxx,dc=xxx,dc=xxx,dc=xxx,dc=xxx

# Enable authorization based on attributes and roles
cas.mgmt.ldap.ldapAuthz.rolePrefix=ROLE_
cas.mgmt.ldap.ldapAuthz.roleAttribute=extensionAttribute9

cas.mgmt.ldap.ldapAuthz.searchFilter=sAMAccountName={user}
cas.mgmt.ldap.ldapAuthz.baseDn=OU=xxx,dc=xxx,dc=xxx,dc=xxx,dc=pl

cas.mgmt.ldap.ldapUrl=ldaps://ldapserver.name
cas.mgmt.ldap.connectionStrategy=
#mgmt.ldap.userFilter=sAMAccountName={user}
cas.mgmt.ldap.bindDn=cn=xxxr,cn=xxx,dc=xxx,dc=xx,dc=xxx,dc=xxx
#cas.mgmt.ldap.bindDn=cn=xxx,cn=xxx,dc=xxx,dc=xxx,dc=xxx,dc=xxxx
cas.mgmt.ldap.bindCredential=xxxxxxxx
cas.mgmt.ldap.providerClass=org.ldaptive.provider.unboundid.UnboundIDProvider
cas.mgmt.ldap.connectTimeout=5000

.....

środa, 10 marca 2021 o 23:00:47 UTC+1 Ray Bon napisał(a):

> Bartosz,
>
> I assume you are using a recent version of cas-management.
> The log message says that you are trying to set a property but 
> cas-management does not know how to set it.
>
> I think the properties are being changed to use the same values as cas (it 
> uses the same config libraries).
> Properties will have the same name as in cas.
> I have this in my management config:
>
> # org.ldaptive.provider.unboundid.UnboundIDProvider is default
> # 
> cas.serviceRegistry.ldap.providerClass=org.ldaptive.provider.unboundid.UnboundIDProvider
>
> It has been months since I worked on this but you may not need to set this 
> particular field.
>
> Some properties will be mgmt.something... and some will be cas.something...
> If you can find the property in the cas docs, 
> https://apereo.github.io/cas/6.3.x/configuration/Configuration-Properties.html,
>  
> try the cas.something first.
>
> Ray
>
> On Wed, 2021-03-10 at 03:18 -0800, Bartosz Nitkiewicz wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information. 
>
>
> Hi, 
> After successful CAS Server installation I have problem with 
> CAS-Management APP
>
> I can't build it with some dependencies placed in build.gradle:
>
> compile 
> "org.apereo.cas:cas-server-support-jdbc-drivers:${casMgmtServerVersion}"
> compile 
> "org.apereo.cas:cas-server-support-jpa-service-registry:${casMgmtServerVersion}"
> compile "org.apereo.cas:cas-server-support-ldap:${casMgmtServerVersion}"
>
> Here is output of tomcat log.
> https://dpaste.com/D36YB8PGX
>
> Could You please help me.
> Thanks
>
>
> -- 
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 <(250)%20721-8831> | CLE 019 | [email protected]
>
> I respectfully acknowledge that my place of work is located within the 
> ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
> WSÁNEĆ Nations.
>

-- 
- 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/f447bba2-0c00-420d-9a07-9084699a6c5an%40apereo.org.

Reply via email to