com.goonit.imapi.jaxrs.servlet.isim
Class personPassword
java.lang.Object
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.
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 |
personPassword
public personPassword()
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 passworddnStr
- - the DN of the person
- Returns: