MacroSecurityProcessor MembersKentico 8.1 API Reference
The MacroSecurityProcessor type exposes the following members.
Methods

  NameDescription
Public methodStatic memberAddMacroSecurityParams(String, String)
Adds |(hash) and |(user) security parameters to given expression.
Public methodStatic memberAddMacroSecurityParams(String, String, String, Boolean)
Adds |(hash) and |(user) security parameters to given expression.
Public methodStatic memberAddSecurityParameters
Adds security parameters to every macro.
Public methodStatic memberCheckMacroIntegrity
Checks the integrity against given user.
Public methodStatic memberCheckSecurity
Checks the security of the accessed object.
Public methodStatic memberIsSimpleMacro
Returns true if the macro is simple and does not need signing.
Public methodStatic memberRefreshSecurityParameters(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).
Public methodStatic memberRefreshSecurityParameters(DataSet, String, 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).
Public methodStatic memberRefreshSecurityParameters(String, String, String, Boolean)
Recreates all the macros signatures according to new specified salt. Keeps the owners of the macros untouched (verifies the integrity against old salt).
Public methodStatic memberRefreshSecurityParameters(BaseInfo, String, Boolean, String)
Loops through all text columns of given info and signs ALL macros (even already signed) with specififed user.
Public methodStatic memberRefreshSecurityParameters(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).
Public methodStatic memberRemoveMacroSecurityParams(String, String )
Removes |(hash) and |(user) security parameters from given expression.
Public methodStatic memberRemoveMacroSecurityParams(String, String , String )
Removes |(hash) and |(user) security parameters from given expression.
Public methodStatic memberRemoveSecurityParameters(String, Boolean, Hashtable)
Removes security parameters from all macros.
Public methodStatic memberRemoveSecurityParameters(String, Boolean, Hashtable, Boolean)
Removes security parameters from all macros.
Back to Top
Fields

  NameDescription
Public fieldStatic memberRegExpComplexMacro
Defines a regular expression that detects a complex macro (in case it is matched)
Back to Top
Events

  NameDescription
Public eventStatic memberOnCheckObjectPermissions
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.
Back to Top
See Also