.NET Based OPC UA Client/Server SDK  3.0.10.493
UnifiedAutomation.UaBase.HttpAccessRule Class Reference

An access rule for an HTTP URL used by a WCF service. More...

Static Public Member Functions

static StatusCode CheckForHttpsCertificate (ISecurityProvider provider, IList< SslCertificateBinding > bindings, Uri url)
 Checks for HTTPS certificate bound to the URL. More...
 
static SslCertificateBinding FindSslCertificateBinding (Uri url)
 Finds the SSL certificate binding. More...
 
static List
< SslCertificateBinding
GetSslCertificateBindings ()
 Fetches the current SSL certificate configuration. More...
 
static void SetSslCertificateBinding (SslCertificateBinding binding)
 Creates a new SSL certificate binding. More...
 
static void DeleteSslCertificateBinding (IPAddress address, ushort port)
 Deletes a new SSL certificate binding. More...
 
static IList< HttpAccessRuleGetAccessRules (string url)
 Gets the application access rules for the specified URL. More...
 
static void SetAccessRules (string url, IList< HttpAccessRule > rules, bool replaceExisting)
 Sets the application access rules for the specified URL. More...
 
static void SetAccessRules (Uri url, IList< AccessRule > accessRules, bool replaceExisting)
 Sets the application access rules for the specified URL (replaces the hostname with a wildcard). More...
 

Properties

string UrlPrefix [get, set]
 The access right affected by the rule. More...
 
AccessRight Right [get, set]
 The access right affected by the rule. More...
 
String IdentityName [get, set]
 The name of the NT account principal which the access rule applies to. More...
 

Detailed Description

An access rule for an HTTP URL used by a WCF service.

Member Function Documentation

static StatusCode UnifiedAutomation.UaBase.HttpAccessRule.CheckForHttpsCertificate ( ISecurityProvider  provider,
IList< SslCertificateBinding bindings,
Uri  url 
)
inlinestatic

Checks for HTTPS certificate bound to the URL.

Parameters
provider
bindingsThe bindings. GetSslCertificateBindings is called if null.
urlThe URL.
Returns
Good if the binding exists and the certificate is accessible. An error code otherwise.
static void UnifiedAutomation.UaBase.HttpAccessRule.DeleteSslCertificateBinding ( IPAddress  address,
ushort  port 
)
inlinestatic

Deletes a new SSL certificate binding.

static SslCertificateBinding UnifiedAutomation.UaBase.HttpAccessRule.FindSslCertificateBinding ( Uri  url)
inlinestatic

Finds the SSL certificate binding.

Parameters
urlThe URL.
Returns
static IList<HttpAccessRule> UnifiedAutomation.UaBase.HttpAccessRule.GetAccessRules ( string  url)
inlinestatic

Gets the application access rules for the specified URL.

static List<SslCertificateBinding> UnifiedAutomation.UaBase.HttpAccessRule.GetSslCertificateBindings ( )
inlinestatic

Fetches the current SSL certificate configuration.

static void UnifiedAutomation.UaBase.HttpAccessRule.SetAccessRules ( string  url,
IList< HttpAccessRule rules,
bool  replaceExisting 
)
inlinestatic

Sets the application access rules for the specified URL.

static void UnifiedAutomation.UaBase.HttpAccessRule.SetAccessRules ( Uri  url,
IList< AccessRule accessRules,
bool  replaceExisting 
)
inlinestatic

Sets the application access rules for the specified URL (replaces the hostname with a wildcard).

static void UnifiedAutomation.UaBase.HttpAccessRule.SetSslCertificateBinding ( SslCertificateBinding  binding)
inlinestatic

Creates a new SSL certificate binding.

Property Documentation

String UnifiedAutomation.UaBase.HttpAccessRule.IdentityName
getset

The name of the NT account principal which the access rule applies to.

AccessRight UnifiedAutomation.UaBase.HttpAccessRule.Right
getset

The access right affected by the rule.

string UnifiedAutomation.UaBase.HttpAccessRule.UrlPrefix
getset

The access right affected by the rule.


The documentation for this class was generated from the following file: