|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GrDPStorage
Defines the internal interface to information storage in the delegation service.
It is assumed that two different storage areas exist:
The exposed operations match the ones that exist in a normal relational database: insert / update / delete / find.
Method Summary | |
---|---|
void |
deleteGrDPStorageCacheElement(java.lang.String delegationID,
java.lang.String DN)
Deletes an existing delegation request. |
void |
deleteGrDPStorageElement(java.lang.String delegationID,
java.lang.String DN)
Deletes an existing delegated proxy. |
GrDPStorageCacheElement |
findGrDPStorageCacheElement(java.lang.String delegationID,
java.lang.String DN)
Retrieves an existing delegation request from the storage cache area. |
GrDPStorageElement |
findGrDPStorageElement(java.lang.String delegationID,
java.lang.String DN)
Retrieves an existing delegated proxy from the storage area. |
void |
insertGrDPStorageCacheElement(GrDPStorageCacheElement elem)
Insert new delegation request into storage cache area. |
void |
insertGrDPStorageElement(GrDPStorageElement elem)
Insert new delegated proxy into storage area. |
void |
updateGrDPStorageCacheElement(GrDPStorageCacheElement elem)
Updates existing delegation request in storage cache area. |
void |
updateGrDPStorageElement(GrDPStorageElement elem)
Updates existing delegated proxy information in storage area. |
Method Detail |
---|
void insertGrDPStorageCacheElement(GrDPStorageCacheElement elem) throws GrDPStorageException
elem
- Object containing the information about the delegation request.
GrDPStorageException
- Failed to store new delegation request in storage cache area.void updateGrDPStorageCacheElement(GrDPStorageCacheElement elem) throws GrDPStorageException
elem
- Object containing the information about the delegation request.
GrDPStorageException
- Failed to storage new delegation request in storage cache area.GrDPStorageCacheElement findGrDPStorageCacheElement(java.lang.String delegationID, java.lang.String DN) throws GrDPStorageException
delegationID
- The id of the delegation request to be returned.DN
- The dn of the user owning the delegation request.
GrDPStorageException
- Could not retrieve a delegation request because either it does not
exist or an error occured while tried to access it.void deleteGrDPStorageCacheElement(java.lang.String delegationID, java.lang.String DN) throws GrDPStorageException
delegationID
- The id of the delegation request to be deleted.DN
- The dn of the owner of the delegation request.
GrDPStorageException
- Failed to delete the delegation request as either it does not exist
or could not be accessed.void insertGrDPStorageElement(GrDPStorageElement elem) throws GrDPStorageException
elem
- Object containing the information about the delegation proxy.
GrDPStorageException
- Failed to storage new delegation proxy in storage area.void updateGrDPStorageElement(GrDPStorageElement elem) throws GrDPStorageException
elem
- Object containing the information about the delegated proxy.
GrDPStorageException
- Failed to store new delegated proxy in storage area.GrDPStorageElement findGrDPStorageElement(java.lang.String delegationID, java.lang.String DN) throws GrDPStorageException
delegationID
- The id of the delegated proxy to be returned.DN
- The dn of the user owning the delegated proxy.
GrDPStorageException
- Could not retrieve a delegated proxy because either it does not
exist or an error occured while tried to access it.void deleteGrDPStorageElement(java.lang.String delegationID, java.lang.String DN) throws GrDPStorageException
delegationID
- The id of the delegated proxy to be deleted.DN
- The dn of the owner of the delegated proxy.
GrDPStorageException
- Failed to delete the delegated proxy as either it does not exist
or could not be accessed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |