Top Description Fields Constructors Methods
jakarta.security.auth.message.callback

public Class GroupPrincipalCallback

extends Object
implements Callback
Class Inheritance
All Implemented Interfaces
javax.security.auth.callback.Callback
Imports
javax.security.auth.Subject, javax.security.auth.callback.Callback

Callback that enables an authentication module to inform the runtime of the groups a user is in.

Field Summary

Modifier and TypeField and Description
private final String[]
private final Subject

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String[]
public Subject
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

groupsback to summary
private final String[] groups
subjectback to summary
private final Subject subject

Constructor Detail

GroupPrincipalCallbackback to summary
public GroupPrincipalCallback(Subject subject, String[] groups)

Method Detail

getGroupsback to summary
public String[] getGroups()
getSubjectback to summary
public Subject getSubject()