edu.internet2.middleware.grouperVoot.README.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper-ws Show documentation
Show all versions of grouper-ws Show documentation
Internet2 Groups Management WS Core
Install grouper voot with patch in 2.3 or 2.4.
To run Grouper Voot
- Setup and run the grouper WS
- Make sure your sources.xml has an email attribute name in applicable subject sources:
emailAttributeName
email
- Setup the web.xml
Grouper service filter
/voot/*
VootServlet
Voot Servlet
edu.internet2.middleware.grouperVoot.VootServlet
1
VootServlet
/voot/*
- If you are using basic auth in the web.xml, make sure the voot servlet is protected:
Voot services
/voot/*
grouper_user
- Voot documentation:
https://github.com/andreassolberg/voot/wiki/Protocol
- Turn on the grouper web services, and try the following URL's:
https://grouper.whatever.com/grouperWs/voot/groups
https://grouper.whatever.com/grouperWs/voot/groups/@me
https://grouper.whatever.com/grouperWs/voot/groups/aSubjectId [note: put in valid suject ID]
https://grouper.whatever.com/grouperWs/voot/people/@me
https://grouper.whatever.com/grouperWs/voot/people/@me/aStem:aGroup2 [note: put in valid group name]
https://grouper.whatever.com/grouperWs/voot/people/aSubjectId/aStem:aGroup2 [note: put in valid suject ID and group name]
You can pass in a param to indent the response:
https://grouper.whatever.com/grouperWs/voot/groups?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/groups/@me?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/groups/aSubjectId?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/people/@me?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/people/@me/aStem:aGroup2?indentResponse=true
https://grouper.whatever.com/grouperWs/voot/people/aSubjectId/aStem:aGroup2?indentResponse=true
You can also pass additional params to the different calls, being:
- sortBy: to get the results filtered by one field in the output JSON
- startIndex: start index (in case of paginated call it indicates the first result to be returned)
- count: number of results to show (in case of paginated call it indicates the page size)
This is running on the Grouper demo server e.g. here:
https://grouperdemo.internet2.edu/grouper-ws_v2_0_0/voot/groups/@me?indentResponse=true
https://grouperdemo.internet2.edu/grouper-ws_v2_0_0/voot/groups?indentResponse=true
https://grouperdemo.internet2.edu/grouper-ws_v2_0_0/voot/people/@me?indentResponse=true
https://grouperdemo.internet2.edu/grouper-ws_v2_0_0/voot/people/@me/aStem:aGroup2?indentResponse=true
© 2015 - 2024 Weber Informatics LLC | Privacy Policy