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

Java Open Source » ESB » mule 
mule » org » mule » api » security » provider » IBMSecurityProvider2Info.java
/*
 * $Id: IBMSecurityProvider2Info.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;

/**
 * IBM JDK 1.4.2-specific security provider information. Contains config details for
 * IBM JSSE2. Note, versions lower than 1.4.1 <strong>do not</strong> have this
 * provider bundled.
 */
public class IBMSecurityProvider2Info implements SecurityProviderInfo
{

    private static final String KEY_MANAGER_ALGORITHM = "IbmX509";

    private static final String PROTOCOL_HANDLER = "com.ibm.net.ssl.www2.protocol.Handler";

    private static final String PROVIDER_CLASS = "com.ibm.jsse2.IBMJSSEProvider2";

    public String getKeyManagerAlgorithm()
    {
        return IBMSecurityProvider2Info.KEY_MANAGER_ALGORITHM;
    }

    public String getProtocolHandler()
    {
        return IBMSecurityProvider2Info.PROTOCOL_HANDLER;
    }

    public String getProviderClass()
    {
        return IBMSecurityProvider2Info.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.