public class DefaultAuthenticator extends AbstractAuthenticator
credentials, websocket| Constructor and Description |
|---|
DefaultAuthenticator()
Instantiates a new default authenticator.
|
DefaultAuthenticator(BasicAuthenticator basicAuthenticator,
DigestAuthenticator digestAuthenticator)
Instantiates a new default authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentials(List<Challenge> challengeList)
Gets the credentials.
|
done, getCredentials, init, isDone, isNeedAuthenticate, parseParamspublic DefaultAuthenticator()
public DefaultAuthenticator(BasicAuthenticator basicAuthenticator, DigestAuthenticator digestAuthenticator)
basicAuthenticator - the basic authenticatordigestAuthenticator - the digest authenticatorpublic String getCredentials(List<Challenge> challengeList) throws WebSocketException
AbstractAuthenticatorgetCredentials in class AbstractAuthenticatorchallengeList - the challenge listWebSocketException - the web socket exceptionCopyright © 2021. All rights reserved.