Hi all, here's a question on LDAP we're considering. Any thoughts? We're setting up our LDAP to work with MH, but I've discovered what looks to be a problem when setting permissions in mh_default_org.xml for access based on our LDAP roles.
For example, instead of <sec:intercept-url pattern='/info/me.json' method="GET" access='ROLE_ANONYMOUS, ROLE_USER' /> We'd like to use <sec:intercept-url pattern='/info/me.json' method="GET" access='ROLE_ANONYMOUS, ROLE_CN=UOFS_STAFF,OU=ANCILLARYGROUPS,OU=GROUPS,DC=USASK,DC=CA' /> Because USER isn't a role in our LDAP. However, when I set this in the configuration, I get this error: 13:38:09 ERROR (SpringSecurityConfigurationArtifactInstaller:121) - Unable to refresh spring security configuration file /opt/matterhorn/felix/conf/security/mh_default_org.xml: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Unsupported configuration attributes: [DC=CA, OU=ANCILLARYGROUPS, DC=USASK, OU=GROUPS] When going to localhost:8080 in the browser, I don't get the CAS log in screen, but a 403 Forbidden error. The role name displayed in /info/me.json is ROLE_CN=UOFS_STAFF,OU=ANCILLARYGROUPS,OU=GROUPS,DC=USASK,DC=CA Any thoughts or suggestions? -- Christopher Brooks, BSc, MSc ARIES Laboratory, University of Saskatchewan Web: http://www.cs.usask.ca/~cab938 Phone: 1.306.966.1442 Mail: Advanced Research in Intelligent Educational Systems Laboratory Department of Computer Science University of Saskatchewan 176 Thorvaldson Building 110 Science Place Saskatoon, SK S7N 5C9
We’re setting up our LDAP to work with MH, but I’ve discovered what looks to be a problem when setting permissions in mh_default_org.xml for access based on our LDAP roles. For example, instead of <sec:intercept-url pattern='/info/me.json' method="GET" access='ROLE_ANONYMOUS, ROLE_USER’ /> We’d like to use <sec:intercept-url pattern='/info/me.json' method="GET" access='ROLE_ANONYMOUS, ROLE_CN=UOFS_STAFF,OU=ANCILLARYGROUPS,OU=GROUPS,DC=USASK,DC=CA' /> |
_______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
