Bees v0.5.0 API

bees.core
Interface Authorizer


public interface Authorizer

Interface for applications that wish to handle authorization requests from protocols.

See Also:
AuthorizationCoroutine

Method Summary
 CapabilityTree authorize(CapabilityEnvelope requester, java.lang.String src, java.lang.String dst, byte[] auth)
          Call back used to handle an AuthorizationCoroutine.authorize event.
 void beginExtendedManagement(CapabilityEnvelope ce, TypeID sessionID)
          Call back used to handle an AuthorizationCoroutine.beginExtendedManagement event.
 void beginManagement(CapabilityEnvelope ce, TypeID sessionID)
          Call back used to handle an AuthorizationCoroutine.beginManagement event.
 void endManagement(CapabilityEnvelope ce, TypeID sessionID)
          Call back used to terminate management for the given protocol.
 

Method Detail

beginManagement

public void beginManagement(CapabilityEnvelope ce,
                            TypeID sessionID)
Call back used to handle an AuthorizationCoroutine.beginManagement event.
Parameters:
ce - An envelope containing the event channel of the requester.
sessionID - The protocol session identifier that wishes to be managed.

beginExtendedManagement

public void beginExtendedManagement(CapabilityEnvelope ce,
                                    TypeID sessionID)
Call back used to handle an AuthorizationCoroutine.beginExtendedManagement event.
Parameters:
ce - An envelope containing the event channel of the requester.
sessionID - The protocol session identifier that wishes to be managed.

endManagement

public void endManagement(CapabilityEnvelope ce,
                          TypeID sessionID)
Call back used to terminate management for the given protocol.
Parameters:
ce - An envelope containing the event channel of the requester.
sessionID - The protocol session identifier that wishes management to end.

authorize

public CapabilityTree authorize(CapabilityEnvelope requester,
                                java.lang.String src,
                                java.lang.String dst,
                                byte[] auth)
Call back used to handle an AuthorizationCoroutine.authorize event.
Parameters:
requester - The envelope containing the event channel.
src - The name of the capability, relative to the Authenticator's internal ObjectTree.
dst - The name to be placed in the CapabilityEnvelopes.
auth - Authorization data/signatures.
Returns:
An array of envelopes containing the requested capabilities.

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/