.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.

DelayPermissionDictionaryLoading static

For internal use.

PermissionsReloadMode

Specifies the mode of reloading the security permissions used by Security Adapters.

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

Specifies whether or not changes in a Detail View should be saved when the ResetPassword or ChangeMyPassword Action is executed.

SecuredNonPersistentTypes static

Obsolete. This property is now obsolete. Use the SecurityStrategy.AdditionalSecuredTypes property instead.

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
CreateSelectDataSecurity()
CreateSelectDataSecurity(IObjectSpace)
GetBusinessClasses()

Returns a list of persistent types that are used within the current security strategy.

GetSecuredTypes() static

Returns a list of business classes that can be secured.

IsGranted(IList<IPermissionRequest>)

Checks whether the specified operations are allowed.

IsGranted(IPermissionRequest)

Checks whether the specified operation is 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.

Events

Name Description
CustomizeRequestProcessors

Occurs after Permission Request Processors are registered.

See Also