edu.nyu.cs.pdsg.trust.timed
Class TimedAuthorizer

java.lang.Object
  extended byedu.nyu.cs.pdsg.trust.timed.TimedAuthorizer
All Implemented Interfaces:
Authorizer

public class TimedAuthorizer
extends java.lang.Object
implements Authorizer

A stand-in class to provide an Authorizer implementation while developing other classes that require an Authorizer implementation.


Field Summary
private static TimedAuthorizer localAuthorizer
           
(package private)  int millisecondsAuthorized
           
 
Constructor Summary
TimedAuthorizer(int _millisecondsAuthorized)
           
 
Method Summary
 AuthorizationMonitor authorize(Credentials creds, java.security.PublicKey identity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localAuthorizer

private static TimedAuthorizer localAuthorizer

millisecondsAuthorized

int millisecondsAuthorized
Constructor Detail

TimedAuthorizer

public TimedAuthorizer(int _millisecondsAuthorized)
Method Detail

authorize

public AuthorizationMonitor authorize(Credentials creds,
                                      java.security.PublicKey identity)
Specified by:
authorize in interface Authorizer
Parameters:
identity - identity for authentication.
creds - credentials for authorization.
Returns:
an implementation of AuthorizationMonitor called TimedAuthorizationMonitor


Copyright (c) 2002-2003 New York University RLAB