Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
SunSecurityProviderInfo |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: SunSecurityProviderInfo.java 10489 2008-01-23 17:53:38Z dfeist $ | |
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.api.security.provider; | |
12 | ||
13 | /** | |
14 | * Sun JDK-specific security provider information. | |
15 | */ | |
16 | 2 | 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 | 18 | return KEY_MANAGER_ALGORITHM; |
28 | } | |
29 | ||
30 | public String getProtocolHandler() | |
31 | { | |
32 | 8 | return PROTOCOL_HANDLER; |
33 | } | |
34 | ||
35 | public String getProviderClass() | |
36 | { | |
37 | 8 | return PROVIDER_CLASS; |
38 | } | |
39 | ||
40 | } |