|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.goonit.imapi.jaxrs.servlet.isim.personGetPolicies
public class personGetPolicies
personAuthorizedServices
is a simple a JAX-RS resource that returns the Provisioning Policies which apply to a user.
Path
annotation with the value "/personAuthorizedServices/{personDN}" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/<servlet path>/goonapi/personGetPolicies/{personDN}code>
Constructor Summary
personGetPolicies()
Method Summary
java.lang.String
GET(javax.servlet.http.HttpServletRequest requestObj,
javax.servlet.http.HttpServletResponse responseObj,
java.lang.String strDN)
Processes a GET request and returns an Array of Provisioning Policies that apply to the Person object.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
personGetPolicies
public personGetPolicies()
Method Detail
GET
public java.lang.String GET(@Context
javax.servlet.http.HttpServletRequest requestObj,
@Context
javax.servlet.http.HttpServletResponse responseObj,
java.lang.String strDN)
- Processes a GET request and returns an Array of Provisioning Policies that apply to the Person object.
- Parameters:
personDN
- - the Person's DistinguishedName
- Returns:
- {
"items": [
{
"erenabled": "true",
"caption": "ITIM account policy",
"erparent": "erglobalid=00000000000000000000,ou=goonit,dc=com2",
"keywords": "",
"dn": "erglobalid=00000000000000000005,ou=policies,erglobalid=00000000000000000000,ou=goonit,dc=com2",
"name": "Default provisioning policy for ITIM",
"description": "Allow everyone to be provisioned for an ITIM account."
},
{
"erenabled": "true",
"caption": "",
"erparent": "erglobalid=00000000000000000000,ou=goonit,dc=com2",
"keywords": "",
"dn": "erglobalid=2974185885988025708,ou=policies,erglobalid=00000000000000000000,ou=goonit,dc=com2",
"name": "All Linux services",
"description": ""
}
]
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD