javax.security.auth.message.callback

Class GroupPrincipalCallback

  • All Implemented Interfaces:
    Callback

    public class GroupPrincipalCallback
    extends Object
    implements Callback
    Callback establishing group principals within the argument subject. This callback is intended to be called by a serverAuthModule during its validateRequest processing.
    • Constructor Detail

      • GroupPrincipalCallback

        public GroupPrincipalCallback(Subject s,
                                      String[] g)
        Create a GroupPrincipalCallback to establish the container's representation of the corresponding group principals within the Subject.
        Parameters:
        s - The Subject in which the container will create group principals.
        g - 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.

        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.

    • Method Detail

      • getSubject

        public Subject getSubject()
        Get the Subject in which the handler will establish the group principals.
        Returns:
        The subject.
      • getGroups

        public String[] getGroups()
        Get the array of group names.
        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.

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/security/auth/message/callback/groupprincipalcallback.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com/en/java/, Class GroupPrincipalCallback

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.