I have a problem with the configuration of a LDAP server on Tomcat 8. I have a LDAP server configured and working on a WAS 8.5 server and I would like to configure the same LDAP on Tomcat. The WAS configuration is (translating from italian):
- User filter: (&(cn=%v)(objectclass=inetOrgPerson))
 - Group filter: (&(cn=%v)(|(objectclass=groupOfNames)(objectclass=groupOfUniqueNames)))
 - User ID map: *:cn
 - Group ID map: *:cn
 - Map ID member of group: ibm-allGroups:member;ibm-allGroups:uniqueMember;groupOfNames:member;groupOfUniqueNames:uniqueMember
 
The Realm tag in server.xml on tomcat is:
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="10"
                            connectionURL="ldap://192.168.0.3:389"
                            userBase="o=organization,c=it"
                            userSearch="(cn={0})"
                            userSubtree="true"
                            connectionName="cn=test,cn=Directory Administrators,o=organization,c=it"
                            connectionPassword="testpass"                          
            />
How can I fill the Realm tag with the role attributes? And in the web.xml, what role I have to specify? I just want to grant access to all authenticated users.