org.jacorb.security.sas
Class GSSUPMechFactory

java.lang.Object
  extended byorg.jacorb.security.sas.GSSUPMechFactory

public final class GSSUPMechFactory
extends java.lang.Object

This is the GSS-API Sercurity Provider Interface (SPI) Facotry GSSUP GSSManager

Version:
$Id: GSSUPMechFactory.java,v 1.10 2004/05/07 13:08:29 david.robison Exp $
Author:
David Robison

Field Summary
protected static java.security.Provider myProvider
           
 
Constructor Summary
GSSUPMechFactory()
           
 
Method Summary
 GSSCredentialSpi getCredentialElement(GSSNameSpi name, int initLifetime, int acceptLifetime, int usage)
           
 GSSContextSpi getMechanismContext(GSSCredentialSpi credSpi)
           
 GSSContextSpi getMechanismContext(GSSNameSpi nameSpi, GSSCredentialSpi credSpi, int lifetime)
           
 org.ietf.jgss.Oid getMechanismOid()
           
 GSSNameSpi getNameElement(byte[] name, org.ietf.jgss.Oid nameTypeOid)
           
 GSSNameSpi getNameElement(java.lang.String name, org.ietf.jgss.Oid nameTypeOid)
           
 org.ietf.jgss.Oid[] getNameTypes()
           
 java.security.Provider getProvider()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myProvider

protected static java.security.Provider myProvider
Constructor Detail

GSSUPMechFactory

public GSSUPMechFactory()
Method Detail

getMechanismOid

public org.ietf.jgss.Oid getMechanismOid()

getProvider

public java.security.Provider getProvider()

getNameTypes

public org.ietf.jgss.Oid[] getNameTypes()

getCredentialElement

public GSSCredentialSpi getCredentialElement(GSSNameSpi name,
                                             int initLifetime,
                                             int acceptLifetime,
                                             int usage)
                                      throws org.ietf.jgss.GSSException
Throws:
org.ietf.jgss.GSSException

getNameElement

public GSSNameSpi getNameElement(java.lang.String name,
                                 org.ietf.jgss.Oid nameTypeOid)
                          throws org.ietf.jgss.GSSException
Throws:
org.ietf.jgss.GSSException

getNameElement

public GSSNameSpi getNameElement(byte[] name,
                                 org.ietf.jgss.Oid nameTypeOid)
                          throws org.ietf.jgss.GSSException
Throws:
org.ietf.jgss.GSSException

getMechanismContext

public GSSContextSpi getMechanismContext(GSSNameSpi nameSpi,
                                         GSSCredentialSpi credSpi,
                                         int lifetime)
                                  throws org.ietf.jgss.GSSException
Throws:
org.ietf.jgss.GSSException

getMechanismContext

public GSSContextSpi getMechanismContext(GSSCredentialSpi credSpi)
                                  throws org.ietf.jgss.GSSException
Throws:
org.ietf.jgss.GSSException