Class GroupHandler
- java.lang.Object
-
- org.oa4mp.server.loader.oauth2.servlet.GroupHandler
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NCSAGroupHandler
public class GroupHandler extends Object implements Serializable
This takes a list of attributes from an LDAP handler and converts it into a regularized group structure.Created by Jeff Gaynor
on 3/1/18 at 4:32 PM- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Groups
parse(net.sf.json.JSONArray jsonArray)
The most basic incarnation.
-
-
-
Method Detail
-
parse
public Groups parse(net.sf.json.JSONArray jsonArray)
The most basic incarnation. This assumes that the raw JSON is just an array of group names (e.g. ["grp0","grp1",...]) with no special structure.- Parameters:
jsonArray
-- Returns:
-
-