| java.lang.Object org.w3c.www.http.BasicValue org.w3c.www.http.HttpCredential
HttpCredential | public class HttpCredential extends BasicValue (Code) | | This class has a hack to handle basic authentication.
Basic authentication (amongst others) is broken in the HTTP spec, to handle
the APIs more nicely, Jigsaw fakes a cookie auth param
with the appropriate basic-credentials.
|
HttpCredential | public HttpCredential(boolean isValid, String scheme)(Code) | | |
HttpCredential | public HttpCredential()(Code) | | |
getAuthParameter | public String getAuthParameter(String name)(Code) | | Get an authentication parameter.
Parameters: name - The name of the parameter to fetch. The String value, or null if undefined. |
getScheme | public String getScheme()(Code) | | Get the authentication scheme identifier.
A String giving the auth scheme identifier. |
setAuthParameter | public void setAuthParameter(String name, String value, boolean quoted)(Code) | | Set an auth parameter value.
Parameters: name - The name of the parameter to set. Parameters: value - The new value for this parameter. Parameters: quoted - If true, the value will be quoted |
setAuthParameter | public void setAuthParameter(String name, String value)(Code) | | Set an auth parameter value.
Parameters: name - The name of the parameter to set. Parameters: value - The new value for this parameter.The value will be quoted |
setScheme | public void setScheme(String scheme)(Code) | | Set the authentication scheme.
Parameters: scheme - The auth scheme for these credentials. |
updateByteValue | protected void updateByteValue()(Code) | | |
|
|