org.codehaus.spice.xmlpolicy.metadata
Class PermissionMetaData

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

public class PermissionMetaData
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
PermissionMetaData(String classname, String target, String action, String signedBy, String keyStore)
          Construct the permission meta data.
 
Method Summary
 String getAction()
          Return the action of permission (may be null).
 String getClassname()
          Return the name of permission class.
 String getKeyStore()
          Return the key store to load signer from.
 String getSignedBy()
          Return the principle name who signed the permission.
 String getTarget()
          Return the action of permission (may be null).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionMetaData

public PermissionMetaData(String classname,
                          String target,
                          String action,
                          String signedBy,
                          String keyStore)
Construct the permission meta data.

Parameters:
classname - the name of permission class
target - the target of permission (may be null)
action - the action of permission (may be null)
Method Detail

getClassname

public String getClassname()
Return the name of permission class.

Returns:
the name of permission class.

getTarget

public String getTarget()
Return the action of permission (may be null).

Returns:
the action of permission (may be null).

getAction

public String getAction()
Return the action of permission (may be null).

Returns:
the action of permission (may be null)

getSignedBy

public String getSignedBy()
Return the principle name who signed the permission.

Returns:
the the principle name who signed the permission.

getKeyStore

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

Returns:
the key store to load signer from.


Copyright © 2002-2003 Codehaus. All Rights Reserved.