|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ietf.jgss.GSSManager
org.gridforum.jgss.ExtendedGSSManager
org.globus.gsi.gssapi.GlobusGSSManagerImpl
public class GlobusGSSManagerImpl
An implementation of GlobusGSSManager
.
Constructor Summary | |
---|---|
GlobusGSSManagerImpl()
|
Method Summary | |
---|---|
void |
addProviderAtEnd(java.security.Provider p,
org.ietf.jgss.Oid mech)
Currently not implemented. |
void |
addProviderAtFront(java.security.Provider p,
org.ietf.jgss.Oid mech)
Currently not implemented. |
static void |
checkMechanism(org.ietf.jgss.Oid mech)
Checks if the specified mechanism matches the mechanism supported by this implementation. |
org.ietf.jgss.GSSContext |
createContext(byte[] interProcessToken)
Currently not implemented. |
org.ietf.jgss.GSSContext |
createContext(org.ietf.jgss.GSSCredential cred)
|
org.ietf.jgss.GSSContext |
createContext(org.ietf.jgss.GSSName peer,
org.ietf.jgss.Oid mech,
org.ietf.jgss.GSSCredential cred,
int lifetime)
|
org.ietf.jgss.GSSCredential |
createCredential(byte[] buff,
int option,
int lifetime,
org.ietf.jgss.Oid mech,
int usage)
Imports a credential. |
org.ietf.jgss.GSSCredential |
createCredential(org.ietf.jgss.GSSName name,
int lifetime,
org.ietf.jgss.Oid[] mechs,
int usage)
Acquires GSI GSS credentials. |
org.ietf.jgss.GSSCredential |
createCredential(org.ietf.jgss.GSSName name,
int lifetime,
org.ietf.jgss.Oid mech,
int usage)
Acquires GSI GSS credentials. |
org.ietf.jgss.GSSCredential |
createCredential(int usage)
Acquires GSI GSS credentials. |
org.ietf.jgss.GSSName |
createName(byte[] name,
org.ietf.jgss.Oid nameType)
Currently not implemented. |
org.ietf.jgss.GSSName |
createName(byte[] name,
org.ietf.jgss.Oid nameType,
org.ietf.jgss.Oid mech)
Currently not implemented. |
org.ietf.jgss.GSSName |
createName(java.lang.String nameStr,
org.ietf.jgss.Oid nameType)
|
org.ietf.jgss.GSSName |
createName(java.lang.String nameStr,
org.ietf.jgss.Oid nameType,
org.ietf.jgss.Oid mech)
Currently not implemented. |
org.ietf.jgss.Oid[] |
getMechs()
|
org.ietf.jgss.Oid[] |
getMechsForName(org.ietf.jgss.Oid nameType)
Currently not implemented. |
org.ietf.jgss.Oid[] |
getNamesForMech(org.ietf.jgss.Oid mech)
Currently not implemented. |
Methods inherited from class org.gridforum.jgss.ExtendedGSSManager |
---|
getInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobusGSSManagerImpl()
Method Detail |
---|
public org.ietf.jgss.GSSCredential createCredential(int usage) throws org.ietf.jgss.GSSException
createCredential
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
createCredential(GSSName, int, Oid, int)
public org.ietf.jgss.GSSCredential createCredential(org.ietf.jgss.GSSName name, int lifetime, org.ietf.jgss.Oid mech, int usage) throws org.ietf.jgss.GSSException
createCredential
in class org.ietf.jgss.GSSManager
lifetime
- Only lifetime set to
GSSCredential.DEFAULT_LIFETIME
is allowed.
org.ietf.jgss.GSSException
X509Credential.getDefaultCredential()
public org.ietf.jgss.GSSCredential createCredential(org.ietf.jgss.GSSName name, int lifetime, org.ietf.jgss.Oid[] mechs, int usage) throws org.ietf.jgss.GSSException
createCredential
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
createCredential(GSSName, int, Oid, int)
public org.ietf.jgss.GSSCredential createCredential(byte[] buff, int option, int lifetime, org.ietf.jgss.Oid mech, int usage) throws org.ietf.jgss.GSSException
createCredential
in class ExtendedGSSManager
lifetime
- Only lifetime set to
GSSCredential.DEFAULT_LIFETIME
is allowed.buff
- The token emitted from the ExtendedGSSCredential.export
method.option
- The import type. The import type must be the same as the
option used to export the buffer.mech
- The desired mechanism for the imported credential, may be null to indicate system default.usage
- The intended usage for this credential object. The value of this parameter must be one of:
GSSCredential.INITIATE_AND_ACCEPT, GSSCredential.ACCEPT_ONLY, and GSSCredential.INITIATE_ONLY.
org.ietf.jgss.GSSException
- containing the following major error codes: GSSException.BAD_MECH,
GSSException.DEFECTIVE_TOKEN, GSSException.NO_CRED, GSSException.CREDENTIAL_EXPIRED,
GSSException.FAILURE
public org.ietf.jgss.GSSContext createContext(org.ietf.jgss.GSSName peer, org.ietf.jgss.Oid mech, org.ietf.jgss.GSSCredential cred, int lifetime) throws org.ietf.jgss.GSSException
createContext
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
public org.ietf.jgss.GSSContext createContext(org.ietf.jgss.GSSCredential cred) throws org.ietf.jgss.GSSException
createContext
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
public org.ietf.jgss.Oid[] getMechs()
getMechs
in class org.ietf.jgss.GSSManager
public org.ietf.jgss.GSSName createName(java.lang.String nameStr, org.ietf.jgss.Oid nameType) throws org.ietf.jgss.GSSException
createName
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
public static void checkMechanism(org.ietf.jgss.Oid mech) throws org.ietf.jgss.GSSException
mech
- mechanism to check
org.ietf.jgss.GSSException
- if mechanism not supported.public org.ietf.jgss.GSSContext createContext(byte[] interProcessToken) throws org.ietf.jgss.GSSException
createContext
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
public org.ietf.jgss.Oid[] getNamesForMech(org.ietf.jgss.Oid mech) throws org.ietf.jgss.GSSException
getNamesForMech
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
public org.ietf.jgss.Oid[] getMechsForName(org.ietf.jgss.Oid nameType)
getMechsForName
in class org.ietf.jgss.GSSManager
public org.ietf.jgss.GSSName createName(java.lang.String nameStr, org.ietf.jgss.Oid nameType, org.ietf.jgss.Oid mech) throws org.ietf.jgss.GSSException
createName
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
public org.ietf.jgss.GSSName createName(byte[] name, org.ietf.jgss.Oid nameType) throws org.ietf.jgss.GSSException
createName
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
public org.ietf.jgss.GSSName createName(byte[] name, org.ietf.jgss.Oid nameType, org.ietf.jgss.Oid mech) throws org.ietf.jgss.GSSException
createName
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
public void addProviderAtFront(java.security.Provider p, org.ietf.jgss.Oid mech) throws org.ietf.jgss.GSSException
addProviderAtFront
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
public void addProviderAtEnd(java.security.Provider p, org.ietf.jgss.Oid mech) throws org.ietf.jgss.GSSException
addProviderAtEnd
in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |