01: package org.jacorb.security.sas;
02:
03: /*
04: * JacORB - a free Java ORB
05: *
06: * Copyright (C) 2002-2004 Gerald Brose
07: *
08: * This library is free software; you can redistribute it and/or
09: * modify it under the terms of the GNU Library General Public
10: * License as published by the Free Software Foundation; either
11: * version 2 of the License, or (at your option) any later version.
12: *
13: * This library is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16: * Library General Public License for more details.
17: *
18: * You should have received a copy of the GNU Library General Public
19: * License along with this library; if not, write to the Free
20: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21: */
22:
23: import java.security.Provider;
24:
25: /**
26: * This is the GSS-API Sercurity Provider Interface (SPI) Provider for the GSSUP Name
27: *
28: * @author David Robison
29: * @version $Id: GSSUPProvider.java,v 1.10 2004/05/07 13:08:29 david.robison Exp $
30: */
31:
32: public class GSSUPProvider extends Provider {
33: //private static InitialContextToken defaultSubject = new InitialContextToken();
34: //private org.omg.CORBA.ORB orb = null;
35: //private org.omg.IOP.Codec codec = null;
36:
37: /**
38: * Returns the default GSSManager implementation.
39: *
40: */
41: public GSSUPProvider(/*org.omg.CORBA.ORB orb*/) {
42: super ("GSSUP", 1.0, "JacORB GSSUP provider v1.0");
43: GSSUPMechFactory.myProvider = this ;
44: this .put("GssApiMechanism.2.23.130.1.1.1",
45: "org.jacorb.security.sas.GSSUPMechFactory");
46: //this.orb = orb;
47: }
48:
49: //public org.omg.CORBA.ORB getORB()
50: //{
51: // return orb;
52: //}
53:
54: //public void setORB(org.omg.CORBA.ORB orb)
55: //{
56: // this.orb = orb;
57: //}
58:
59: //public org.omg.IOP.Codec getCodec()
60: //{
61: // return codec;
62: //}
63:
64: //public void setCodec(org.omg.IOP.Codec codec)
65: //{
66: // this.codec = codec;
67: //}
68:
69: }
|