| Package | com.kaazing.gateway.client.security |
| Class | public class ChallengeRequest |
According to RFC 2617,
challenge = auth-scheme 1P 1#auth-param
so we model the authentication scheme and parameters in this class.
This class is also responsible for detecting and adapting the Application Basic
and Application Negotiate authentication schemes into their Basic and
Negotiate counterpart authentication schemes.
| Property | Defined by | ||
|---|---|---|---|
| authenticationParameters : String [read-only]
Return the string after the space separator, not including the authentication scheme nor the space itself,
or
null if no such string exists. | ChallengeRequest | ||
| authenticationScheme : String [read-only]
Return the authentication scheme with which the server is challenging.
| ChallengeRequest | ||
| location : String [read-only]
Return the protected URI the access of which triggered this challenge as a
String. | ChallengeRequest | ||
| Method | Defined by | ||
|---|---|---|---|
|
ChallengeRequest(location:String, challenge:String)
Constructor from the protected URI location triggering the challenge,
and an entire server-provided 'WWW-Authenticate:' string.
| ChallengeRequest | ||
| authenticationParameters | property |
authenticationParameters:String [read-only]
Return the string after the space separator, not including the authentication scheme nor the space itself,
or null if no such string exists.
public function get authenticationParameters():String
| authenticationScheme | property |
authenticationScheme:String [read-only]Return the authentication scheme with which the server is challenging.
Implementation public function get authenticationScheme():String
| location | property |
location:String [read-only]
Return the protected URI the access of which triggered this challenge as a String.
For some authentication schemes, the production of a response to the challenge may require access to the location of the URI triggering the challenge.
Implementation public function get location():String
| ChallengeRequest | () | constructor |
public function ChallengeRequest(location:String, challenge:String)Constructor from the protected URI location triggering the challenge, and an entire server-provided 'WWW-Authenticate:' string.
Parameterslocation:String — the protected URI location triggering the challenge
|
|
challenge:String — an entire server-provided 'WWW-Authenticate:' string
|