Package | Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
static Oid |
GSSName.NT_ANONYMOUS
Name type for representing an anonymous entity.
|
static Oid |
GSSName.NT_EXPORT_NAME
Name type used to indicate an exported name produced by the export
method.
|
static Oid |
GSSName.NT_HOSTBASED_SERVICE
Oid indicating a host-based service name form.
|
static Oid |
GSSName.NT_MACHINE_UID_NAME
Name type to indicate a numeric user identifier corresponding to a
user on a local system.
|
static Oid |
GSSName.NT_STRING_UID_NAME
Name type to indicate a string of digits representing the numeric
user identifier of a user on a local system.
|
static Oid |
GSSName.NT_USER_NAME
Name type to indicate a named user on a local system.
|
Modifier and Type | Method and Description |
---|---|
Oid |
GSSContext.getMech()
Determines what mechanism is being used for this
context.
|
abstract Oid[] |
GSSManager.getMechs()
Returns a list of mechanisms that are available to GSS-API callers
through this GSSManager.
|
Oid[] |
GSSCredential.getMechs()
Returns a list of mechanisms supported by this credential.
|
abstract Oid[] |
GSSManager.getMechsForName(Oid nameType)
Returns a list of mechanisms that support the indicated name type.
|
abstract Oid[] |
GSSManager.getNamesForMech(Oid mech)
Returns then name types supported by the indicated mechanism.
|
Oid |
GSSName.getStringNameType()
Returns the name type of the printable
representation of this name that can be obtained from the
toString method. |
Modifier and Type | Method and 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 void |
GSSManager.addProviderAtEnd(Provider p,
Oid mech)
This method is used to indicate to the GSSManager that the
application would like a particular provider to be used if no other
provider can be found that supports the given mechanism.
|
abstract void |
GSSManager.addProviderAtFront(Provider p,
Oid mech)
This method is used to indicate to the GSSManager that the
application would like a particular provider to be used ahead of all
others when support is desired for the given mechanism.
|
GSSName |
GSSName.canonicalize(Oid mech)
Creates a name that is canonicalized for some
mechanism.
|
boolean |
Oid.containedIn(Oid[] oids)
A utility method to test if this Oid value is contained within the
supplied Oid array.
|
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.
|
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.
|
abstract Oid[] |
GSSManager.getMechsForName(Oid nameType)
Returns a list of mechanisms that support the indicated name type.
|
GSSName |
GSSCredential.getName(Oid mech)
Retrieves a Mechanism Name of the entity that the credential
asserts.
|
abstract Oid[] |
GSSManager.getNamesForMech(Oid mech)
Returns then name types supported by the indicated mechanism.
|
int |
GSSCredential.getRemainingAcceptLifetime(Oid mech)
Returns the lifetime in seconds for the credential to remain capable
of accepting security contexts using the specified mechanism.
|
int |
GSSCredential.getRemainingInitLifetime(Oid mech)
Returns the lifetime in seconds for the credential to remain capable
of initiating security contexts using the specified mechanism.
|
int |
GSSCredential.getUsage(Oid mech)
Returns the credential usage mode for a specific mechanism.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.