Uses of Interface
org.ietf.jgss.GSSName
Package
Description
This package defines classes and interfaces for the JDK extensions
to the GSS-API.
This package presents a framework that allows application developers to
make use of security services like authentication, data integrity and
data confidentiality from a variety of underlying security mechanisms
like Kerberos, using a unified API.
-
Uses of GSSName in com.sun.security.jgss
Modifier and TypeMethodDescriptionstatic Subject
GSSUtil.createSubject(GSSName principals, GSSCredential credentials)
Use this method to convert a GSSName and GSSCredential into a Subject.ExtendedGSSCredential.impersonate(GSSName name)
Impersonates a principal. -
Uses of GSSName in org.ietf.jgss
Modifier and TypeMethodDescriptionGSSName.canonicalize(Oid mech)
Creates a name that is canonicalized for some mechanism.abstract GSSName
GSSManager.createName(byte[] name, Oid nameType)
Factory method to convert a byte array containing a name from the specified namespace to a GSSName object.abstract GSSName
GSSManager.createName(byte[] name, Oid nameType, Oid mech)
Factory method to convert a byte array containing a name from the specified namespace to a GSSName object and canonicalize it at the same time for a mechanism.abstract GSSName
GSSManager.createName(String nameStr, Oid nameType)
Factory method to convert a string name from the specified namespace to a GSSName object.abstract GSSName
GSSManager.createName(String nameStr, Oid nameType, Oid mech)
Factory method to convert a string name from the specified namespace to a GSSName object and canonicalize it at the same time for a mechanism.GSSCredential.getName()
Retrieves the name of the entity that the credential asserts.Retrieves a Mechanism Name of the entity that the credential asserts.GSSContext.getSrcName()
Returns the name of the context initiator.GSSContext.getTargName()
Returns the name of the context acceptor.Modifier and TypeMethodDescriptionvoid
Adds a mechanism specific credential-element to an existing credential.abstract GSSContext
GSSManager.createContext(GSSName peer, Oid mech, GSSCredential myCred, int lifetime)
Factory method for creating a context on the initiator's side.abstract GSSCredential
GSSManager.createCredential(GSSName name, int lifetime, Oid[] mechs, int usage)
Factory method for acquiring credentials over a set of mechanisms.abstract GSSCredential
GSSManager.createCredential(GSSName name, int lifetime, Oid mech, int usage)
Factory method for acquiring a single mechanism credential.boolean
Compares twoGSSName
objects to determine if they refer to the same entity.