View Javadoc

1   /*
2    * $Id: IBMSecurityProvider2Info.java 7963 2007-08-21 08:53:15Z dirk.olmes $
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 CPAL v1.0
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 KEY_MANAGER_ALGORITHM = "IbmX509";
22  
23      private static final String PROTOCOL_HANDLER = "com.ibm.net.ssl.www2.protocol.Handler";
24  
25      private static final String PROVIDER_CLASS = "com.ibm.jsse2.IBMJSSEProvider2";
26  
27      public String getKeyManagerAlgorithm()
28      {
29          return IBMSecurityProvider2Info.KEY_MANAGER_ALGORITHM;
30      }
31  
32      public String getProtocolHandler()
33      {
34          return IBMSecurityProvider2Info.PROTOCOL_HANDLER;
35      }
36  
37      public String getProviderClass()
38      {
39          return IBMSecurityProvider2Info.PROVIDER_CLASS;
40      }
41  
42  }