Packagecom.kaazing.gateway.client.security
Classpublic class NegotiableChallengeHandler
InheritanceNegotiableChallengeHandler Inheritance ChallengeHandler
SubclassesKerberosChallengeHandler

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.

See also RFC 4178 Section 4.2.1 for details about how the supported object identifiers contribute towards the initial context token in the challenge response.

See also

NegotiateChallengeHandler


Public Methods
 MethodDefined by
 Inherited
canHandle(challengeRequest:ChallengeRequest):Boolean
Can the presented challenge be potentially handled by this challenge handler?
ChallengeHandler
  
Get the general login handler associated with this challenge handler.
NegotiableChallengeHandler
  
Return a collection of string representations of object identifiers supported by this challenge handler implementation, in dot-separated notation.
NegotiableChallengeHandler
 Inherited
handle(challengeRequest:ChallengeRequest, callback:Function):ChallengeResponseFuture
Handle the presented challenge by creating a challenge response future.
ChallengeHandler
  
Provide a general login handler to be used in association with this challenge handler.
NegotiableChallengeHandler
Method detail
getLoginHandler()method
public function getLoginHandler():LoginHandler

Get the general login handler associated with this challenge handler. A login handler is used to assist in obtaining credentials to respond to challenge requests.

Returns
LoginHandler — a login handler to assist in providing credentials, or null if none has been established yet.
getSupportedOids()method 
public function getSupportedOids():Array

Return a collection of string representations of object identifiers supported by this challenge handler implementation, in dot-separated notation. For example, 1.3.5.1.5.2

Returns
Array — a collection of string representations of object identifiers supported by this challenge handler implementation.

See also

Oid
setLoginHandler()method 
public function setLoginHandler(loginHandler:LoginHandler):NegotiableChallengeHandler

Provide a general login handler to be used in association with this challenge handler. The login handler is used to assist in obtaining credentials to respond to any challenge requests when this challenge handler handles the request.

Parameters
loginHandler:LoginHandler — a login handler for credentials.

Returns
NegotiableChallengeHandler — this challenge handler object, to support chained calls