Package org.jpos.q2.security
Class KeyStoreAdaptor
- java.lang.Object
-
- org.jpos.q2.QBeanSupport
-
- org.jpos.q2.security.KeyStoreAdaptor
-
- All Implemented Interfaces:
Configurable
,QBean
,QBeanSupportMBean
,QPersist
,KeyStoreAdaptorMBean
public class KeyStoreAdaptor extends QBeanSupport implements KeyStoreAdaptorMBean
KeyStoreAdaptor Sample Configuration<key-store class="org.jpos.q2.security.KeyStoreAdaptor" logger="Q2"> <attr name="impl">org.jpos.security.SimpleKeyFile</attr> <property name="key-file" value="deploy/keys" /> </key-store>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_IMPL
-
Fields inherited from class org.jpos.q2.QBeanSupport
cfg, log, scheduledThreadPoolExecutor
-
-
Constructor Summary
Constructors Constructor Description KeyStoreAdaptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
destroyService()
java.lang.String
getImpl()
protected void
initService()
void
setImpl(java.lang.String clazz)
-
Methods inherited from class org.jpos.q2.QBeanSupport
addAttr, close, createElement, destroy, getAttrs, getAttrs, getConfiguration, getDump, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getScheduledThreadPoolExecutor, getServer, getState, getStateAsString, init, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, startService, stop, stopService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jpos.q2.QBean
destroy, getState, getStateAsString, init, start, stop
-
Methods inherited from interface org.jpos.q2.QBeanSupportMBean
getDump, getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer
-
Methods inherited from interface org.jpos.q2.QPersist
getPersist, isModified
-
-
-
-
Field Detail
-
DEFAULT_IMPL
public static final java.lang.String DEFAULT_IMPL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
KeyStoreAdaptor
public KeyStoreAdaptor()
-
-
Method Detail
-
initService
protected void initService() throws java.lang.Exception
- Overrides:
initService
in classQBeanSupport
- Throws:
java.lang.Exception
-
setImpl
public void setImpl(java.lang.String clazz)
- Specified by:
setImpl
in interfaceKeyStoreAdaptorMBean
-
getImpl
public java.lang.String getImpl()
- Specified by:
getImpl
in interfaceKeyStoreAdaptorMBean
-
destroyService
protected void destroyService() throws java.lang.Exception
- Overrides:
destroyService
in classQBeanSupport
- Throws:
java.lang.Exception
-
-