An abstract base class for Security System authentication types.
public abstract class AuthenticationBase : Component
Public MustInherit Class AuthenticationBase Inherits Component
Built-in authentication types that inherit this class are AuthenticationActiveDirectory and AuthenticationStandard, To implement a custom authentication, override the following virtual methods and properties:
Called when authentication is required. Authenticates a user trying to find the corresponding object by comparing logon parameter values with the information stored in the database. Returns the object if it is found.
The logon parameters specified in the Logon Window can be accessed via the SecuritySystem's LogonParameters property. You can clear the logon parameters so they are not accessible in the application. For instance, a password can be hidden. For this purpose, clear these logon parameters in the ClearSecuredLogonParameters method.
Returns a list of business classes to be added to the Application Model. For instance, if you do not return the LogonParameters class, its Detail View will not be displayed in the Logon Window.
Returns true if a Logon Window should be displayed to get a user's logon parameters. If you can get these parameters from another location, as in Active Directory authentication, return false.
Returns an object representing current logon parameters.
Indicates whether to enable the Logoff Action.
Recreates the Logon Parameters object when a user logs off.
A complete example is available in the How to: Use Custom Logon Parameters and Authentication topic.