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

SecurityStrategyComplex Members

A Security Strategy that maintains users who have a list of associated roles.

Constructors

Name Description
SecurityStrategyComplex() Initializes a new instance of the SecurityStrategyComplex class.
SecurityStrategyComplex(Type, Type, AuthenticationBase) Initializes a new instance of the SecurityStrategyComplex class with the specified user type, role 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). Inherited from SecurityStrategy.
AdministratorRoleName static Specifies the name of the administrator role. Inherited from SecurityStrategy.
TraceSwitchName static Gets the name of a TraceSwitch used by SecurityStrategy. Inherited from SecurityStrategy.

Properties

Name Description
AllowAnonymousAccess Specifies if users can access all secured data anonymously before they log in. Inherited from SecurityStrategy.
AnonymousAllowedTypes Specifies types that users can access anonymously before they log in. Inherited from SecurityStrategy.
AssociationPermissionsMode Specifies the mode of processing security permissions for associations. Inherited from SecurityStrategy.
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. Inherited from SecurityStrategy.
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.
NewUserRoleName Specifies the name of role which is assigned to auto-created users.
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. Inherited from SecurityStrategy.
RoleType Specifies the type of a security strategy role.
SaveUserObjectOnPasswordChanging Inherited from SecurityStrategy.
SecuredNonPersistentTypes static Obsolete. This property is now obsolete. Use the SecurityStrategy.AdditionalSecuredTypes property instead. Inherited from SecurityStrategy.
Site Gets or sets the ISite of the Component. Inherited from Component.
SupportNavigationPermissionsForTypes Specifies whether or not the navigation permissions are supported for types. Inherited from SecurityStrategy.
TraceLevel static Specifies the trace level for logs. Inherited from SecurityStrategy.
UseOptimizedPermissionRequestProcessor For internal use. Inherited from SecurityStrategy.
UsePermissionRequestProcessor For internal use. Inherited from SecurityStrategy.
UserId An identifier of the current user. Inherited from SecurityStrategy.
UserName Gets the current user name. Inherited from SecurityStrategy.
UserType Specifies the type of user that is supported by the security strategy. Inherited from SecurityStrategy.

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() Inherited from SecurityStrategy.
CreateSelectDataSecurity(IObjectSpace) Inherited from SecurityStrategy.
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. Inherited from SecurityStrategy.
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. Inherited from SecurityStrategy.
IsGranted(IList<IPermissionRequest>) Checks whether the specified operations are allowed. Inherited from SecurityStrategy.
IsSecuredType(Type) static Checks if the specified type can be secured. Inherited from SecurityStrategy.
Logoff() Logs the current user off. Inherited from SecurityStrategy.
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. Inherited from SecurityStrategy.
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
CustomInitializeNewUser Occurs when a user is automatically created.
CustomizeRequestProcessors Occurs after Permission Request Processors are registered. Inherited from SecurityStrategy.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
See Also