Richard Frovarp
unread,Nov 21, 2016, 5:37:48 PM11/21/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CAS Community
I'm having difficulty understanding how to configure the security layer
for the CAS management webapp, if I don't want to use a static list.
If I provide cas.mgmt.authzAttributes=memberOf, then it would seem that
I should set cas.mgmt.adminRoles to the group.
In theory this might seem like it should work. However, AD groups have
commas in them, and the code is splitting on commas. The Spring
documentation for the method is a bit vague, but it appears that quoting
the string that you don't want split, doesn't work. This is despite
StringUtils in Spring referring to CSV. So there is no way for the whole
to be equal to the first bit.
Is this a bug, or am I just doing it wrong?
Documentation for the LDAP module is lacking, and I can't quite guess
what I'm supposed to do there. I was thinking about using the
userPropertiesFile, but that doesn't appear to be read after startup. So
I'd have to have Puppet update the static file, then manually restart
the management application (via Tomcat Manager, which is protected by CAS).
Thanks,
Richard