sun.security.mule.jgss
Class GSSManagerImpl
java.lang.Object
org.ietf.jgss.GSSManager
sun.security.mule.jgss.GSSManagerImpl
public class GSSManagerImpl
- extends GSSManager
This class provides the default implementation of the GSSManager
interface.
|
Method Summary |
void |
addProviderAtEnd(Provider p,
Oid mech)
|
void |
addProviderAtFront(Provider p,
Oid mech)
|
GSSContext |
createContext(byte[] interProcessToken)
|
GSSContext |
createContext(GSSCredential myCred)
|
GSSContext |
createContext(GSSName peer,
Oid mech,
GSSCredential myCred,
int lifetime)
|
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)
|
GSSName |
createName(byte[] name,
Oid nameType,
Oid mech)
|
GSSName |
createName(String nameStr,
Oid nameType)
|
GSSName |
createName(String nameStr,
Oid nameType,
Oid mech)
|
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GSSManagerImpl
public GSSManagerImpl(int caller,
boolean useNative,
Config kerberosConfig)
GSSManagerImpl
public GSSManagerImpl(int caller,
Config kerberosConfig)
GSSManagerImpl
public GSSManagerImpl(Config kerberosConfig)
getKerberosConfig
public Config getKerberosConfig()
getMechs
public Oid[] getMechs()
- Specified by:
getMechs in class GSSManager
getNamesForMech
public Oid[] getNamesForMech(Oid mech)
throws GSSException
- Specified by:
getNamesForMech in class GSSManager
- Throws:
GSSException
getMechsForName
public Oid[] getMechsForName(Oid nameType)
- Specified by:
getMechsForName in class GSSManager
createName
public GSSName createName(String nameStr,
Oid nameType)
throws GSSException
- Specified by:
createName in class GSSManager
- Throws:
GSSException
createName
public GSSName createName(byte[] name,
Oid nameType)
throws GSSException
- Specified by:
createName in class GSSManager
- Throws:
GSSException
createName
public GSSName createName(String nameStr,
Oid nameType,
Oid mech)
throws GSSException
- Specified by:
createName in class GSSManager
- Throws:
GSSException
createName
public GSSName createName(byte[] name,
Oid nameType,
Oid mech)
throws GSSException
- Specified by:
createName in class GSSManager
- Throws:
GSSException
createCredential
public GSSCredential createCredential(int usage)
throws GSSException
- Specified by:
createCredential in class GSSManager
- Throws:
GSSException
createCredential
public GSSCredential createCredential(GSSName aName,
int lifetime,
Oid mech,
int usage)
throws GSSException
- Specified by:
createCredential in class GSSManager
- Throws:
GSSException
createCredential
public GSSCredential createCredential(GSSName aName,
int lifetime,
Oid[] mechs,
int usage)
throws GSSException
- Specified by:
createCredential in class GSSManager
- Throws:
GSSException
createContext
public GSSContext createContext(GSSName peer,
Oid mech,
GSSCredential myCred,
int lifetime)
throws GSSException
- Specified by:
createContext in class GSSManager
- Throws:
GSSException
createContext
public GSSContext createContext(GSSCredential myCred)
throws GSSException
- Specified by:
createContext in class GSSManager
- Throws:
GSSException
createContext
public GSSContext createContext(byte[] interProcessToken)
throws GSSException
- Specified by:
createContext in class GSSManager
- Throws:
GSSException
addProviderAtFront
public void addProviderAtFront(Provider p,
Oid mech)
throws GSSException
- Specified by:
addProviderAtFront in class GSSManager
- Throws:
GSSException
addProviderAtEnd
public void addProviderAtEnd(Provider p,
Oid mech)
throws GSSException
- Specified by:
addProviderAtEnd in class GSSManager
- Throws:
GSSException
getCredentialElement
public GSSCredentialSpi getCredentialElement(GSSNameSpi name,
int initLifetime,
int acceptLifetime,
Oid mech,
int usage)
throws GSSException
- Throws:
GSSException
getNameElement
public GSSNameSpi getNameElement(String name,
Oid nameType,
Oid mech)
throws GSSException
- Throws:
GSSException
getNameElement
public GSSNameSpi getNameElement(byte[] name,
Oid nameType,
Oid mech)
throws GSSException
- Throws:
GSSException
Copyright © 2013. All Rights Reserved.