public class

GSSManagerImpl

extends GSSManager
java.lang.Object
   ↳ org.ietf.jgss.GSSManager
     ↳ sun.security.mule.jgss.GSSManagerImpl

Class Overview

This class provides the default implementation of the GSSManager interface.

Summary

Constants
String USE_NATIVE_PROP
Fields
private static final Boolean USE_NATIVE
private Config kerberosConfig
private ProviderList list
Public Constructors
GSSManagerImpl(int caller, boolean useNative, Config kerberosConfig)
GSSManagerImpl(int caller, Config kerberosConfig)
GSSManagerImpl(Config kerberosConfig)
Public Methods
void addProviderAtEnd(Provider p, Oid mech)
void addProviderAtFront(Provider p, Oid mech)
GSSContext createContext(GSSName peer, Oid mech, GSSCredential myCred, int lifetime)
GSSContext createContext(byte[] interProcessToken)
GSSContext createContext(GSSCredential myCred)
GSSCredential createCredential(GSSName aName, int lifetime, Oid[] mechs, int usage)
GSSCredential createCredential(GSSName aName, int lifetime, Oid mech, int usage)
GSSCredential createCredential(int usage)
GSSName createName(byte[] name, Oid nameType, Oid mech)
GSSName createName(String nameStr, Oid nameType)
GSSName createName(String nameStr, Oid nameType, Oid mech)
GSSName createName(byte[] name, Oid nameType)
GSSCredentialSpi getCredentialElement(GSSNameSpi name, int initLifetime, int acceptLifetime, Oid mech, int usage)
Config getKerberosConfig()
Oid[] getMechs()
Oid[] getMechsForName(Oid nameType)
GSSNameSpi getNameElement(byte[] name, Oid nameType, Oid mech)
GSSNameSpi getNameElement(String name, Oid nameType, Oid mech)
Oid[] getNamesForMech(Oid mech)
[Expand]
Inherited Methods
From class org.ietf.jgss.GSSManager
From class java.lang.Object

Constants

private static final String USE_NATIVE_PROP

Constant Value: "sun.security.mule.jgss.native"

Fields

private static final Boolean USE_NATIVE

private Config kerberosConfig

private ProviderList list

Public Constructors

public GSSManagerImpl (int caller, boolean useNative, Config kerberosConfig)

Parameters
caller
useNative
kerberosConfig

public GSSManagerImpl (int caller, Config kerberosConfig)

Parameters
caller
kerberosConfig

public GSSManagerImpl (Config kerberosConfig)

Parameters
kerberosConfig

Public Methods

public void addProviderAtEnd (Provider p, Oid mech)

Parameters
p
mech
Throws
GSSException

public void addProviderAtFront (Provider p, Oid mech)

Parameters
p
mech
Throws
GSSException

public GSSContext createContext (GSSName peer, Oid mech, GSSCredential myCred, int lifetime)

Parameters
peer
mech
myCred
lifetime
Throws
GSSException

public GSSContext createContext (byte[] interProcessToken)

Parameters
interProcessToken
Throws
GSSException

public GSSContext createContext (GSSCredential myCred)

Parameters
myCred
Throws
GSSException

public GSSCredential createCredential (GSSName aName, int lifetime, Oid[] mechs, int usage)

Parameters
aName
lifetime
mechs
usage
Throws
GSSException

public GSSCredential createCredential (GSSName aName, int lifetime, Oid mech, int usage)

Parameters
aName
lifetime
mech
usage
Throws
GSSException

public GSSCredential createCredential (int usage)

Parameters
usage
Throws
GSSException

public GSSName createName (byte[] name, Oid nameType, Oid mech)

Parameters
name
nameType
mech
Throws
GSSException

public GSSName createName (String nameStr, Oid nameType)

Parameters
nameStr
nameType
Throws
GSSException

public GSSName createName (String nameStr, Oid nameType, Oid mech)

Parameters
nameStr
nameType
mech
Throws
GSSException

public GSSName createName (byte[] name, Oid nameType)

Parameters
name
nameType
Throws
GSSException

public GSSCredentialSpi getCredentialElement (GSSNameSpi name, int initLifetime, int acceptLifetime, Oid mech, int usage)

Parameters
name
initLifetime
acceptLifetime
mech
usage
Throws
GSSException

public Config getKerberosConfig ()

public Oid[] getMechs ()

public Oid[] getMechsForName (Oid nameType)

Parameters
nameType

public GSSNameSpi getNameElement (byte[] name, Oid nameType, Oid mech)

Parameters
name
nameType
mech
Throws
GSSException

public GSSNameSpi getNameElement (String name, Oid nameType, Oid mech)

Parameters
name
nameType
mech
Throws
GSSException

public Oid[] getNamesForMech (Oid mech)

Parameters
mech
Throws
GSSException