com.goonit.imapi.jaxrs.servlet.isim
Class profileLocator
java.lang.Object
com.goonit.imapi.jaxrs.servlet.isim.profileLocator
public class profileLocator
- extends java.lang.Object
profileLocator
is a RESTFul service which returns objectProfiles by Category e.g. person, account, etc.
This class has a Path
annotation with the value "/profileLocator/{profileType}" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/<servlet path>/profileLocator/{profileType}
Only the GET method is implemented.
Method Summary |
java.lang.String |
GET(javax.servlet.http.HttpServletRequest requestObj,
javax.servlet.http.HttpServletResponse responseObj,
java.lang.String category)
Processes a GET request (READ) and returns a JSON object with the Account Details. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
profileLocator
public profileLocator()
GET
public java.lang.String GET(@Context
javax.servlet.http.HttpServletRequest requestObj,
@Context
javax.servlet.http.HttpServletResponse responseObj,
java.lang.String category)
throws java.rmi.RemoteException,
com.ibm.itim.apps.ApplicationException
- Processes a GET request (READ) and returns a JSON object with the Account Details.
e.g. http://192.168.1.94/goonit/goonapi/profileLocator/account
- Parameters:
return
- [
{
"dn":{"rawDn":"erobjectprofilename=posixhpuxaccount,ou=serviceprofile,ou=itim,ou=goonit,dc=com2"},
"name":"PosixHpuxAccount",
"attributeMap":{"owner":"owner","erlastrecertificationactiondate":"erlastrecertificationactiondate","erpasswordlastchangedby":"erpasswordlastchangedby","eraccountownershiptype":"eraccountownershiptype","eraccessrecertificationlastactiondate":"eraccessrecertificationlastactiondate","ercreatedate":"ercreatedate","erpswdlastchanged":"erpswdlastchanged","eraccessrecertificationlastaction":"eraccessrecertificationlastaction","erlaststatuschangedate":"erlaststatuschangedate","ercvcatalog":"ercvcatalog","erhistoricalpassword":"erhistoricalpassword","erobjecttype":"erobjecttype","erlastaccessdate":"erlastaccessdate","eruri":"eruri","erlastrecertificationaction":"erlastrecertificationaction","eruid":"eruid","ersponsor":"ersponsor","eraccountcompliance":"eraccountcompliance","erpassword":"erpassword","eraccountstatus":"eraccountstatus","eraccesslastcertifieddate":"eraccesslastcertifieddate","erlastoperation":"erlastoperation","erlastcertifieddate":"erlastcertifieddate","erservice":"erservice"},
"operationMap":{},
"tenantDN":{"rawDn":"ou=goonit,dc=com2"},
"complianceRule":{"originalList":[],"removeTable":{},"valueTable":{},"addTable":{},"isBinaryAttribute":true},
"attributes":{"attributeValueMap":{"errdnattr":{"name":"errdnattr","values":["eruid"]},
"erobjectprofilename":{"name":"erobjectprofilename","values":["PosixHpuxAccount"]},
"objectclass":{"name":"objectclass","values":["top","erObjectProfile","erManagedItem"]},
"ercustomclass":{"name":"ercustomclass","values":["erPosixHpuxAccount"]},
"ercategory":{"name":"ercategory","values":["Account"]},
"erattrmap":{"name":"erattrmap","values":["erUid=erUid","owner=owner","erAccountStatus=erAccountStatus","erAccountCompliance=erAccountCompliance","erPassword=erPassword","erHistoricalPassword=erHistoricalPassword","erService=erService","erLastAccessDate=erLastAccessDate","erPswdLastChanged=erPswdLastChanged","erPasswordLastChangedBy=erPasswordLastChangedBy","erCreateDate=erCreateDate","erLastStatusChangeDate=erLastStatusChangeDate","erLastOperation=erLastOperation","erLastCertifiedDate=erLastCertifiedDate","erLastRecertificationAction=erLastRecertificationAction","erLastRecertificationActionDate=erLastRecertificationActionDate","erAccessLastCertifiedDate=erAccessLastCertifiedDate","erAccessRecertificationLastAction=erAccessRecertificationLastAction","erAccessRecertificationLastActionDate=erAccessRecertificationLastActionDate","erObjectType=erObjectType","erSponsor=erSponsor","erAccountOwnershipType=erAccountOwnershipType","erURI=erURI","erCVCatalog=erCVCatalog"]}}}},
....
- Throws:
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException