Constable Authorization Engine 2.0 BETA

AuthorizationPolicyLoader Class

[This is preliminary documentation and subject to change.]

Provides methods for saving and loading authorization policys to/from various media types.

For a list of all members of this type, see AuthorizationPolicyLoader Members.

System.Object
LaMarvin.Constable.AuthorizationPolicyLoader

[VisualBasic]
NotInheritablePublicClassAuthorizationPolicyLoader
[C#]
publicsealedclassAuthorizationPolicyLoader

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The class exposes only static (Shared in Visual Basic) methods.

Example

The following example uses the AuthorizationPolicyLoader.LoadFromFile method to load an authorization policy stored in XML file named "c:\model.xml":

[VisualBasic]
Dim policy As AuthorizationPolicy = AuthorizationPolicyLoader.LoadFromFile("c:\model.xml")

[C#]
AuthorizationPolicy policy = AuthorizationPolicyLoader.LoadFromFile(@"c:\model.xml");

Requirements

Namespace: LaMarvin.Constable

Assembly: LaMarvin.Constable (in LaMarvin.Constable.dll)

See Also

AuthorizationPolicyLoader Members | LaMarvin.Constable Namespace