com.goonit.imapi.jaxrs.servlet.isim
Class roleChildrenRemove
java.lang.Object
com.goonit.imapi.jaxrs.servlet.isim.roleChildrenRemove
public class roleChildrenRemove
- extends java.lang.Object
roleChildrenRemove
is a RESTFul service which removes Child roles from their position under a parent Role
This class has a Path
annotation with the value "/roleChildrenRemove/{roleDN}" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/<servlet path>/roleChildrenRemove/{roleDN}
Only the POST Operation is supported and a JSON Array of child roles DN needs to be posted.
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 (Role remove Child Roles) request and returns the ISIM process id of the request. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roleChildrenRemove
public roleChildrenRemove()
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 (Role remove Child Roles) request and returns the ISIM process id of the request.
- Parameters:
{dnStr}
- the DN of the Parent Role.messageBody
- e.g POST https://localhost/goonapi/roleChildrenAdd/erglobalid=2900003699897423756,ou=roles,erglobalid=00000000000000000000,ou=goonit,dc=com2
["erglobalid=142302682828392779,ou=roles,erglobalid=00000000000000000000,ou=goonit,dc=com2,
"erglobalid=9154849093950620960,ou=roles,erglobalid=00000000000000000000,ou=goonit,dc=com2"
]
- Returns:
- the Request ID received from ITIM
- Throws:
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException