|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DOOperationContext
Objects implementing DOOperationContext provide access to the "system" so that operators can perform their jobs.
Method Summary | |
---|---|
boolean |
authenticateCaller()
Requests verification of the callers identity. |
boolean |
authenticateCredential(java.lang.String credentialID)
Verify that this client has been granted a credential by the identified entity. |
java.lang.String |
getCallerID()
Returns the identity of the caller. |
java.lang.Object |
getConnectionMapping(java.lang.Object mappingKey)
Returns the object from the connection-level information table that had previously been used as the mappingData parameter for a call to setConnectionMapping with the given mappingKey on the same connection. |
java.lang.String[] |
getCredentialIDs()
Returns a list of unverified IDs that the client claims as credentials. |
HeaderSet |
getOperationHeaders()
Returns the set of headers that were included with the operation request |
java.lang.String |
getOperationID()
Returns the operation that the caller attempted to invoke. |
java.lang.String |
getServerID()
Returns the identity of this repository service |
StorageProxy |
getStorage()
Returns on object that allows operators to access the storage system for the current object. |
java.lang.String |
getTargetObjectID()
Returns the object on which the caller is invoke the operation. |
void |
performOperation(java.lang.String serverID,
java.lang.String objectID,
java.lang.String operationID,
HeaderSet params,
java.io.InputStream input,
java.io.OutputStream output)
Performs the specified operation with the identity of the caller, or as the container repository if the forwarding operations are configured to use the repository's own identity for forwarded operations. |
void |
setConnectionMapping(java.lang.Object mappingKey,
java.lang.Object mappingData)
Inserts an object into the connection-level information table. |
Method Detail |
---|
boolean authenticateCaller()
java.lang.String[] getCredentialIDs()
boolean authenticateCredential(java.lang.String credentialID)
java.lang.String getCallerID()
java.lang.String getOperationID()
java.lang.String getTargetObjectID()
java.lang.String getServerID()
HeaderSet getOperationHeaders()
StorageProxy getStorage()
void setConnectionMapping(java.lang.Object mappingKey, java.lang.Object mappingData)
java.lang.Object getConnectionMapping(java.lang.Object mappingKey)
void performOperation(java.lang.String serverID, java.lang.String objectID, java.lang.String operationID, HeaderSet params, java.io.InputStream input, java.io.OutputStream output) throws DOException
DOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |