View Javadoc

1   /*
2    * $Id: SunSecurityProviderInfo.java 7976 2007-08-21 14:26:13Z 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   * Sun JDK-specific security provider information.
15   */
16  public class SunSecurityProviderInfo implements SecurityProviderInfo
17  {
18  
19      private static final String KEY_MANAGER_ALGORITHM = "SunX509";
20  
21      private static final String PROTOCOL_HANDLER = "com.sun.net.ssl.internal.www.protocol";
22  
23      private static final String PROVIDER_CLASS = "com.sun.net.ssl.internal.ssl.Provider";
24  
25      public String getKeyManagerAlgorithm()
26      {
27          return KEY_MANAGER_ALGORITHM;
28      }
29  
30      public String getProtocolHandler()
31      {
32          return PROTOCOL_HANDLER;
33      }
34  
35      public String getProviderClass()
36      {
37          return PROVIDER_CLASS;
38      }
39  
40  }