Back to Devexpress

SecurityStrategy Members

expressappframework-devexpress-dot-expressapp-dot-security-dot-securitystrategy-dot-underscore-members.md

latest16.0 KB
Original Source

SecurityStrategy Members

An abstract base class for Security Strategies.

Constructors

NameDescription
SecurityStrategy()Initializes a new instance of the SecurityStrategy class.
SecurityStrategy(ITypesInfo)Initializes a new instance of the SecurityStrategy class with specified settings.
SecurityStrategy(Type, AuthenticationBase, ITypesInfo)Initializes a new instance of the SecurityStrategy class with specified settings.

Fields

NameDescription
AdditionalSecuredTypes staticSpecifies the list of additional types to be secured (for example, non-persistent object types).
AdministratorRoleName staticSpecifies the name of the administrator role.
TraceSwitchNameGets the name of a TraceSwitch used by SecurityStrategy.

Properties

NameDescription
AllowAnonymousAccessSpecifies if users can access all secured data anonymously before they log in.
AnonymousAllowedTypesSpecifies types that users can access anonymously before they log in.
AssociationPermissionsModeSpecifies the mode of processing security permissions for associations.
AuthenticationSpecifies the Authentication type used in your application. Inherited from SecurityStrategyBase.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ContainerGets the IContainer that contains the Component. Inherited from Component.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
IsLogoffEnabledFor internal use. Inherited from SecurityStrategyBase.
PermissionsReloadModeSpecifies the mode of reloading the security permissions.
RolesMergingModeSpecifies how the Security System determines if a user can perform a specific operation when this user has multiple roles with different permission sets.
SaveUserObjectOnPasswordChangingSpecifies whether or not changes in a Detail View should be saved when the ResetPassword or ChangeMyPassword Action is executed.
SiteGets or sets the ISite of the Component. Inherited from Component.
SupportNavigationPermissionsForTypesSpecifies whether or not the navigation permissions are supported for types.
TraceLevel staticSpecifies the trace level for logs.
TypesInfoFor internal use. Inherited from SecurityStrategyBase.
UserReturns the current user object. Inherited from SecurityStrategyBase.
UserIdAn identifier of the current user.
UserNameGets the current user name.
UserTypeSpecifies the type of user that is supported by the security strategy.

Methods

NameDescription
ClearRequestCache(IObjectSpace)
ClearSecuredLogonParameters()For internal use. Inherited from SecurityStrategyBase.
CreateSelectDataSecurity()
CreateSelectDataSecurity(IObjectSpace)
Dispose()Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) staticDetermines 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.
GetModuleType()For internal use. Inherited from SecurityStrategyBase.
GetSecuredActions()
GetSecuredTypes(ITypesInfo) staticReturns a list of business classes that can be secured.
GetService(Type) protectedReturns 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.
IsSecuredAction(String)
IsSecuredType(Type, ITypesInfo) staticChecks if the specified type can be secured.
Logoff()Logs the current user off.
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.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
CustomizeRequestProcessorsOccurs after Permission Request Processors are registered.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
LoggingOffFor internal use. Inherited from SecurityStrategyBase.
LoggingOnFor internal use. Inherited from SecurityStrategyBase.

See Also

SecurityStrategy Class

DevExpress.ExpressApp.Security Namespace