Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
javax.security.auth.kerberos

Class DelegationPermission

  • All Implemented Interfaces:
    Serializable, Guard

    public final class DelegationPermission
    extends BasicPermission
    implements Serializable
    This class is used to restrict the usage of the Kerberos delegation model, ie: forwardable and proxiable tickets.

    The target name of this Permission specifies a pair of kerberos service principals. The first is the subordinate service principal being entrusted to use the TGT. The second service principal designates the target service the subordinate service principal is to interact with on behalf of the initiating KerberosPrincipal. This latter service principal is specified to restrict the use of a proxiable ticket.

    For example, to specify the "host" service use of a forwardable TGT the target permission is specified as follows:

      DelegationPermission("\"host/foo.example.com@EXAMPLE.COM\" \"krbtgt/EXAMPLE.COM@EXAMPLE.COM\"");
     

    To give the "backup" service a proxiable nfs service ticket the target permission might be specified:

      DelegationPermission("\"backup/bar.example.com@EXAMPLE.COM\" \"nfs/home.EXAMPLE.COM@EXAMPLE.COM\"");
     
    Since:
    1.4
    See Also:
    Serialized Form
    • Constructor Detail

      • DelegationPermission

        public DelegationPermission(String principals)
        Create a new DelegationPermission with the specified subordinate and target principals.

        Parameters:
        principals - the name of the subordinate and target principals
        Throws:
        NullPointerException - if principals is null.
        IllegalArgumentException - if principals is empty.
      • DelegationPermission

        public DelegationPermission(String principals,
                            String actions)
        Create a new DelegationPermission with the specified subordinate and target principals.

        Parameters:
        principals - the name of the subordinate and target principals

        actions - should be null.
        Throws:
        NullPointerException - if principals is null.
        IllegalArgumentException - if principals is empty.
    • Method Detail

      • implies

        public boolean implies(Permission p)
        Checks if this Kerberos delegation permission object "implies" the specified permission.

        If none of the above are true, implies returns false.

        Overrides:
        implies in class BasicPermission
        Parameters:
        p - the permission to check against.
        Returns:
        true if the specified permission is implied by this object, false if not.
      • equals

        public boolean equals(Object obj)
        Checks two DelegationPermission objects for equality.

        Overrides:
        equals in class BasicPermission
        Parameters:
        obj - the object to test for equality with this object.
        Returns:
        true if obj is a DelegationPermission, and has the same subordinate and service principal as this. DelegationPermission object.
        See Also:
        Object.hashCode(), HashMap
      • newPermissionCollection

        public PermissionCollection newPermissionCollection()
        Returns a PermissionCollection object for storing DelegationPermission objects.
        DelegationPermission objects must be stored in a manner that allows them to be inserted into the collection in any order, but that also enables the PermissionCollection implies method to be implemented in an efficient (and consistent) manner.
        Overrides:
        newPermissionCollection in class BasicPermission
        Returns:
        a new PermissionCollection object suitable for storing DelegationPermissions.

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 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/security/auth/kerberos/delegationpermission.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

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 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.

Inhoudsopgave Haut