MacroSecurityProcessor Class |
Namespace: CMS.MacroEngine
public static class MacroSecurityProcessor
The MacroSecurityProcessor type exposes the following members.
Name | Description | |
---|---|---|
RegExpComplexMacro |
Defines a regular expression that detects a complex macro (in case it is matched)
|
Name | Description | |
---|---|---|
AddMacroSecurityParams |
Adds |(hash) and |(user) security parameters to given expression.
| |
AddSecurityParameters |
Adds security parameters to every macro.
| |
CheckMacroIntegrity |
Checks the integrity against given user.
| |
CheckSecurity |
Checks the security of the accessed object.
| |
IsSimpleMacro |
Returns true if the macro is simple and does not need signing.
| |
RefreshSecurityParameters(DataSet, String) |
Recreates all the macros signatures according to new specified salt in all string columns of each row of the given DataSet (modifies the DataSet).
Keeps the owners of the macros untouched (verifies the integrity against old salt).
| |
RefreshSecurityParameters(DataSet, String, String) | Obsolete.
Recreates all the macros signatures according to new specified salt in all string columns of each row of the given DataSet (modifies the DataSet).
Keeps the owners of the macros untouched (verifies the integrity against old salt).
| |
RefreshSecurityParameters(BaseInfo, String, Boolean, String) |
Loops through all text columns of given info and signs ALL macros (even already signed) with specififed user.
| |
RefreshSecurityParameters(BaseInfo, String, String, Boolean) |
Loops through all text columns of given info and recreates all the macros signatures according to new specified salt.
Keeps the owners of the macros untouched (verifies the integrity against old salt).
| |
RemoveMacroSecurityParams(String, String) |
Removes |(hash) and |(user) security parameters from given expression.
| |
RemoveMacroSecurityParams(String, String, String) |
Removes |(hash) and |(user) security parameters from given expression.
| |
RemoveSecurityParameters(String, Boolean, Hashtable) |
Removes security parameters from all macros.
| |
RemoveSecurityParameters(String, Boolean, Hashtable, Boolean) |
Removes security parameters from all macros.
|
Name | Description | |
---|---|---|
OnCheckObjectPermissions |
Event which is called whenever the security check on object is requested. It's called after the standard check is processed and the result can be overriden with this handler.
|