gov.lanl.SSLTools
Class AbsPolicy

java.lang.Object
  |
  +--gov.lanl.SSLTools.AbsPolicy
Direct Known Subclasses:
CertOnlyPolicy

public abstract class AbsPolicy
extends java.lang.Object

Defines a simple policy implementation

 

Constructor Summary
AbsPolicy()
           
 
Method Summary
 void checkPolicy(java.lang.String reqPolicy)
          Check to see if the requesting client has the required policy.
 byte[] get_moniker()
          return a moniker for this client connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsPolicy

public AbsPolicy()
Method Detail

checkPolicy

public void checkPolicy(java.lang.String reqPolicy)
                 throws PolicyException
Check to see if the requesting client has the required policy.

Throws:
PolicyException - if doesn't have the required policy
Parameters:
reqPolicy - is the string representation of the policy

get_moniker

public byte[] get_moniker()
return a moniker for this client connection.

Returns:
a moniker or an empty one