gov.lanl.SSLTools
Class CertOnlyPolicy

java.lang.Object
  |
  +--gov.lanl.SSLTools.AbsPolicy
        |
        +--gov.lanl.SSLTools.CertOnlyPolicy

public class CertOnlyPolicy
extends AbsPolicy

Provides a simple policy implementation

 

Constructor Summary
CertOnlyPolicy()
           
 
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

CertOnlyPolicy

public CertOnlyPolicy()
Method Detail

checkPolicy

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

Overrides:
checkPolicy in class AbsPolicy
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.

Overrides:
get_moniker in class AbsPolicy
Returns:
a moniker or an empty one