com.goonit.imapi.jaxrs.servlet.isim
Class roleMembersRemove
java.lang.Object
com.goonit.imapi.jaxrs.servlet.isim.roleMembersRemove
public class roleMembersRemove
- extends java.lang.Object
roleMembersRemove
is a RESTFul service which adds Person's into Roles
This class has a Path
annotation with the value "/roleMembersRemove/{roleDN}" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/<servlet path>/roleMembersRemove/{roleDN}
Only the POST Operation is supported and a JSON Array of person DNs must be sent.
Method Summary |
java.lang.String |
POST(java.lang.String json,
java.lang.String dnStr,
javax.servlet.http.HttpServletRequest requestObj,
javax.servlet.http.HttpServletResponse responseObj)
Processes a POST request to remove Persons from a Role and returns the ISIM request id. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roleMembersRemove
public roleMembersRemove()
POST
public java.lang.String POST(java.lang.String json,
java.lang.String dnStr,
@Context
javax.servlet.http.HttpServletRequest requestObj,
@Context
javax.servlet.http.HttpServletResponse responseObj)
throws java.rmi.RemoteException,
com.ibm.itim.apps.ApplicationException
- Processes a POST request to remove Persons from a Role and returns the ISIM request id.
- Parameters:
messageBody
- - must contain a JSON Array of Role DNs and optional Role Assignment keys
[
{"dn":"erglobalid=5499064908328644351,ou=0,ou=people,erglobalid=00000000000000000000,ou=goonit,dc=com2"},
{"dn":"erglobalid=6233572339328600121,ou=0,ou=people,erglobalid=00000000000000000000,ou=goonit,dc=com2"}
]
- Returns:
- a JSON Array of ISIM Request Ids
- Throws:
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException