com.goonit.imapi.jaxrs.servlet.isim
Class personPassword

java.lang.Object
  extended by com.goonit.imapi.jaxrs.servlet.isim.personPassword

public class personPassword
extends java.lang.Object

personRestore is a simple JAX-RS resource.

This class has a Path annotation with the value "personRestore/{dnStr}" which means the resource will be available at: http://<hostname>:<port>/<context root>/goonapi/personRestore/{dnStr}

dnStr should be the Distinguished name of the entry being restored.


Constructor Summary
personPassword()
           
 
Method Summary
 java.lang.String POST(java.lang.String obj, javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String dnStr, java.lang.String date)
          Processes a POST request and returns a JSON response containing the Request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

personPassword

public personPassword()
Method Detail

POST

public java.lang.String POST(java.lang.String obj,
                             @Context
                             javax.servlet.http.HttpServletRequest requestObj,
                             @Context
                             javax.servlet.http.HttpServletResponse responseObj,
                             java.lang.String dnStr,
                             java.lang.String date)
Processes a POST request and returns a JSON response containing the Request.

Parameters:
messageBody - JSON string containing a password
dnStr - - the DN of the person
Returns: