.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

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(ITypesInfo) Initializes a new instance of the SecurityStrategyComplex class with specified settings.
SecurityStrategyComplex(SecurityOptions, AuthenticationBase) Initializes a new instance of the SecurityStrategyComplex class with specified settings.
SecurityStrategyComplex(Type, Type, AuthenticationBase, ITypesInfo) 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 of additional types to be secured (for example, non-persistent object types). 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
AdapterFacade For internal use. Inherited from SecurityStrategyBase.
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.
Authentication Specifies the Authentication type used in your application. Inherited from SecurityStrategyBase.
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.
EnableSecurityForActions static For internal use. Inherited from SecurityStrategy.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
IsAuthenticated For internal use. Inherited from SecurityStrategyBase.
IsLogoffEnabled For internal use. Inherited from SecurityStrategyBase.
LogonObjectSpace For internal use. Inherited from SecurityStrategyBase.
LogonParameters For internal use. Inherited from SecurityStrategyBase.
NeedLogonParameters For internal use. Inherited from SecurityStrategyBase.
NewUserRoleName Specifies the name of role which is assigned to auto-created users.
ObjectSpaces For internal use. Inherited from SecurityStrategyBase.
PermissionsReloadMode Specifies the mode of reloading the security permissions used by Security Adapters. Inherited from SecurityStrategy.
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 Specifies whether or not changes in a Detail View should be saved when the ResetPassword or ChangeMyPassword Action is executed. 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.
TypesInfo For internal use. Inherited from SecurityStrategyBase.
UseOptimizedPermissionRequestProcessor For internal use. Inherited from SecurityStrategy.
UsePermissionRequestProcessor For internal use. Inherited from SecurityStrategy.
User Returns the current user object. Inherited from SecurityStrategyBase.
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
ClearRequestCache(IObjectSpace) Inherited from SecurityStrategy.
ClearSecuredLogonParameters() For internal use. Inherited from SecurityStrategyBase.
CreateSelectDataSecurity() Inherited from SecurityStrategy.
CreateSelectDataSecurity(IObjectSpace) Inherited from SecurityStrategy.
Dispose() Releases all resources used by the Component. Inherited from Component.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. 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.
GetModuleType() For internal use. Inherited from SecurityStrategyBase.
GetSecuredActions() Inherited from SecurityStrategy.
GetSecuredTypes(ITypesInfo) 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(IPermissionRequest, IPermissionPolicyRole) Checks whether the specified role allows a user to make an operation. Inherited from SecurityStrategy.
IsGranted(IPermissionRequest, IPermissionPolicyUser) Checks whether the specified operation is allowed for the target user. Inherited from SecurityStrategy.
IsGranted(IList<IPermissionRequest>) Checks whether the specified operations are allowed. Inherited from SecurityStrategy.
IsSecuredAction(String) Inherited from SecurityStrategy.
IsSecuredType(Type, ITypesInfo) static Checks if the specified type can be secured. Inherited from SecurityStrategy.
Logoff() Logs the current user off. Inherited from SecurityStrategy.
Logon(IObjectSpace) Authenticates a user in the application. Inherited from SecurityStrategyBase.
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
Changed For internal use. Inherited from SecurityStrategyBase.
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.
LoggingOff For internal use. Inherited from SecurityStrategyBase.
LoggingOn For internal use. Inherited from SecurityStrategyBase.
See Also