serverAuthModule
during its validateRequest processing.
| Access | Constructor and Description |
|---|---|
| public | GroupPrincipalCallback(Subject
The Subject in which the container will create
group principals. s, String[] An array of Strings, where each element contains
the name of a group that will be used to create a
corresponding group principal within the Subject.
g)When a null value is passed to the g argument, the handler will establish the container's representation of no group principals within the Subject. Otherwise, the handler's processing of this callback is additive, yielding the union (without duplicates) of the principals existing within the Subject, and those created with the names occuring within the argument array. The CallbackHandler will define the type of the created principals. Create a GroupPrincipalCallback to establish the container's representation of the corresponding group principals within the Subject. |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: Null, or an array containing 0 or more String group names.When the return value is null, the handler will establish the container's representation of no group principals within the Subject. Otherwise, the handler's processing of this callback is additive, yielding the union (without duplicates) of the principals created with the names in the returned array and those existing within the Subject. Get the array of group names. |
| public Subject | Returns: The subject.Get the Subject in which the handler will establish the group principals. |
| groups | back to summary |
|---|---|
| private String[] groups | |
| subject | back to summary |
|---|---|
| private Subject subject | |
| GroupPrincipalCallback | back to summary |
|---|---|
| public GroupPrincipalCallback(Subject s, String[] g) Create a GroupPrincipalCallback to establish the container's representation of the corresponding group principals within the Subject.
| |
| getGroups | back to summary |
|---|---|
| public String[] getGroups() Get the array of group names.
| |
| getSubject | back to summary |
|---|---|
| public Subject getSubject() Get the Subject in which the handler will establish the group principals.
| |