1.

Define Declarative And Imperative Security.

Answer»

Security checks can be applied imperatively or declaratively. Declarative security is applied by associating ATTRIBUTE declarations that specify a security action with classes or METHODS. IMPERATIVE security is applied by calling the appropriate methods of a Permission object that represents the Principal (for role-based security) or system resource (for code access security).

Security checks can be applied imperatively or declaratively. Declarative security is applied by associating attribute declarations that specify a security action with classes or methods. Imperative security is applied by calling the appropriate methods of a Permission object that represents the Principal (for role-based security) or system resource (for code access security).



Discussion

No Comment Found