Skip to content

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 ​

since v2.6

Initializes a new instance of the OpcAnonymousAcl class using the owner specified.

csharp
public OpcAnonymousAcl(OpcServerBase owner)
vbnet
Public Sub New(owner As OpcServerBase)

Parameters

NameTypeDescription
ownerOpcServerBaseThe OpcServerBase the list belongs to.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe owner is a null reference (Nothing in Visual Basic).

Remarks

The entries created by the list evaluate operations and endpoints using the mode Whitelist.

Properties ​

IsConfigured ​

override

Gets a value indicating whether anonymous access is configured.

csharp
public override bool IsConfigured { get; }
vbnet
Public Overrides ReadOnly Property IsConfigured As Boolean

Property value

Boolean

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

IsConfigured

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 ​

protected · override · since v2.42

Gets the type of the identity tokens the list is responsible for.

csharp
protected override OpcAccessControlTokenType TokenType { get; }
vbnet
Protected Overrides ReadOnly Property TokenType As OpcAccessControlTokenType

Property value

OpcAccessControlTokenType

Always Anonymous.

Overrides

TokenType

Methods ​

Authenticate ​

override · since v2.42

Authenticates the identityToken specified if it is an anonymous identity token.

csharp
public override OpcPrincipal Authenticate(OpcIdentityToken identityToken)
vbnet
Public Overrides Function Authenticate(
    identityToken As OpcIdentityToken) As OpcPrincipal

Parameters

NameTypeDescription
identityTokenOpcIdentityTokenThe OpcIdentityToken to authenticate.

Returns

OpcPrincipal

The OpcPrincipal of the anonymous identity if the identityToken is an OpcAnonymousIdentityToken; otherwise a null reference (Nothing in Visual Basic).

Overrides

Authenticate

Remarks

All anonymous identity tokens are authenticated as the same principal, which is created by the first call and assigned to the role Anonymous.