xsul.xpola.capman
Class CapmanMemImpl

java.lang.Object
  extended byxsul.xpola.capman.CapmanAbstractImpl
      extended byxsul.xpola.capman.CapmanMemImpl
All Implemented Interfaces:
CapabilityManager, RequestManager

public class CapmanMemImpl
extends CapmanAbstractImpl


Constructor Summary
CapmanMemImpl()
           
 
Method Summary
 java.lang.String[] getAllCapabilityHandles()
           
 java.lang.String[] getCapabilitiesByOwner(java.lang.String owner)
           
 java.lang.String getCapability(java.lang.String handle, java.lang.String userdn)
           
 java.lang.String getCapabilityByHandle(java.lang.String handle)
           
 java.lang.String[] getCapabilityHandlesByOwner(java.lang.String ownerdn)
           
 java.lang.String[] getCapabilityHandlesByUser(java.lang.String userdn)
           
 java.lang.String getRequest(java.lang.String id)
           
 java.lang.String getRequestById(java.lang.String id)
           
 java.lang.String[] getRequestsByIssuer(java.lang.String issuer)
           
 java.lang.String[] getRequestsByReceiver(java.lang.String receiver)
           
 java.lang.String processRequest(java.lang.String id)
           
 void registerCapability(java.lang.String acap)
           
 void registerRequest(java.lang.String request)
           
 void removeRequest(java.lang.String id)
           
 void removeRequestById(java.lang.String id)
           
 void removeRequestsByIssuer(java.lang.String issuer)
           
 void responseToRequest(java.lang.String response)
           
 void revokeCapabilitiesByOwner(java.lang.String owner)
           
 void revokeCapabilityByHandle(java.lang.String handle)
           
 void updateCapability(java.lang.String acap)
           
 
Methods inherited from class xsul.xpola.capman.CapmanAbstractImpl
getAllCapabilityHandles, getCapabilitiesByOwner, getCapability, getCapabilityByHandle, getCapabilityHandlesByOwner, getCapabilityHandlesByUser, getRequestById, getRequestsByIssuer, getRequestsByReceiver, registerCapability, registerRequest, removeRequestById, removeRequestsByIssuer, responseToRequest, revokeCapabilitiesByOwner, revokeCapabilityByHandle, updateCapability
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CapmanMemImpl

public CapmanMemImpl()
Method Detail

getCapability

public java.lang.String getCapability(java.lang.String handle,
                                      java.lang.String userdn)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getAllCapabilityHandles

public java.lang.String[] getAllCapabilityHandles()

getCapabilityHandlesByUser

public java.lang.String[] getCapabilityHandlesByUser(java.lang.String userdn)
Specified by:
getCapabilityHandlesByUser in interface CapabilityManager
Overrides:
getCapabilityHandlesByUser in class CapmanAbstractImpl

getCapabilityHandlesByOwner

public java.lang.String[] getCapabilityHandlesByOwner(java.lang.String ownerdn)
Specified by:
getCapabilityHandlesByOwner in interface CapabilityManager
Overrides:
getCapabilityHandlesByOwner in class CapmanAbstractImpl

registerCapability

public void registerCapability(java.lang.String acap)
Specified by:
registerCapability in interface CapabilityManager
Overrides:
registerCapability in class CapmanAbstractImpl

getCapabilityByHandle

public java.lang.String getCapabilityByHandle(java.lang.String handle)
Specified by:
getCapabilityByHandle in interface CapabilityManager
Overrides:
getCapabilityByHandle in class CapmanAbstractImpl

getCapabilitiesByOwner

public java.lang.String[] getCapabilitiesByOwner(java.lang.String owner)
                                          throws java.lang.Exception
Specified by:
getCapabilitiesByOwner in interface CapabilityManager
Overrides:
getCapabilitiesByOwner in class CapmanAbstractImpl
Throws:
java.lang.Exception

revokeCapabilitiesByOwner

public void revokeCapabilitiesByOwner(java.lang.String owner)
                               throws java.lang.Exception
Specified by:
revokeCapabilitiesByOwner in interface CapabilityManager
Overrides:
revokeCapabilitiesByOwner in class CapmanAbstractImpl
Throws:
java.lang.Exception

revokeCapabilityByHandle

public void revokeCapabilityByHandle(java.lang.String handle)
Specified by:
revokeCapabilityByHandle in interface CapabilityManager
Overrides:
revokeCapabilityByHandle in class CapmanAbstractImpl

updateCapability

public void updateCapability(java.lang.String acap)
Specified by:
updateCapability in interface CapabilityManager
Overrides:
updateCapability in class CapmanAbstractImpl

getRequest

public java.lang.String getRequest(java.lang.String id)

processRequest

public java.lang.String processRequest(java.lang.String id)

removeRequest

public void removeRequest(java.lang.String id)

registerRequest

public void registerRequest(java.lang.String request)
Specified by:
registerRequest in interface RequestManager
Overrides:
registerRequest in class CapmanAbstractImpl

removeRequestById

public void removeRequestById(java.lang.String id)
                       throws java.lang.Exception
Specified by:
removeRequestById in interface RequestManager
Overrides:
removeRequestById in class CapmanAbstractImpl
Throws:
java.lang.Exception

removeRequestsByIssuer

public void removeRequestsByIssuer(java.lang.String issuer)
                            throws java.lang.Exception
Specified by:
removeRequestsByIssuer in interface RequestManager
Overrides:
removeRequestsByIssuer in class CapmanAbstractImpl
Throws:
java.lang.Exception

getRequestsByIssuer

public java.lang.String[] getRequestsByIssuer(java.lang.String issuer)
                                       throws java.lang.Exception
Specified by:
getRequestsByIssuer in interface RequestManager
Overrides:
getRequestsByIssuer in class CapmanAbstractImpl
Throws:
java.lang.Exception

responseToRequest

public void responseToRequest(java.lang.String response)
                       throws java.lang.Exception
Specified by:
responseToRequest in interface RequestManager
Overrides:
responseToRequest in class CapmanAbstractImpl
Throws:
java.lang.Exception

getRequestsByReceiver

public java.lang.String[] getRequestsByReceiver(java.lang.String receiver)
                                         throws java.lang.Exception
Specified by:
getRequestsByReceiver in interface RequestManager
Overrides:
getRequestsByReceiver in class CapmanAbstractImpl
Throws:
java.lang.Exception

getRequestById

public java.lang.String getRequestById(java.lang.String id)
                                throws java.lang.Exception
Specified by:
getRequestById in interface RequestManager
Overrides:
getRequestById in class CapmanAbstractImpl
Throws:
java.lang.Exception


IU Extreme! Lab (http://www.extreme.indiana.edu)