public final class SASLAuth extends Object
The authzid and authcid are prefixed as described in RFC 4513, section 5.2.1.8, with "dn:" if you pass in a distinguished name, or with "u:" if you pass in a user ID.
By default, OpenDJ is set up for SASL PLAIN to use the Exact Match Identity Mapper to find entries by searching uid values for the user ID. In other words, the following examples are equivalent.
dn:uid=bjensen,ou=people,dc=example,dc=com u:bjensen
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Authenticate to the directory using SASL PLAIN.
|
public static void main(String[] args)
args - The command line argumentsCopyright © 2017-2020 Wren Security. All Rights Reserved.