edu.nyu.cs.pdsg.trust.impl
Class AllAuthorizerImpl

java.lang.Object
  extended byedu.nyu.cs.pdsg.trust.impl.AllAuthorizerImpl
All Implemented Interfaces:
Authorizer

public class AllAuthorizerImpl
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 AllAuthorizerImpl localAuthorizer
           
 
Constructor Summary
private AllAuthorizerImpl()
          Private constructor for singleton instance.
 
Method Summary
 AuthorizationMonitor authorize(Credentials creds, java.security.PublicKey identity)
           
static AllAuthorizerImpl instance()
          Create and return singleton instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localAuthorizer

private static AllAuthorizerImpl localAuthorizer
Constructor Detail

AllAuthorizerImpl

private AllAuthorizerImpl()
Private constructor for singleton instance.

Method Detail

instance

public static AllAuthorizerImpl instance()
Create and return singleton instance


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 AllAuthorizationMonitorImpl


Copyright (c) 2002-2003 New York University RLAB