org.codehaus.spice.xmlpolicy.metadata
Class GrantMetaData

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

public class GrantMetaData
extends Object

This class defines a keystore that is used when locating signers of a codebase.

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

Constructor Summary
GrantMetaData(String codebase, String signedBy, String keyStore, PermissionMetaData[] permissions)
          Construct a grant.
 
Method Summary
 String getCodebase()
          Return the code base for grant.
 String getKeyStore()
          Return the key store to load signer from.
 PermissionMetaData[] getPermissions()
          Return the set of permissions associated with grant.
 String getSignedBy()
          Return the signer for grant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrantMetaData

public GrantMetaData(String codebase,
                     String signedBy,
                     String keyStore,
                     PermissionMetaData[] permissions)
Construct a grant.

Parameters:
codebase - the codebase grant is about
signedBy - who signed the codebase
keyStore - the name of the keystore the signer is loaded from
permissions - the set of permissions associated with grant
Method Detail

getCodebase

public String getCodebase()
Return the code base for grant.

Returns:
the code base for grant.

getSignedBy

public String getSignedBy()
Return the signer for grant.

Returns:
the signer for grant.

getKeyStore

public String getKeyStore()
Return the key store to load signer from.

Returns:
the key store to load signer from.

getPermissions

public PermissionMetaData[] getPermissions()
Return the set of permissions associated with grant.

Returns:
the set of permissions associated with grant.


Copyright © 2002-2003 Codehaus. All Rights Reserved.