org.codehaus.spice.xmlpolicy.metadata
Class PolicyMetaData

java.lang.Object
  |
  +--org.codehaus.spice.xmlpolicy.metadata.PolicyMetaData

public class PolicyMetaData
extends Object

This class defines the set of KeyStores and Grants in a policy declaration.

Version:
$Revision: 1.1 $ $Date: 2003/12/02 09:16:06 $
Author:
Peter Donald

Constructor Summary
PolicyMetaData(KeyStoreMetaData[] keyStores, GrantMetaData[] grants)
          Create a policy with specific keystores and grants.
 
Method Summary
 GrantMetaData[] getGrants()
          Return the grants that make up policy.
 KeyStoreMetaData[] getKeyStores()
          Return the KeyStores associated with policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyMetaData

public PolicyMetaData(KeyStoreMetaData[] keyStores,
                      GrantMetaData[] grants)
Create a policy with specific keystores and grants.

Parameters:
keyStores - the key stores
grants - the grants
Method Detail

getKeyStores

public KeyStoreMetaData[] getKeyStores()
Return the KeyStores associated with policy.

Returns:
the KeyStores associated with policy.

getGrants

public GrantMetaData[] getGrants()
Return the grants that make up policy.

Returns:
the grants that make up policy.


Copyright © 2002-2003 Codehaus. All Rights Reserved.