Description
-
Determines type of authentication supported by the server.
Property type
-
A
WebAuthenticationTypes
enumeration.
Syntax
-
object.AuthenticationType [= value]
The AuthenticationType Property syntax has these parts:
Settings
-
The settings for value are:
 |
AuthNone |
0 |
No authentication supported. |
 |
AuthBasic |
1 |
Server supports Basic base64
authentication. |
 |
AuthNTLM |
2 |
Server supports NTLM
challenge-request authentication. |
 |
AuthCertificate |
3 |
Server supports authentication with
client certificate. |
Remarks
-
This property defines type wodWebServer required (and supported)
to authenticate clients. You can set this property to any of above
values, or their combination (such as AuthBasic + AuthNTLM). If you
set
Authentication property to AuthRequired, client then
*must* provide his credentials to access resources on your server.
Failing to do so will cause 'Forbidden' response to be returned to
him automatically - you will not even receive
RequestDone event.
-
-
When client tries to authenticate,
UserAuthenticate event will fire where you must set
Action argument to Accept or
Deny. If you set it to Deny then wodWebServer will automatically
redirect response to 'Forbidden' response. When set to Allow,
wodWebServer will proceed as usual - firing RequestDone event to
handle and send response.