DeploymentException thrown when WebSocketContainer.connectToServer(...)
fails because of any of the following:
Authenticator registered in AuthConfig.
AuthenticationException is thrown from Authenticator#generateAuthorizationHeader(URI, String,
Credentials)
method.
ClientProperties#AUTH_CONFIG is not instance of AuthConfig.
getHttpStatusCode() returns always 401.
Authenticator#generateAuthorizationHeader(URI, String, Credentials), AuthConfig
| Access | Constructor and Description |
|---|---|
| public | AuthenticationException(String
the detail message. The detail message is saved for later retrieval by the message)getMessage()
method.Constructor. |
| AuthenticationException | back to summary |
|---|---|
| public AuthenticationException(String message) Constructor.
| |