KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > umo > security > provider > IBMSecurityProvider2Info


1 /*
2  * $Id: IBMSecurityProvider2Info.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.umo.security.provider;
12
13 /**
14  * IBM JDK 1.4.2-specific security provider information. Contains config details for
15  * IBM JSSE2. Note, versions lower than 1.4.1 <strong>do not</strong> have this
16  * provider bundled.
17  */

18 public class IBMSecurityProvider2Info implements SecurityProviderInfo
19 {
20
21     private static final String JavaDoc KEY_MANAGER_ALGORITHM = "IbmX509";
22
23     private static final String JavaDoc PROTOCOL_HANDLER = "com.ibm.net.ssl.www2.protocol.Handler";
24
25     private static final String JavaDoc PROVIDER_CLASS = "com.ibm.jsse2.IBMJSSEProvider2";
26
27     public String JavaDoc getKeyManagerAlgorithm()
28     {
29         return IBMSecurityProvider2Info.KEY_MANAGER_ALGORITHM;
30     }
31
32     public String JavaDoc getProtocolHandler()
33     {
34         return IBMSecurityProvider2Info.PROTOCOL_HANDLER;
35     }
36
37     public String JavaDoc getProviderClass()
38     {
39         return IBMSecurityProvider2Info.PROVIDER_CLASS;
40     }
41
42 }
43
Popular Tags