SecurityStrategy Members
An abstract base class for Security Strategies.Constructors
Name | Description |
---|---|
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
Name | Description |
---|---|
AdditionalSecuredTypes static | Specifies the list of additional types to be secured (for example, non-persistent object types). |
AdministratorRoleName static | Specifies the name of the administrator role. |
TraceSwitchName | Gets the name of a TraceSwitch used by 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. |
AnonymousAllowedTypes | Specifies types that users can access anonymously before they log in. |
AssociationPermissionsMode | Specifies the mode of processing security permissions for associations. |
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. |
DesignMode protected | Gets a value that indicates whether the Component is currently in design mode. Inherited from Component. |
EnableSecurityForActions static | For internal use. |
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. |
ObjectSpaces | For internal use. Inherited from SecurityStrategyBase. |
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. |
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. |
TypesInfo | For internal use. Inherited from SecurityStrategyBase. |
UseOptimizedPermissionRequestProcessor | For internal use. |
UsePermissionRequestProcessor | For internal use. |
User | Returns the current user object. Inherited from SecurityStrategyBase. |
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 |
---|---|
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) 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. |
GetModuleType() | For internal use. Inherited from SecurityStrategyBase. |
GetSecuredActions() | |
GetSecuredTypes(ITypesInfo) 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. |
IsSecuredAction(String) | |
IsSecuredType(Type, ITypesInfo) static | Checks 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() 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. |
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. |
LoggingOff | For internal use. Inherited from SecurityStrategyBase. |
LoggingOn | For internal use. Inherited from SecurityStrategyBase. |
See Also