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

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

public class personAccountsPassword
extends java.lang.Object

personAccountsPassword is a JAX-RS resource which changes all the Account passwords for a given person.

This class has a Path annotation with the value "/personAccountsPassword/{personDN}" which means the resource will be available at: http://<hostname>:<port>/<context root>/<servlet path>/personAccountsPassword/{personDN} Only the POST method is implemented


Constructor Summary
personAccountsPassword()
           
 
Method Summary
 java.lang.String POST(java.lang.String json, javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String strDN)
          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

personAccountsPassword

public personAccountsPassword()
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)
                      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
?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