...
However, while JAAS configuration in general is the same, the vt-ldap JAAS module supplied with V2 is not supported and has been superseded by the newer ldaptive library, which provides its own JAAS module. In addition to the module class being different, there are other differences in settings.
LDAP Module Configuration Comparison
This is not a comprehensive list, but it does include the most commonly used configuration arguments.
vt-ldap | ldaptive | comments |
---|---|---|
ldapUrl | ldapUrl | |
host | N/A | use ldapUrl |
port | N/A | use ldapUrl |
timeout | connectTimeout | |
N/A | responseTimeout | |
baseDn | baseDn | |
base | N/A | use baseDn |
tls | useStartTLS | |
ssl | useSSL | |
sslSocketFactory | credentialConfig | |
userField | N/A | use userFilter |
userFilter | userFilter | |
subtreeSearch | subtreeSearch | |
authorizationFilter | N/A | |
constructDn | N/A | use dnResolver |
allowMultipleDns | allowMultipleDns | |
bindDn | bindDn | |
serviceUser | N/A | use bindDn |
bindCredential | bindCredential | |
serviceCredential | N/A | use bindCredential |
dnResolver | dnResolver | |
userRoleAttribute | userRoleAttribute |
Notes
TBD