org.jacorb.security.sas

Class GSSUPMechFactory

Implemented Interfaces:
MechanismFactory

public final class GSSUPMechFactory
extends java.lang.Object
implements MechanismFactory

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 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)
GSSContextSpi
getMechanismContext(byte[] b1)
Oid
getMechanismOid()
GSSNameSpi
getNameElement(String name, Oid nameTypeOid)
GSSNameSpi
getNameElement(byte[] name, Oid nameTypeOid)
Oid[]
getNameTypes()
Provider
getProvider()

Field Details

myProvider

protected static Provider myProvider

Constructor Details

GSSUPMechFactory

public GSSUPMechFactory()

Method Details

getCredentialElement

public GSSCredentialSpi getCredentialElement(GSSNameSpi name,
                                             int initLifetime,
                                             int acceptLifetime,
                                             int usage)
            throws GSSException


getMechanismContext

public GSSContextSpi getMechanismContext(GSSCredentialSpi credSpi)
            throws GSSException


getMechanismContext

public GSSContextSpi getMechanismContext(GSSNameSpi nameSpi,
                                         GSSCredentialSpi credSpi,
                                         int lifetime)
            throws GSSException


getMechanismContext

public GSSContextSpi getMechanismContext(byte[] b1)
            throws GSSException


getMechanismOid

public Oid getMechanismOid()


getNameElement

public GSSNameSpi getNameElement(String name,
                                 Oid nameTypeOid)
            throws GSSException


getNameElement

public GSSNameSpi getNameElement(byte[] name,
                                 Oid nameTypeOid)
            throws GSSException


getNameTypes

public Oid[] getNameTypes()


getProvider

public Provider getProvider()