public class GSSManager
extends java.lang.Object
Constructor and Description |
---|
GSSManager() |
Modifier and Type | Method and Description |
---|---|
static Oid |
getDefaultMech()
Determines the default mechanism.
|
static Oid[] |
getMechs()
Indicates which mechanisms are configured within JGSS.
|
static Oid[] |
getMechsForName(Oid nameType)
Returns all the mechanisms that support the specific name type.
|
static Oid[] |
getNamesForMech(Oid mech)
Returns name types (Oids) supported by the selected mechanism.
|
public static Oid[] getMechs()
public static Oid[] getNamesForMech(Oid mech) throws GSSException
mech
- the Oid for mechanism to be queriedGSSException
- with major code of BAD_MECH will be thrown
for invalid mechanism oidspublic static Oid[] getMechsForName(Oid nameType)
nameType
- the Oid of the name type to be queriedpublic static Oid getDefaultMech() throws GSSException
GSSException
- with major code set to BAD_MECH if
no jgss providers exist.