public class WlsSSLAdapter extends Object implements SSLAdapter, Serializable
Constructor and Description |
---|
WlsSSLAdapter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpURLConnection |
openConnection(URL url,
Proxy proxy,
TransportInfo info)
Deprecated.
This method is called by Server Internal Implementaion on the implementation
class of this interface.
|
void |
setClientCert(String alias,
char[] password)
Deprecated.
|
void |
setKeystore(String location,
char[] password,
String type)
Deprecated.
|
void |
setTrustManager(TrustManager tm)
Deprecated.
|
public HttpURLConnection openConnection(URL url, Proxy proxy, TransportInfo info) throws IOException
openConnection
in interface SSLAdapter
url
- URL object which represents the end point.proxy
- Proxy object which represents proxy server's details.info
- IOException
public void setClientCert(String alias, char[] password) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableEntryException
setClientCert
in interface SSLAdapter
alias
- alias of the privatekey in the keystore.password
- password for the privatekey.KeyStoreException
NoSuchAlgorithmException
UnrecoverableEntryException
public void setKeystore(String location, char[] password, String type)
setKeystore
in interface SSLAdapter
location
- keystore location as string.password
- password of the keystore.type
- keystore type.public void setTrustManager(TrustManager tm)