|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for applications that wish to handle authorization requests from protocols.
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 |
public void beginManagement(CapabilityEnvelope ce, TypeID sessionID)
ce
- An envelope containing the event channel of the requester.sessionID
- The protocol session identifier that wishes to be
managed.public void beginExtendedManagement(CapabilityEnvelope ce, TypeID sessionID)
ce
- An envelope containing the event channel of the requester.sessionID
- The protocol session identifier that wishes to be
managed.public void endManagement(CapabilityEnvelope ce, TypeID sessionID)
ce
- An envelope containing the event channel of the requester.sessionID
- The protocol session identifier that wishes management
to end.public CapabilityTree authorize(CapabilityEnvelope requester, java.lang.String src, java.lang.String dst, byte[] auth)
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.
|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |