Description
-
Determines if authentication is required to access the server.
Property type
-
A
WebAuthentications
enumeration.
Syntax
-
object.Authentication [= value]
The Authentication Property syntax has these parts:
Settings
-
The settings for value are:
 |
AuthOptional |
0 |
Authentication with the server is
optional. |
 |
AuthRequired |
1 |
Authentication with the server is
required. |
Remarks
-
This property defines if wodWebServer requires client
authorization to be performed before he can actually access
resources on the server. When set to AuthRequired,
wodWebServer will check if authorization headers exist (or, if
AuthenticationType property is set to AuthCertificate it will
check if certificate is provided), and fire
UserAuthenticate event giving you chance to authenticate client
from your access list.
-
-
If this property is set to AuthOptional, wodWebServer will
still check if authorization headers are provided, it will fire
UserAuthenticate event - but Accept argument in that event
will default to Allow - thus accepting connections unless you
change Accept argument to Deny.
|