public class DefaultAuthenticator extends AbstractAuthenticator
credentials, websocket| 构造器和说明 |
|---|
DefaultAuthenticator()
Instantiates a new default authenticator.
|
DefaultAuthenticator(BasicAuthenticator basicAuthenticator,
DigestAuthenticator digestAuthenticator)
Instantiates a new default authenticator.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 AbstractAuthenticatorchallengeList - the challenge listWebSocketException - the web socket exceptionCopyright © 2020. All rights reserved.