Class GroupPrincipalCallback
- java.lang.Object
-
- jakarta.security.auth.message.callback.GroupPrincipalCallback
-
- All Implemented Interfaces:
javax.security.auth.callback.Callback
public class GroupPrincipalCallback extends java.lang.Object implements javax.security.auth.callback.Callback
Callback that enables an authentication module to inform the runtime of the groups a user is in.
-
-
Constructor Summary
Constructors Constructor Description GroupPrincipalCallback(javax.security.auth.Subject subject, java.lang.String[] groups)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getGroups()
javax.security.auth.Subject
getSubject()
-