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

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

public class personServicesAuthorized
extends java.lang.Object

personAuthorizedServices is a simple a JAX-RS resource that returns the details of services which a user can request accounts.

This class has a Path annotation with the value "/personAuthorizedServices/{personDN}/{profileName}/{pattern}" which means the resource will be available at: http://<hostname>:<port>/<context root>/<servlet path>/goonapi


Constructor Summary
personServicesAuthorized()
           
 
Method Summary
 java.lang.String GET(javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String strDN, java.lang.String pattern, java.lang.String profileName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

personServicesAuthorized

public personServicesAuthorized()
Method Detail

GET

public java.lang.String GET(@Context
                            javax.servlet.http.HttpServletRequest requestObj,
                            @Context
                            javax.servlet.http.HttpServletResponse responseObj,
                            java.lang.String strDN,
                            java.lang.String pattern,
                            java.lang.String profileName)
                     throws java.rmi.RemoteException,
                            com.ibm.itim.apps.ApplicationException
Parameters:
{personDN} - DN string of the person e.g. erglobalid=7137657446191039644,ou=0,ou=people,erglobalid=00000000000000000000,ou=goonit,dc=com2
{profileName} - optional profile name of the Service Profile on which to filter the query e.g. PosixLinuxProfile. Use the special string "null" to return all services.
{name} - optional Query String pattern to match within the service name (case sensitive limitiation imposed by ITIM api). Use * to match all.
Returns:
Returns a JSON Array of ISIM Service objects.
Throws:
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException