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

Version:
$Revision: 1.3 $ $Date: 2002/12/05 17:40:58 $
Author:
Jim George

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
Parameters:
reqPolicy - is the string representation of the policy
Throws:
PolicyException - if doesn't have the required 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


Copyright © 2000 Apache Software Foundation. All Rights Reserved.