| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int[] | |
| private static final String[] | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SaslClient | createSaslClient(String[] mechs, String authorizationId, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh)
Implements javax. Creates a SaslClient using the parameters supplied. |
| public String[] | getMechanismNames(Map<String, ?> props)
Implements javax. Returns an array of names of mechanisms that match the specified mechanism selection policies. |
| private Object[] | Returns: an {authid, passwd} pairThe non-null prefix to use for the prompt (e.g., mechanism
name) prefix, String The possibly null authorization id. This is used
as a default for the NameCallback. If null, it is not used in prompt. authorizationId, CallbackHandler The non-null callback handler to use. cbh)Gets the authentication id and password. |
| CRAMMD5 | back to summary |
|---|---|
| private static final int CRAMMD5 | |
| EXTERNAL | back to summary |
|---|---|
| private static final int EXTERNAL | |
| mechPolicies | back to summary |
|---|---|
| private static final int[] mechPolicies | |
| myMechs | back to summary |
|---|---|
| private static final String[] myMechs | |
| PLAIN | back to summary |
|---|---|
| private static final int PLAIN | |
| ClientFactoryImpl | back to summary |
|---|---|
| public ClientFactoryImpl() | |
| createSaslClient | back to summary |
|---|---|
| public SaslClient createSaslClient(String[] mechs, String authorizationId, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) throws SaslException Implements javax. Doc from javax. Creates a SaslClient using the parameters supplied.
| |
| getMechanismNames | back to summary |
|---|---|
| public String[] getMechanismNames(Map<String, ?> props) Implements javax. Doc from javax. Returns an array of names of mechanisms that match the specified mechanism selection policies. | |
| getUserInfo | back to summary |
|---|---|
| private Object[] getUserInfo(String prefix, String authorizationId, CallbackHandler cbh) throws SaslException Gets the authentication id and password. The password is converted to bytes using UTF-8 and stored in bytepw. The authentication id is stored in authId.
| |