]
Jan Kalina updated ELY-907:
---------------------------
Issue Type: Feature Request (was: Enhancement)
LdapRealm - different principal/credential for referrals
--------------------------------------------------------
Key: ELY-907
URL:
https://issues.jboss.org/browse/ELY-907
Project: WildFly Elytron
Issue Type: Feature Request
Reporter: Jan Kalina
Assignee: Jan Kalina
Priority: Minor
When LdapRealm follows referrals, it uses the original context's environment
properties, including principal/credential, to create a connection to the referred server.
Sometimes you might want to follow the referral using different authentication
information.
This can be done when using AuthenticationContext.
Note: how to pass different credentials into referred DirContext:
http://www.cs.binghamton.edu/~steflik/cs328/jndi/tutorial/ldap/referral/t... (part
Authenticating to a Referral Context)