edu.nyu.cs.pdsg.trust
Interface AuthorizationMonitor

All Known Implementing Classes:
DrbacAuthorizationMonitor, DrbacRoleAuthorizationMonitor, SimpleAuthorizationMonitorImpl

public interface AuthorizationMonitor

Interface for trust-management system-specific implementation of a class that must monitor and alert


Method Summary
 void addCallback(AuthorizationMonitorCallback amc)
          Add a callback that will be informed of changes to the credentialed trust status
 void init()
          System-specific initialization
 boolean isAuthorized()
          Gets the current state of authorization
 void removeCallback(AuthorizationMonitorCallback amc)
          Remove a callback
 void updateCredentials(Credentials creds)
          Allows the auhorized party to provide a new set of credentials.
 

Method Detail

isAuthorized

public boolean isAuthorized()
Gets the current state of authorization


updateCredentials

public void updateCredentials(Credentials creds)
                       throws AuthorizationException
Allows the auhorized party to provide a new set of credentials. The AuthorizationMonitor should check the new credentials, see that they are valid, and seamlessly change its focus to the new credentials.

Throws:
AuthorizationException

addCallback

public void addCallback(AuthorizationMonitorCallback amc)
Add a callback that will be informed of changes to the credentialed trust status


removeCallback

public void removeCallback(AuthorizationMonitorCallback amc)
Remove a callback


init

public void init()
System-specific initialization



Copyright (c) 2002-2003 New York University RLAB