Package edu.internet2.middleware.grouper
The I2MI Grouper project is an open source toolkit for managing groups.
- Version:
- 1.1.0
Grouper API Overview
While there are many public classes within the Grouper API the majority of its functionality can be found in a small subset of its classes. The most important classes to familiarize yourself with are:
-
As evident by its name, Grouper is all about managing groups. Groups are objects that may have attributes, memberships and privileges assigned to them.
-
Stems are namespaces within which groups are located. They make it possible to delegate authority within the Groups Registry.
-
This class is actually external to Grouper and is being developed by both the Grouper and Signet projects. It provides an IdM abstraction that allows an application to refer to entities of any type (people, groups, applications, etc.) without needing to be aware of how those entities are accessed or stored. See the Subject API page at the Grouper wiki for more information on the Subject API.
-
This is a class that abstracts finding subjects. With it you can query one-or-more subject repositories in order to retrieve subjects for use within other Grouper API operations.
-
Members are strictly mappings of subjects to persistent identifiers for those subjects within Grouper. While many API operations require that a
Subject
be passed as a parameter, internally Grouper works on those subjects asMember
objects. -
This class maps how all list values (memberships) are stored within the Groups Registry.
-
This class provides an operational and security context for performing operations within the Grouper API. With the exception of
SubjectFinder
almost all other API operations require a valid session context to operate within. A subject is associated with each session and the privileges of that subject determine what API operations can be performed within the session context.
There is a small - but growing - selection of API usage examples.
This package has the major grouper javabeans (generally mapped to the DB via hibernate), along with "Finders" which are static methods to help query for the beans.
-
- See Also:
-
ClassDescriptionBasic Hibernate
Attribute
DTO interface.A composite membership definition within the Groups Registry.Use this class to find a compositeUse this class to insert or update or delete a compositeSchema specification for a Group attribute or list.Find fields.Field Type.A group within the Groups Registry.Use this class to copy a group to another stem.Grouper Access Privilege interface.Base Grouper API class.Default implementation of the GrouperNamingPrivilege
interface.Context for interacting with the Grouper API and Groups Registry.Source adapter for using Grouper groups as I2MI Subjects.Use this class to find groups within the Groups registryUse this class to move a group to another stem.The GroupSave class is the recommended and support way to insert/update/delete a group.Schema specification for a Group type.Find group types.Basic HibernateGroup
andGroupType
tuple DTO implementation.A member within the Groups Registry.Use this class to find members within the Groups registryA list membership in the Groups Registry.Use this class to find memberships within the Groups registryUse this class to insert or update or delete a membershipUse this class to add/edit/delete privileges on attribute defs inside a folder for a subjectUse this class to add/edit/delete privileges on groups inside a folder for a subjectUse this class to insert or update a group privilegeUse this class to add/edit/delete privileges on folders inside a folder for a subjectUse this class to insert or update a stem privilegeASubject
local to the Groups Registry.Hibernate representation of the JDBCSubjectAttribute
table.A namespace within the Groups Registry.Search scope: one-level or subtree.counts when obliterating or seeing if can obliterateUse this class to copy a stem to another stem.Use this class to find stems within the registryUse this class to move a stem to another stem.Use this class to insert or update a stemUse this class to find subjectsresult to see if source if restricted by group