|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractLogEnabled
org.openorb.orb.ssl.SSLContextFinder
org.openorb.orb.ssl.JSSEContextFinder
public class JSSEContextFinder
Creates JSSE-specific SSL contexts. In most applications there will only be a single instance of this class, this differs from most other orb parts in which there is one per VM... This can be overloaded by an application to provide extended functionality if required. Overloading classes are encouraged to use identical property keys.
Field Summary |
---|
Fields inherited from class org.openorb.orb.ssl.SSLContextFinder |
---|
m_server_socket_factory, m_socket_factory, s_instance |
Constructor Summary | |
---|---|
JSSEContextFinder()
This constructor, is followed by a call to setFactories, can be used when sublclassing the context. |
Method Summary | |
---|---|
protected com.sun.net.ssl.KeyManager[] |
getKeyManagers(ORBLoader loader)
Load the key managers. |
protected com.sun.net.ssl.TrustManager[] |
getTrustManagers(ORBLoader loader)
Load trust managers. |
void |
initialize(ORBLoader loader)
Default construction from properties. |
protected void |
initializeSocketFactories(ORBLoader loader)
Initialize socket factories. |
protected java.net.URL |
promptKeystore(java.lang.String owner,
java.net.URL defl,
org.omg.CORBA.CharSeqHolder csh)
Prompt for a keystore and password. |
protected char[] |
promptPassword(java.lang.String owner,
java.net.URL defl)
Prompt for a password for the specified keystore. |
Methods inherited from class org.openorb.orb.ssl.SSLContextFinder |
---|
getDefault, getDefault, getServerSocketFactory, getSocketFactory, setFactories |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSSEContextFinder()
Method Detail |
---|
public void initialize(ORBLoader loader)
initialize
in class SSLContextFinder
loader
- The ORB loader.
org.omg.CORBA.INITIALIZE
- Indicates a problem locating
JSSE-related resources required by configuration.protected void initializeSocketFactories(ORBLoader loader)
loader
- The ORB loader.protected com.sun.net.ssl.KeyManager[] getKeyManagers(ORBLoader loader)
getKeyManagers
in class SSLContextFinder
loader
- The ORB loader.
org.omg.CORBA.INITIALIZE
- Indicates a problem locating
JSSE-related resources required by configuration.protected com.sun.net.ssl.TrustManager[] getTrustManagers(ORBLoader loader)
getTrustManagers
in class SSLContextFinder
loader
- The ORB loader.
org.omg.CORBA.INITIALIZE
- Indicates a problem locating
JSSE-related resources required by configuration.protected java.net.URL promptKeystore(java.lang.String owner, java.net.URL defl, org.omg.CORBA.CharSeqHolder csh)
promptKeystore
in class SSLContextFinder
owner
- keystore owner. This will be "key manager" or "trust manager"defl
- default URL obtained from properties.csh
- out paramater, contains password on return.
protected char[] promptPassword(java.lang.String owner, java.net.URL defl)
promptPassword
in class SSLContextFinder
owner
- keystore owner. This will be "key manager" or "trust manager"defl
- URL obtained from properties of the keystore.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |