|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
org.globus.gsi.gssapi
Class GlobusGSSManagerImpl
java.lang.Object | +--org.ietf.jgss.GSSManager | +--org.gridforum.jgss.ExtendedGSSManager | +--org.globus.gsi.gssapi.GlobusGSSManagerImpl
- public class GlobusGSSManagerImpl
- extends ExtendedGSSManager
An implementation of GlobusGSSManager.
| Constructor Summary | |
GlobusGSSManagerImpl()
|
|
| Method Summary | |
void |
addProviderAtEnd(Provider p,
Oid mech)
Currently not implemented. |
void |
addProviderAtFront(Provider p,
Oid mech)
Currently not implemented. |
static void |
checkMechanism(Oid mech)
Checks if the specified mechanism matches the mechanism supported by this implementation. |
GSSContext |
createContext(byte[] interProcessToken)
Currently not implemented. |
GSSContext |
createContext(GSSCredential cred)
|
GSSContext |
createContext(GSSName peer,
Oid mech,
GSSCredential cred,
int lifetime)
|
GSSCredential |
createCredential(byte[] buff,
int option,
int lifetime,
Oid mech,
int usage)
A factory method for creating a previously exported credential. |
GSSCredential |
createCredential(GSSName name,
int lifetime,
Oid[] mechs,
int usage)
Acquires GSI GSS credentials. |
GSSCredential |
createCredential(GSSName name,
int lifetime,
Oid mech,
int usage)
Acquires GSI GSS credentials. |
GSSCredential |
createCredential(int usage)
Acquires GSI GSS credentials. |
GSSName |
createName(byte[] name,
Oid nameType)
Currently not implemented. |
GSSName |
createName(byte[] name,
Oid nameType,
Oid mech)
Currently not implemented. |
GSSName |
createName(String nameStr,
Oid nameType)
|
GSSName |
createName(String nameStr,
Oid nameType,
Oid mech)
Currently not implemented. |
Oid[] |
getMechs()
|
Oid[] |
getMechsForName(Oid nameType)
Currently not implemented. |
Oid[] |
getNamesForMech(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 |
GlobusGSSManagerImpl
public GlobusGSSManagerImpl()
| Method Detail |
createCredential
public GSSCredential createCredential(int usage) throws GSSException
- Acquires GSI GSS credentials.
- Overrides:
createCredentialin classGSSManager
- See Also:
createCredential(GSSName, int, Oid, int)
createCredential
public GSSCredential createCredential(GSSName name, int lifetime, Oid mech, int usage) throws GSSException
- Acquires GSI GSS credentials. First, it tries to find the credentials
in the private credential set of the current JAAS Subject. If the
Subject is not set or credentials are not found in the Subject, it
tries to get a default user credential (usually an user proxy file)
- Overrides:
createCredentialin classGSSManager
- See Also:
GlobusCredential.getDefaultCredential()
createCredential
public GSSCredential createCredential(GSSName name, int lifetime, Oid[] mechs, int usage) throws GSSException
- Acquires GSI GSS credentials.
- Overrides:
createCredentialin classGSSManager
- See Also:
createCredential(GSSName, int, Oid, int)
createCredential
public GSSCredential createCredential(byte[] buff, int option, int lifetime, Oid mech, int usage) throws GSSException
- Description copied from class:
ExtendedGSSManager - A factory method for creating a previously exported credential.
- Overrides:
createCredentialin classExtendedGSSManager
- Following copied from class:
org.gridforum.jgss.ExtendedGSSManager- Parameters:
buff- The token emitted from theExtendedGSSCredential.exportmethod.option- The import type. The import type must be the same as the option used to export the buffer.lifetime- The number of seconds that credentials should remain valid. Use GSSCredential.INDEFINITE_LIFETIME to request that the credentials have the maximum permitted lifetime. Use GSSCredential.DEFAULT_LIFETIME to request default credential lifetime.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.- Throws:
GSSException- containing the following major error codes:GSSException.BAD_MECH, GSSException.DEFECTIVE_TOKEN, GSSException.NO_CRED, GSSException.CREDENTIAL_EXPIRED, GSSException.FAILURE
createContext
public GSSContext createContext(GSSName peer, Oid mech, GSSCredential cred, int lifetime) throws GSSException
- Overrides:
createContextin classGSSManager
createContext
public GSSContext createContext(GSSCredential cred) throws GSSException
- Overrides:
createContextin classGSSManager
getMechs
public Oid[] getMechs()
- Overrides:
getMechsin classGSSManager
createName
public GSSName createName(String nameStr, Oid nameType) throws GSSException
- Overrides:
createNamein classGSSManager
checkMechanism
public static void checkMechanism(Oid mech) throws GSSException
- Checks if the specified mechanism matches
the mechanism supported by this implementation.
- Parameters:
mech- mechanism to check- Throws:
GSSException.BAD_MECH- if mechanism not supported.
createContext
public GSSContext createContext(byte[] interProcessToken) throws GSSException
- Currently not implemented.
- Overrides:
createContextin classGSSManager
getNamesForMech
public Oid[] getNamesForMech(Oid mech) throws GSSException
- Currently not implemented.
- Overrides:
getNamesForMechin classGSSManager
getMechsForName
public Oid[] getMechsForName(Oid nameType)
- Currently not implemented.
- Overrides:
getMechsForNamein classGSSManager
createName
public GSSName createName(String nameStr, Oid nameType, Oid mech) throws GSSException
- Currently not implemented.
- Overrides:
createNamein classGSSManager
createName
public GSSName createName(byte[] name, Oid nameType) throws GSSException
- Currently not implemented.
- Overrides:
createNamein classGSSManager
createName
public GSSName createName(byte[] name, Oid nameType, Oid mech) throws GSSException
- Currently not implemented.
- Overrides:
createNamein classGSSManager
addProviderAtFront
public void addProviderAtFront(Provider p, Oid mech) throws GSSException
- Currently not implemented.
- Overrides:
addProviderAtFrontin classGSSManager
addProviderAtEnd
public void addProviderAtEnd(Provider p, Oid mech) throws GSSException
- Currently not implemented.
- Overrides:
addProviderAtEndin classGSSManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||