Click or drag to resize

SealSecurity Class

SealSecurity defines all the repository security
Inheritance Hierarchy
SystemObject
  Seal.ModelRootEditor
    Seal.ModelSealSecurity

Namespace: Seal.Model
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.0.0+c1250b26c169a4ba4d702dc7579506e87ba2cd3a
Syntax
C#
public class SealSecurity : RootEditor

The SealSecurity type exposes the following members.

Constructors
 NameDescription
Public methodSealSecurityInitializes a new instance of the SealSecurity class
Top
Properties
 NameDescription
Public propertyStatic memberAuthenticatedLoggedUserCount Number of authenticated logged users
Public propertyChangePasswordScript If the Change Password feature is enabled and the script is not empty, the script is executed when a user changes his password (otherwise the default implementation is used).
Public propertyCurrentParameters Parameter values used in the script
Public propertyEnableChangePassword If true, the Change Password feature is enabled for users having a login defined in the security file.
Public propertyEnableResetPassword If true, the Reset Password feature is enabled: a link to reset the password is displayed in the login page. The reset link is sent by email, so a notification email device must be configured.
Public propertyEnableTwoFA If true, the Two-Factor Authentication is enabled: after the login, a security code is sent to the user (by default by email using the notification email device) and checked in the login page.
Public propertyError Last error message
Public propertyGroups The groups defines how are published folders and reports in the Web Report Server. At least one group must exist.
Public propertyHelperSimulateLogin Editor Helper: Test a login using the test user name and password or the current windows user
Public propertyLogins The groups defines how are published folders and reports in the Web Report Server. At least one group must exist.
Public propertyParameters List of SecurityParameter used by the provider
Public propertyProvider Current SecurityProvider
Public propertyProviderName The security provider used for the authentication
Public propertyProviders List of SecurityProviders available in the repository
Public propertyProviderScript The script executed to login and find the security group used to published reports
Public propertyResetPasswordActive True if the Reset Password feature is enabled
Public propertyResetPasswordScript If the Reset Password feature is enabled and the script is not empty, the script is executed when a user requests a password reset (otherwise the default implementation is used: a reset link is sent by email using the notification email device).
Public propertyResetPasswordScript2 If the Reset Password feature is enabled and the script is not empty, the script is executed to perform the password reset (otherwise the default implementation is used).
Public propertyResetPasswordScript2Effective Script executed to perform the password reset: the custom script if defined, otherwise the default implementation
Public propertyResetPasswordScriptEffective Script executed when a user requests a password reset: the custom script if defined, otherwise the default implementation
Public propertyScript The script executed to login and find the security group used to published reports. If the script is empty, the publication is done using the first security group defined.
Public propertyTestCurrentWindowsUser Editor Helper: If true, the current user will be use as IPrincipal to test the Integrated Windows authentication
Public propertyTestPassword Editor Helper: Password to test a login
Public propertyTestUserName Editor Helper: User name to test a login
Public propertyTwoFAActive True if the Two-Factor Authentication is enabled
Public propertyTwoFACheckScript If the Two-Factor Authentication is enabled and the script is not empty, the script is executed to check the security code and validate the Two-Factor Authentication (otherwise the default implementation is used).
Public propertyTwoFACheckScriptEffective Script executed to check the security code: the custom script if defined, otherwise the default implementation
Public propertyTwoFAGenerationScript If the Two-Factor Authentication is enabled and the script is not empty, the script is executed to generate and send the security code (otherwise the default implementation is used: the code is sent by email using the notification email device).
Public propertyTwoFAGenerationScriptEffective Script executed to generate and send the security code: the custom script if defined, otherwise the default implementation
Public propertyUseCustomScript If true, a custom script can be used for the authentication process
Top
Methods
 NameDescription
Public methodStatic memberAddLoggedUsed Add a logged user
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFindRepositorySecurityFolder Returns the SecurityRepositoryFolder applying to a given repository-relative path (normalized, leading separator, no Repository prefix), merging the rights of all matching groups. Folders pointing at or inside the 'Reports' tree are ignored (conflict with the Report Folders configuration). Returns null when no group grants a right.
Public methodFindSecurityFolder Returns a SecurityFolder from a given name
Public methodGetBoolValue Parameter boolean value of a given name
Public methodGetDoubleValue Returns a parameter double value
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNumericValue Parameter numeric value of a given name
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetValue Parameter value of a given name
Public methodHasValue True if a parameter with a given name has a value
Public methodInit Init the editor objects
(Inherited from RootEditor)
Public methodInitDefaultValues Init the default values
(Inherited from RootEditor)
Public methodInitEditor Init the editor objects and the default values
(Inherited from RootEditor)
Public methodInitSecurity Init security defaults and integrities
Public methodStatic memberLoadFromFile Load a SealSecurity from a file
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberRemoveLoggedUsed Remove a logged user
Public methodSaveToFile Save to the current file
Public methodSaveToFile(String) Save to a destination file path
Public methodSetReadOnly Set all properties to readonly
(Inherited from RootEditor)
Public methodShouldSerializeLogins 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateEditor Update editor attributes
(Inherited from RootEditor)
Protected methodUpdateEditorAttributes Refresh properties attrivutes
(Inherited from RootEditor)
Top
Fields
 NameDescription
Protected field_dctd
(Inherited from RootEditor)
Public fieldStatic memberDefaultResetPasswordScript Default implementation used when ResetPasswordScript is empty: sends a reset link by email using the notification email device
Public fieldStatic memberDefaultResetPasswordScript2 Default implementation used when ResetPasswordScript2 is empty: checks the token and changes the password of the login
Public fieldStatic memberDefaultTwoFACheckScript Default implementation used when TwoFACheckScript is empty: checks the security code (5 minutes validity, 3 tries)
Public fieldStatic memberDefaultTwoFAGenerationScript Default implementation used when TwoFAGenerationScript is empty: sends the security code by email using the notification email device
Public fieldFilePath Current file path
Public fieldLastModification Last modification date time
Public fieldStatic memberLoggedUsers List of logged users
Public fieldRepository Current repository
Top
See Also