Reference
OpcAnonymousAcl Members
Represents the access control list of an OpcServerSecurity which authenticates anonymous identity tokens.
Reference
OpcAnonymousAcl Members
- Type
- OpcAnonymousAcl
- Namespace
- Opc.UaFx.Server
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcAccessControlList.
Constructors
OpcAnonymousAcl
Initializes a new instance of the OpcAnonymousAcl class using the owner specified.
public OpcAnonymousAcl(OpcServerBase owner)Public Sub New(owner As OpcServerBase)Parameters
| Name | Type | Description |
|---|---|---|
owner | OpcServerBase | The OpcServerBase the list belongs to. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The owner is a null reference ( |
Remarks
The entries created by the list evaluate operations and endpoints using the mode Whitelist.
Properties
IsConfigured
Gets a value indicating whether anonymous access is configured.
public override bool IsConfigured { get; }Public Overrides ReadOnly Property IsConfigured As BooleanProperty value
The value true if the user token policies of the Configuration contain an anonymous policy, or if they contain no policy at all and no other access control list is enabled; otherwise the value false.
Overrides
Remarks
Since the value depends on the other access control lists, enabling one of them disables anonymous access, as long as IsEnabled of this list has not been set explicitly. While the server runs, the value follows the configuration it has been started with, see IsConfigured.
TokenType
Gets the type of the identity tokens the list is responsible for.
protected override OpcAccessControlTokenType TokenType { get; }Protected Overrides ReadOnly Property TokenType As OpcAccessControlTokenTypeProperty value
Always Anonymous.
Overrides
Methods
Authenticate
Authenticates the identityToken specified if it is an anonymous identity token.
public override OpcPrincipal Authenticate(OpcIdentityToken identityToken)Public Overrides Function Authenticate(
identityToken As OpcIdentityToken) As OpcPrincipalParameters
| Name | Type | Description |
|---|---|---|
identityToken | OpcIdentityToken | The OpcIdentityToken to authenticate. |
Returns
The OpcPrincipal of the anonymous identity if the identityToken is an OpcAnonymousIdentityToken; otherwise a null reference (Nothing in Visual Basic).
Overrides
Remarks
All anonymous identity tokens are authenticated as the same principal, which is created by the first call and assigned to the role Anonymous.

