SunSecurityProviderInfo.java :  » ESB » mule » org » mule » api » security » provider » Java Open Source

Java Open Source » ESB » mule 
mule » org » mule » api » security » provider » SunSecurityProviderInfo.java
/*
 * $Id: SunSecurityProviderInfo.java 10489 2008-01-23 17:53:38Z dfeist $
 * --------------------------------------------------------------------------------------
 * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 *
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */

package org.mule.api.security.provider;

/**
 * Sun JDK-specific security provider information.
 */
public class SunSecurityProviderInfo implements SecurityProviderInfo
{

    private static final String KEY_MANAGER_ALGORITHM = "SunX509";

    private static final String PROTOCOL_HANDLER = "com.sun.net.ssl.internal.www.protocol";

    private static final String PROVIDER_CLASS = "com.sun.net.ssl.internal.ssl.Provider";

    public String getKeyManagerAlgorithm()
    {
        return KEY_MANAGER_ALGORITHM;
    }

    public String getProtocolHandler()
    {
        return PROTOCOL_HANDLER;
    }

    public String getProviderClass()
    {
        return PROVIDER_CLASS;
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.