GroupPrincipalCallbackpublic class GroupPrincipalCallback extends Object implements CallbackCallback establishing group principals within the argument subject.
This callback is intended to be called by a serverAuthModule
during its validateRequest processing. |
Fields Summary |
---|
private Subject | subject | private String[] | groups |
Constructors Summary |
---|
public GroupPrincipalCallback(Subject s, String[] g)Create a GroupPrincipalCallback to establish the container's
representation of the corresponding group principals within
the Subject.
subject = s;
groups = g;
|
Methods Summary |
---|
public java.lang.String[] | getGroups()Get the array of group names.
return groups;
| public javax.security.auth.Subject | getSubject()Get the Subject in which the handler will establish the
group principals.
return subject;
|
|