com.goonit.imapi.jaxrs.servlet.isim
Class objectprofile2
java.lang.Object
com.goonit.imapi.jaxrs.servlet.isim.LDAPHelper
com.goonit.imapi.jaxrs.servlet.isim.objectprofile2
Deprecated. Use /objectprofile instead
@Deprecated
public class objectprofile2
- extends com.goonit.imapi.jaxrs.servlet.isim.LDAPHelper
objectProfile2
is a RESTful service which retrieves the ISIM form template for an account profile
This class has a Path
annotation with the value "/objectProfile/{profileName}" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/<servlet path>/objectProfile2/{profileName}
e.g. http://localhost/goonit/goonapi/objectprofile/ldapaccount
Only the GET operation is implemented.
Method Summary |
java.lang.String |
GET(javax.servlet.http.HttpServletRequest requestObj,
javax.servlet.http.HttpServletResponse responseObj,
java.lang.String profilename)
Deprecated. Processes a GET request (READ) and returns a JSON object with the Account form template. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objectprofile2
public objectprofile2()
- Deprecated.
GET
public java.lang.String GET(@Context
javax.servlet.http.HttpServletRequest requestObj,
@Context
javax.servlet.http.HttpServletResponse responseObj,
java.lang.String profilename)
throws java.lang.Exception
- Deprecated.
- Processes a GET request (READ) and returns a JSON object with the Account form template.
- Parameters:
profileName
- the profile name for the account e.g
http://localhost/goonit/goonapi/objectprofile/ldapaccount
- Returns:
- {"body":
{"tabbedForm":
[{"@index":"0",
"@selected":"true",
"title":"$tag.ldap.User",
"image":[],
"url":"javascript:switchTabs(document.forms['body'],0);",
"formElement":[{"@name":"data.eruid","@label":"$eruid",
"@required":"true","input":{"@name":"data.eruid","@size":"50"},
"constraint":{"type":"REQUIRED","parameter":"true"}
},
{"@name":"data.erldapcontainername",
"@label":"$erldapcontainername",
"@isReadOnlyOnModify":"true",
"searchFilter":{"filter":"(objectclass=erLdapContainerAccount)",
"base":"contextual",
"attribute":"erLdapContainerName",
"size":[],
"prepopulate":"false"}
},
....
"displayNames": {
"erldapinitialgrpmem": "Initial group member",
"tag.ldap.address": "Address",
"erservicepassword": "Administrator password",
"erldapgroupfullname": "Group Full Name",
"erldappwdreset": "Force a password change at next logon?",
"erdsname": "Directory server name",
"erldapgrprdn": "Group RDN attribute",
"tag.ldap.group": "Group",
"erldapgrouporganizationalunit": "Group Organizational Unit",
"erldapalfilesystempath": "AL FileSystem Path",
"erldapgroupseealso": "See Also",
"erusercontainerdn": "User base DN",
"tag.ldap.business": "Business",
"erresourceurl": "Directory server location",
"erldapgrpmemattr": "Group membership attribute",
"tag.ldap.other": "Other",
"tag.ldap.user": "User",
"erldapgrouporganization": "Group Organization",
"ldapprofile": "LDAP profile",
"erldapgroupaccount": "LDAP groups",
"erldapdisablealcache": "Disable AL Caching",
"erldappagesize": "LDAP Page size",
"ldapaccount": "LDAP account",
"erldapgroupowner": "Group Owner",
"erserviceuid": "Administrator name",
"erldapgroupbusinesscategory": "Group Business Category",
"ergroupscontainerdn": "Group base DN",
"erldapgroupclass": "Group object class name",
- Throws:
java.lang.Exception