public class GlobusGSSManagerImpl extends ExtendedGSSManager
GlobusGSSManager.| Constructor and Description |
|---|
GlobusGSSManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getInstancepublic org.ietf.jgss.GSSCredential createCredential(int usage)
throws org.ietf.jgss.GSSException
createCredential in class org.ietf.jgss.GSSManagerorg.ietf.jgss.GSSExceptioncreateCredential(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.GSSManagerlifetime - Only lifetime set to
GSSCredential.DEFAULT_LIFETIME is allowed.org.ietf.jgss.GSSExceptionX509Credential.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.GSSManagerorg.ietf.jgss.GSSExceptioncreateCredential(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 ExtendedGSSManagerlifetime - 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.FAILUREpublic 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.GSSManagerorg.ietf.jgss.GSSExceptionpublic org.ietf.jgss.GSSContext createContext(org.ietf.jgss.GSSCredential cred)
throws org.ietf.jgss.GSSException
createContext in class org.ietf.jgss.GSSManagerorg.ietf.jgss.GSSExceptionpublic org.ietf.jgss.Oid[] getMechs()
getMechs in class org.ietf.jgss.GSSManagerpublic 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.GSSManagerorg.ietf.jgss.GSSExceptionpublic static void checkMechanism(org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
mech - mechanism to checkorg.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.GSSManagerorg.ietf.jgss.GSSExceptionpublic org.ietf.jgss.Oid[] getNamesForMech(org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
getNamesForMech in class org.ietf.jgss.GSSManagerorg.ietf.jgss.GSSExceptionpublic org.ietf.jgss.Oid[] getMechsForName(org.ietf.jgss.Oid nameType)
getMechsForName in class org.ietf.jgss.GSSManagerpublic 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.GSSManagerorg.ietf.jgss.GSSExceptionpublic org.ietf.jgss.GSSName createName(byte[] name,
org.ietf.jgss.Oid nameType)
throws org.ietf.jgss.GSSException
createName in class org.ietf.jgss.GSSManagerorg.ietf.jgss.GSSExceptionpublic 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.GSSManagerorg.ietf.jgss.GSSExceptionpublic void addProviderAtFront(java.security.Provider p,
org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
addProviderAtFront in class org.ietf.jgss.GSSManagerorg.ietf.jgss.GSSExceptionpublic void addProviderAtEnd(java.security.Provider p,
org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
addProviderAtEnd in class org.ietf.jgss.GSSManagerorg.ietf.jgss.GSSExceptionCopyright © 2013. All Rights Reserved.