Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02

weblogic.wsee.jaxws.sslclient
Class PersistentSSLInfo

java.lang.Object
  extended by weblogic.wsee.jaxws.sslclient.PersistentSSLInfo
All Implemented Interfaces:
Serializable

public class PersistentSSLInfo
extends Object
implements Serializable

A javabean to set SSL client properties, notice this class is a Serializable implement, so all these properties can be persistent if necessary.

Since:
WebLogic 11g (Farallon)
See Also:
Serialized Form

Constructor Summary
PersistentSSLInfo()
           
 
Method Summary
 String getKeyAlias()
           
 String getKeyPassword()
           
 String getKeystore()
           
 String getKeystorePassword()
           
 String getKeystoreType()
           
 String getTrustKeystore()
           
 String getTrustKeystoreAlgorithm()
           
 String getTrustKeystorePassword()
           
 String getTrustKeystoreProvider()
           
 String getTrustKeystoreType()
           
 void setKeyAlias(String keyAlias)
          Set client key(cert) Alias
 void setKeyPassword(String keyPassword)
          Set client key(cert) Alias's password
 void setKeystore(String keystore)
          Set client keystore for Two-way SSL.
 void setKeystorePassword(String keystorePassword)
          Set client keystore password for Two-way SSL.
 void setKeystoreType(String keystoreType)
          Set client keystore type for Two-way SSL.
 void setTrustKeystore(String trustKeystore)
          Set client trust keystore for Two-way SSL
 void setTrustKeystoreAlgorithm(String trustKeystoreAlgorithm)
          Set client trustKeystore Algorithm for Two-way SSL
 void setTrustKeystorePassword(String trustKeystorePassword)
          Deprecated. usually, the password need not set.
 void setTrustKeystoreProvider(String trustKeystoreProvider)
          Set client trustKeystore Provider for Two-way SSL
 void setTrustKeystoreType(String trustKeystoreType)
          Set client trust keystore type for Two-way SSL
 String toString()
          Print current SSL information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistentSSLInfo

public PersistentSSLInfo()
Method Detail

getTrustKeystoreAlgorithm

public String getTrustKeystoreAlgorithm()

setTrustKeystoreAlgorithm

public void setTrustKeystoreAlgorithm(String trustKeystoreAlgorithm)
Set client trustKeystore Algorithm for Two-way SSL

The method is optional for setting instance, default keystore Algorithm is "SunX509"

Parameters:
trustKeystoreAlgorithm -

getTrustKeystoreProvider

public String getTrustKeystoreProvider()

setTrustKeystoreProvider

public void setTrustKeystoreProvider(String trustKeystoreProvider)
Set client trustKeystore Provider for Two-way SSL

The method is optional for setting instance, default keystore Provider is "SunJSSE"

Parameters:
trustKeystoreProvider -

getKeyAlias

public String getKeyAlias()

setKeyAlias

public void setKeyAlias(String keyAlias)
Set client key(cert) Alias

The method is optional for setting instance. System will find the unique key from keystore if the keyAlias is null (not set).

Parameters:
keyAlias -

getKeyPassword

public String getKeyPassword()

setKeyPassword

public void setKeyPassword(String keyPassword)
Set client key(cert) Alias's password

The method is optional for setting instance. System will take keystore's password as the key password if the keyAlias is null (not set).

Parameters:
keyPassword -

getKeystore

public String getKeystore()

setKeystore

public void setKeystore(String keystore)
Set client keystore for Two-way SSL.

The method is mandatory for setting instance

Parameters:
keystore -

getKeystorePassword

public String getKeystorePassword()

setKeystorePassword

public void setKeystorePassword(String keystorePassword)
Set client keystore password for Two-way SSL.

The method is mandatory for setting instance

Parameters:
keystorePassword -

getKeystoreType

public String getKeystoreType()

setKeystoreType

public void setKeystoreType(String keystoreType)
Set client keystore type for Two-way SSL.

The method is optional for setting instance, default keystore type is "JKS"

Parameters:
keystoreType -

getTrustKeystore

public String getTrustKeystore()

setTrustKeystore

public void setTrustKeystore(String trustKeystore)
Set client trust keystore for Two-way SSL

The method is mandatory for setting instance

Parameters:
trustKeystore -

getTrustKeystorePassword

public String getTrustKeystorePassword()

setTrustKeystorePassword

public void setTrustKeystorePassword(String trustKeystorePassword)
Deprecated. usually, the password need not set.

Set client trust keystore password for Two-way SSL

Parameters:
trustKeystorePassword -

getTrustKeystoreType

public String getTrustKeystoreType()

setTrustKeystoreType

public void setTrustKeystoreType(String trustKeystoreType)
Set client trust keystore type for Two-way SSL

The method is optional for setting instance, default keystore type is "JKS"

Parameters:
trustKeystoreType -

toString

public String toString()
Print current SSL information

Overrides:
toString in class Object

Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm
Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02