com.goonit.imapi.jaxrs.servlet.isim
Class accountRestoreNopass
java.lang.Object
com.goonit.imapi.jaxrs.servlet.isim.accountRestoreNopass
public class accountRestoreNopass
- extends java.lang.Object
accountRestoreNopass
is a RESTful service which restores Accounts without a supplied password.
This class has a Path
annotation with the value "/accountRestoreNopass/" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/<servlet path>/accountRestoreNopass/
Only POST Operation is supported: -
POST should contain a JSON array of the accounts to be restored
[
{"dn":"erglobalid=5503788781337089647,ou=0,ou=accounts,erglobalid=00000000000000000000,ou=goonit,dc=com2"},
{"dn":"erglobalid=5509508293822099211,ou=0,ou=accounts,erglobalid=00000000000000000000,ou=goonit,dc=com2"}
]
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
accountRestoreNopass is a RESTful service which restores a number of accounts. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
accountRestoreNopass
public accountRestoreNopass()
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)
throws java.rmi.RemoteException,
com.ibm.itim.apps.ApplicationException
- Processes a POST request
accountRestoreNopass
is a RESTful service which restores a number of accounts.
This class has a Path
annotation with the value "/accountRestoreNopass/" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/<servlet path>/accountRestoreNopass/
Only POST Operation is supported: -
POST should contain a JSON array of the accounts to be restored
- Parameters:
date
- - the scheduled date to process the request (null = now)messageBody
- - contain a JSON array of account dn's and passwords.
[
{"dn":"erglobalid=5503788781337089647,ou=0,ou=accounts,erglobalid=00000000000000000000,ou=goonit,dc=com2"},
{"dn":"erglobalid=5509508293822099211,ou=0,ou=accounts,erglobalid=00000000000000000000,ou=goonit,dc=com2"}
]
- Throws:
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException