Class Authenticator

java.lang.Object
org.glassfish.tyrus.client.auth.Authenticator

@Beta public abstract class Authenticator extends Object
Authenticator provides a way how to plug-in custom authentication provider.

Authenticator is called when server-side returns HTTP 401 as a reply to handshake response. Tyrus client then looks for authenticator instance registered to authentication scheme provided by server.

Author:
Ondrej Kosatka
See Also: