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.
|
Modifier and Type | Method and Description |
---|---|
protected static <T extends ChallengeHandler> |
ChallengeHandler.create(Class<T> clazz)
Creates a new instance of the corresponding sub-class of
ChallengeHandler |
protected static <T extends ChallengeHandler> |
ChallengeHandler.create(Class<T> clazz,
ClassLoader clazzLoader)
Creates a new instance of the corresponding sub-class of
ChallengeHandler with
specified ClassLoader |
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 © 2014. All Rights Reserved.