class CPolicyServer::TPolicyElement |
Class specifying a security check and the action to take
If iAction is >=0 it must be a member of TFailureAction If iAction is <0 it is assumed to specify a custom action specific to the derived implementation. In this case, CustomFailureActionL must be implemented by the derived class.
Public Attributes | |
---|---|
TInt | iAction |
TStaticSecurityPolicy | iPolicy |
TInt | iAction |
Action to take on failure. Either a value from TFailureAction or a negative value which has meaning to the CustomFailureActionL() method of a derived class.
TStaticSecurityPolicy | iPolicy |
Security policy to check against the client which sent a message.
This class can specify a security policy consisting of either:
A check for between 0 and 7 capabilities
A check for a given Secure ID along with 0-3 capabilities
A check for a given Vendor ID along with 0-3 capabilities
This member should only be initialised by one of the following macros:
_INIT_SECURITY_POLICY_PASS
_INIT_SECURITY_POLICY_FAIL
_INIT_SECURITY_POLICY_C1
_INIT_SECURITY_POLICY_C2
_INIT_SECURITY_POLICY_C3
_INIT_SECURITY_POLICY_C4
_INIT_SECURITY_POLICY_C5
_INIT_SECURITY_POLICY_C6
_INIT_SECURITY_POLICY_C7
_INIT_SECURITY_POLICY_S0
_INIT_SECURITY_POLICY_S1
_INIT_SECURITY_POLICY_S2
_INIT_SECURITY_POLICY_S3
_INIT_SECURITY_POLICY_V0
_INIT_SECURITY_POLICY_V1
_INIT_SECURITY_POLICY_V2
_INIT_SECURITY_POLICY_V3