A system and method for defining and enforcing a security policy. Security
mechanism application specific information for each security mechanism is
encapsulated as a key and exported to a semantic layer. Keys are combined
to form key chains within the semantic layer. The key chains are in turn
encapsulated as keys and passed to another semantic layer. A security
policy is defined by forming key chains from keys and associating users
with the key chains. The security policy is translated and exported to
the security mechanisms. The security policy is then enforced via the
security mechanisms.