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

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

public class personAccountsRestore
extends java.lang.Object

personAccountsRestore is a JAX-RS resource which restores the accounts and changes the passwords for a given person.

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


Constructor Summary
personAccountsRestore()
           
 
Method Summary
 java.lang.String POST(java.lang.String json, javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String strDN, java.lang.String date)
          Processes a POST request and returns the stored message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

personAccountsRestore

public personAccountsRestore()
Method Detail

POST

public java.lang.String POST(java.lang.String json,
                             @Context
                             javax.servlet.http.HttpServletRequest requestObj,
                             @Context
                             javax.servlet.http.HttpServletResponse responseObj,
                             java.lang.String strDN,
                             java.lang.String date)
                      throws java.rmi.RemoteException,
                             com.ibm.itim.apps.ApplicationException
Processes a POST request and returns the stored message.

Parameters:
personDN - the Distinguished Name of the Person's accounts to be restored
?date - Query String containing the date/time for scheduled submission (null = now)
messageBody - - a JSON object containing the new Password {"password":"dd"}
Returns:
the ISIM RequestID
Throws:
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException