org.norther.tammi.core.net
Class AbstractSecureSocketFactory
java.lang.Object
org.norther.tammi.core.base.Adaptee
org.norther.tammi.core.base.DefaultObjectFactory
org.norther.tammi.core.net.AbstractCommonFactory
org.norther.tammi.core.net.AbstractCommonSecureFactory
org.norther.tammi.core.net.AbstractSecureSocketFactory
- All Implemented Interfaces:
- Serializable, EventListener, NotificationBroadcaster, NotificationEmitter, NotificationListener, Manageable, MBeanDelegate, ObjectFactory, CommonFactory, CommonSecureFactory
- Direct Known Subclasses:
- DefaultSecureServerSocketFactory, DefaultSecureSocketFactory
public abstract class AbstractSecureSocketFactory
- extends AbstractCommonSecureFactory
An abstract implementation of network socket CommonSecureFactory.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
| Methods inherited from class org.norther.tammi.core.net.AbstractCommonSecureFactory |
clearContextObjects, getDefaultAlias, getKeyManagerAlgorithm, getKeyManagerProvider, getKeyStoreLoaderName, getSecureSocketProtocol, getSecureSocketProvider, getSSLContext, getTrustManagerAlgorithm, getTrustManagerProvider, getTrustStoreLoaderName, handleNotification, isSecure, postmanaged, setDefaultAlias, setDefaultPassword, setKeyManagerAlgorithm, setKeyManagerProvider, setKeyStoreLoaderName, setSecureSocketProtocol, setSecureSocketProvider, setTrustManagerAlgorithm, setTrustManagerProvider, setTrustStoreLoaderName, unmanaged |
| Methods inherited from class org.norther.tammi.core.base.Adaptee |
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSecureSocketFactory
protected AbstractSecureSocketFactory()
- Constructs an SSL base socket factory.
getEnabledCipherSuites
public String[] getEnabledCipherSuites(String alias)
- Description copied from interface:
CommonSecureFactory
- Gets the enabled cipher suites for the specified key store alias.
- Parameters:
alias - the alias.
- Returns:
- an array of cipher suite names.
getSupportedCipherSuites
public String[] getSupportedCipherSuites(String alias)
- Description copied from interface:
CommonSecureFactory
- Gets the supported cipher suites for the specified key store alias.
- Parameters:
alias - the alias.
- Returns:
- an array of cipher suite names.
getSocketFactory
protected SocketFactory getSocketFactory(String alias,
String pswd)
throws ConstructionException
- Description copied from class:
AbstractCommonFactory
- Gets the implementation of the socket factory.
- Specified by:
getSocketFactory in class AbstractCommonFactory
- Parameters:
alias - an optional key alias.pswd - an optional key password.
- Returns:
- the factory.
- Throws:
ConstructionException - if a resource is not available.
getServerSocketFactory
protected ServerSocketFactory getServerSocketFactory(String alias,
String pswd)
throws ConstructionException
- Description copied from class:
AbstractCommonFactory
- Gets the implementation of the server socket factory.
- Specified by:
getServerSocketFactory in class AbstractCommonFactory
- Parameters:
alias - an optional key alias.pswd - an optional key password.
- Returns:
- the factory.
- Throws:
ConstructionException - if a resource is not available.
Copyright © 2004 The Norther Organization. All rights reserved.