Class GroupPrincipalCallback

java.lang.Object
jakarta.security.auth.message.callback.GroupPrincipalCallback
All Implemented Interfaces:
Callback

public class GroupPrincipalCallback extends Object implements Callback
Callback that enables an authentication module to inform the runtime of the groups a user is in.
  • Constructor Details

    • GroupPrincipalCallback

      public GroupPrincipalCallback(Subject subject, String[] groups)
  • Method Details

    • getSubject

      public Subject getSubject()
    • getGroups

      public String[] getGroups()