...
Note if subjectId and subjectIdentifier are filled in with the same value, it will find by subject id or identifier.
Logging requests and responses
You can do this via the client or a proxy. If you must do this via the server, there is an experimental way to do this in v2.1.1+. You should not do this in prod, only in a testing environment.
Add a new servlet filter mapping in the web.xml
Code Block |
---|
<filter-mapping>
<filter-name>Grouper logging filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
|
Set the filter logger to log at debug level
Code Block |
---|
log4j.logger.edu.internet2.middleware.grouper.ws.j2ee.ServletFilterLogger = DEBUG
|
sfd
Fields and permissions
If you want to check to see if a subject as a group permission, or to get a list of people with a certain permissions on a group, use hasMember or getMembers, and pass the name of the field (note this list depends on your configuration):
...