Uses of Interface
org.ietf.jgss.GSSName
-
Packages that use GSSName Package Description com.sun.security.jgss This package defines classes and interfaces for the JDK extensions to the GSS-API.org.ietf.jgss 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
Methods in com.sun.security.jgss with parameters of type GSSName Modifier and Type Method Description static Subject
GSSUtil. createSubject(GSSName principals, GSSCredential credentials)
Use this method to convert a GSSName and GSSCredential into a Subject.GSSCredential
ExtendedGSSCredential. impersonate(GSSName name)
Impersonates a principal. -
Uses of GSSName in org.ietf.jgss
Methods in org.ietf.jgss that return GSSName Modifier and Type Method Description GSSName
GSSName. 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.GSSName
GSSCredential. getName()
Retrieves the name of the entity that the credential asserts.GSSName
GSSCredential. getName(Oid mech)
Retrieves a Mechanism Name of the entity that the credential asserts.GSSName
GSSContext. getSrcName()
Returns the name of the context initiator.GSSName
GSSContext. getTargName()
Returns the name of the context acceptor.Methods in org.ietf.jgss with parameters of type GSSName Modifier and Type Method Description void
GSSCredential. add(GSSName name, int initLifetime, int acceptLifetime, Oid mech, int usage)
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
GSSName. equals(GSSName another)
Compares twoGSSName
objects to determine if they refer to the same entity.
-