Skip to main content
A newer version of this page is available. .

SecurityStrategy Members

An abstract base class for Security Strategies.

Constructors

Name Description
SecurityStrategy() Initializes a new instance of the SecurityStrategy class.
SecurityStrategy(Type, AuthenticationBase) Initializes a new instance of the SecurityStrategy class with the specified user type and authentication.

Fields

Name Description
AdditionalSecuredTypes static Specifies the list extra types that can be secured (by default, only persistent types can be secured).
AdministratorRoleName static Specifies the name of the administrator role.
TraceSwitchName Gets the name of a TraceSwitch used by SecurityStrategy.

Properties

Name Description
AllowAnonymousAccess Specifies if users can access all secured data anonymously before they log in.
AnonymousAllowedTypes Specifies types that users can access anonymously before they log in.
AssociationPermissionsMode Specifies the mode of processing security permissions for associations.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
Container Gets the IContainer that contains the Component. Inherited from Component.
DelayPermissionDictionaryLoading static For internal use.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
RolesMergingMode Specifies how the Security System determines if a user can perform a specific operation when this user has multiple roles with different permission sets.
SaveUserObjectOnPasswordChanging
SecuredNonPersistentTypes static Obsolete. This property is now obsolete. Use the SecurityStrategy.AdditionalSecuredTypes property instead.
Site Gets or sets the ISite of the Component. Inherited from Component.
SupportNavigationPermissionsForTypes Specifies whether or not the navigation permissions are supported for types.
TraceLevel static Specifies the trace level for logs.
UseOptimizedPermissionRequestProcessor For internal use.
UsePermissionRequestProcessor For internal use.
UserId An identifier of the current user.
UserName Gets the current user name.
UserType Specifies the type of user that is supported by the security strategy.

Methods

Name Description
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
CreateSelectDataSecurity()
CreateSelectDataSecurity(IObjectSpace)
Dispose() Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetBusinessClasses() Returns a list of persistent types that are used within the current security strategy.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetSecuredTypes() static Returns a list of business classes that can be secured.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
IsGranted(IPermissionRequest) Checks whether the specified operation is allowed.
IsGranted(IList<IPermissionRequest>) Checks whether the specified operations are allowed.
IsSecuredType(Type) static Checks if the specified type can be secured.
Logoff() Logs the current user off.
Logon(Object) Intended for internal use and should not be called from your code. Use another overload of this method that takes an IObjectSpace parameter instead.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

Name Description
CustomizeRequestProcessors Occurs after Permission Request Processors are registered.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
See Also