Is it possible to use namespace ldap authentication like:
and after successfull logging, use own filter to retrieve roles for this user? I've tried to do this (of course the code above isn't mine, it's straight from the reference guide), but as soon as trying to start app server, it's throwing exceptionCode:<security:http auto-config="false"> <security:intercept-url pattern="/some_url/*" access="SOME_ROLE" /> <security:form-login /> <security:anonymous /> <security:logout /> </security:http> <ldap-server url="ldap://springframework.org:389/dc=springframework,dc=org" /> <ldap-authentication-provider user-dn-pattern="uid={0},ou=people"/>
java.lang.IllegalArgumentException: Unsupported configuration attributes: [SOME_
ROLE]
So is it necessary to also use ldap-authentication-provider to retrieve the roles? It seems, that reason behind the error is, that I'm not retrieving any roles from ldap-server using ldap-authentication-provider (they would be retrieved from other server / service by filter).


