AuthScheme Property
The authentication scheme to use when server authorization is required.
Syntax
public int getAuthScheme(); public void setAuthScheme(int authScheme);
Enumerated values: public final static int authBasic = 0; public final static int authDigest = 1; public final static int authProprietary = 2; public final static int authNone = 3; public final static int authNtlm = 4; public final static int authNegotiate = 5; public final static int authOAuth = 6;
Remarks
This property will tell the component which type of authorization to perform when the User and Password properties are set.
This property should be set to authNone (3) when no authentication is to be performed.
By default, this property is authBasic (0), and if the User and Password properties are set, the component will attempt basic authentication. If AuthScheme is set to authDigest (1), authNtlm (4) or authNegotiate (5), digest, NTLM or Negotiate authentication will be attempted instead.
If AuthScheme is set to authProprietary (2) then the authorization token must be supplied through Authorization property.
If AuthScheme is set to authOAuth (6) then the authorization string must be supplied through Authorization property.
Note that, if you set the Authorization property and AuthScheme is not authProprietary or authOAuth, the AuthScheme will be set automatically to authProprietary (2) by the control.
For security purposes, changing the value of this property will cause the component to clear the values of User, Password and Authorization.
Default Value
0