org.exolab.jms.net.util
Class SSLHelper

java.lang.Object
  |
  +--org.exolab.jms.net.util.SSLHelper

public class SSLHelper
extends java.lang.Object

Helper class for configuring the secure socket layer (SSL).

Version:
$Revision: 1.3 $
Author:
Tim Anderson

Field Summary
static java.lang.String KEY_STORE
          System property to indicate the keystore to use.
static java.lang.String KEY_STORE_PASSWORD
          System property to indicate the keystore password.
static java.lang.String KEY_STORE_TYPE
          System property to indicate the keystore type.
static java.lang.String TRUST_STORE
          System property to indicate the truststore to use.
static java.lang.String TRUST_STORE_PASSWORD
          System property to indicate the truststore password.
static java.lang.String TRUST_STORE_TYPE
          System property to indicate the truststore type.
 
Constructor Summary
SSLHelper()
           
 
Method Summary
static void configure(SSLProperties properties)
          Configure the secure socket layer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_STORE

public static final java.lang.String KEY_STORE
System property to indicate the keystore to use.

KEY_STORE_TYPE

public static final java.lang.String KEY_STORE_TYPE
System property to indicate the keystore type.

KEY_STORE_PASSWORD

public static final java.lang.String KEY_STORE_PASSWORD
System property to indicate the keystore password.

TRUST_STORE

public static final java.lang.String TRUST_STORE
System property to indicate the truststore to use.

TRUST_STORE_PASSWORD

public static final java.lang.String TRUST_STORE_PASSWORD
System property to indicate the truststore password.

TRUST_STORE_TYPE

public static final java.lang.String TRUST_STORE_TYPE
System property to indicate the truststore type.
Constructor Detail

SSLHelper

public SSLHelper()
Method Detail

configure

public static void configure(SSLProperties properties)
                      throws java.lang.SecurityException
Configure the secure socket layer.

This sets system properties corresponding to those specified by properties

Parameters:
properties - the properties to use
Throws:
java.lang.SecurityException - if the security manager doesn't allow a property to be updated.


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.