Authentication is a very in-expensive call (as you’ve observed). What is expensive is what we do after authentication succeeds:
- Determine Group Membership for the user
- Determine Role Membership for the user (if the admin has configured ldap roles)
- Fetch any configured attributes (if the admin has configured ldap attributes)
These operations allows us to fully determine group/role membership which is critical for optimized authorization handling for the rest of the user’s session.
So two things you can remove are any ldap attributes config and any ldap role config. Although based on your comments you probably haven’t configured these anyway.
The next thing to do is to modify the group query. Are you using ldap groups? If not, then you could modify the LDAP Directory Service to point to an empty groups dn to ensure no results are returned.
At that point, you can enable Directory Debugging (using the Log Configuration portlet) to see each and every LDAP query executed as well as the execution times in the logs. This should give you the exact information to know:
- What ldap queries are executed
- How long each query is taking
If you’re still experiencing the times you mentioned, please contact Technical Support and we’ll examine other options.
Regards,
–mark
#webMethods-BPMS#webMethods#MWS-CAF-Task-Engine