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 exception
<ldap-server url="ldap://springframework.org:389/dc=springframework,dc=org" />
java.lang.IllegalArgumentException: Unsupported configuration attributes: [SOME_
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).