|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.ssl.AbstractSSLContextInitializer
public abstract class AbstractSSLContextInitializer
Provides common implementation for SSLContextInitializer.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
logger
Log for this class. |
| Constructor Summary | |
|---|---|
AbstractSSLContextInitializer()
|
|
| Method Summary | |
|---|---|
abstract KeyManager[] |
getKeyManagers()
Returns the key managers used when creating SSL contexts. |
abstract TrustManager[] |
getTrustManagers()
Returns the trust managers used when creating SSL contexts. |
SSLContext |
initSSLContext(String protocol)
Creates an initialized SSLContext for the supplied protocol. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public AbstractSSLContextInitializer()
| Method Detail |
|---|
public SSLContext initSSLContext(String protocol)
throws GeneralSecurityException
initSSLContext in interface SSLContextInitializerprotocol - type to use for SSL
SSLContext
GeneralSecurityException - if the SSLContext cannot be created
public abstract TrustManager[] getTrustManagers()
throws GeneralSecurityException
getTrustManagers in interface SSLContextInitializerTrustManager[]
GeneralSecurityException - if an errors occurs while loading the
TrustManagers
public abstract KeyManager[] getKeyManagers()
throws GeneralSecurityException
getKeyManagers in interface SSLContextInitializerKeyManagers[]
GeneralSecurityException - if an errors occurs while loading the
KeyManagers
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||