Package | Description |
---|---|
com.kaazing.net.auth | |
com.kaazing.net.ws |
Modifier and Type | Class and Description |
---|---|
class |
BasicChallengeHandler
Challenge handler for Basic authentication as defined in RFC 2617.
This BasicChallengeHandler can be loaded and instantiated using
BasicChallengeHandler.create() , and registered
at a location using DispatchChallengeHandler.register(String, ChallengeHandler) . |
class |
DispatchChallengeHandler
A DispatchChallengeHandler is responsible for dispatching challenge requests
to appropriate challenge handlers when challenges
arrive from specific URI locations in challenge responses.
|
class |
KerberosChallengeHandler
A KerberosChallengeHandler, when registered with the
DispatchChallengeHandler
can be used to directly respond to "Negotiate" challenges where Kerberos-generated authentication
credentials are required. |
class |
NegotiableChallengeHandler
A NegotiableChallengeHandler can be used to directly respond to
"Negotiate" challenges, and in addition, can be used indirectly in conjunction
with a
NegotiateChallengeHandler
to assist in the construction of a challenge response using object identifiers. |
class |
NegotiateChallengeHandler
A Negotiate Challenge Handler handles initial empty "Negotiate" challenges from the
server.
|
Modifier and Type | Method and Description |
---|---|
protected static <T extends ChallengeHandler> |
ChallengeHandler.create(Class<T> clazz)
Creates a new instance of the sub-class of
ChallengeHandler using
the ServiceLoader API with the implementation specified under
META-INF/services. |
protected static <T extends ChallengeHandler> |
ChallengeHandler.create(Class<T> clazz,
ClassLoader clazzLoader)
Creates a new instance of the sub-class of
ChallengeHandler with
specified ClassLoader using the ServiceLoader API with
the implementation specified under META-INF/services. |
Modifier and Type | Method and Description |
---|---|
ChallengeHandler |
ChallengeResponse.getNextChallengeHandler()
Return the next challenge handler responsible for handling any further challenges for the request.
|
Modifier and Type | Method and Description |
---|---|
abstract DispatchChallengeHandler |
DispatchChallengeHandler.register(String locationDescription,
ChallengeHandler challengeHandler)
Register a challenge handler to respond to challenges at one or more locations.
|
void |
ChallengeResponse.setNextChallengeHandler(ChallengeHandler nextChallengeHandler)
Establish the next challenge handler responsible for handling any further challenges for the request.
|
abstract DispatchChallengeHandler |
DispatchChallengeHandler.unregister(String locationDescription,
ChallengeHandler challengeHandler)
If the provided challengeHandler is registered at the provided location, clear that
association such that any future challenge requests matching the location will never
be handled by the provided challenge handler.
|
Constructor and Description |
---|
ChallengeResponse(char[] credentials,
ChallengeHandler nextChallengeHandler)
Constructor from a set of credentials to send to the server in an 'Authorization:' header
and the next challenge handler responsible for handling any further challenges for the request.
|
Modifier and Type | Method and Description |
---|---|
abstract ChallengeHandler |
WsURLConnection.getChallengeHandler()
Gets the
ChallengeHandler that is used during authentication
both at the connect-time as well as at subsequent revalidation-time that
occurs at regular intervals. |
abstract ChallengeHandler |
WebSocket.getChallengeHandler()
Gets the
ChallengeHandler that is used during authentication
both at the connect-time as well as at subsequent revalidation-time that
occurs at regular intervals. |
abstract ChallengeHandler |
WebSocketFactory.getDefaultChallengeHandler()
Gets the default
ChallengeHandler that is used during
authentication both at the connect-time as well as at subsequent
revalidation-time that occurs at regular intervals. |
Modifier and Type | Method and Description |
---|---|
abstract void |
WsURLConnection.setChallengeHandler(ChallengeHandler challengeHandler)
Sets the
ChallengeHandler that is used during authentication
both at the connect-time as well as at subsequent revalidation-time that
occurs at regular intervals. |
abstract void |
WebSocket.setChallengeHandler(ChallengeHandler challengeHandler)
Sets the
ChallengeHandler that is used during authentication
both at the connect-time as well as at subsequent revalidation-time that
occurs at regular intervals. |
abstract void |
WebSocketFactory.setDefaultChallengeHandler(ChallengeHandler challengeHandler)
Sets the default
ChallengeHandler that is used during
authentication both at the connect-time as well as at subsequent
revalidation-time that occurs at regular intervals. |
Copyright © 2015. All Rights Reserved.