org.jpos.q2.security
Class SMAdaptor
java.lang.Object
org.jpos.q2.QBeanSupport
org.jpos.q2.security.SMAdaptor
- All Implemented Interfaces:
- Configurable, QBean, QBeanSupportMBean, QPersist, SMAdaptorMBean
public class SMAdaptor
- extends QBeanSupport
- implements SMAdaptorMBean
SMAdaptor Adaptor
Sample Configuration
<s-m-adaptor class="org.jpos.q2.security.SMAdaptor" logger="Q2">
<attr name="impl">org.jpos.security.jceadapter.JCESecurityModule</attr>
<property name="provider" value="com.sun.crypto.provider.SunJCE" />
<property name="lmk" value="path/to/your/lmk" />
</s-m-adaptor>
- Version:
- $Revision$ $Date$
- Author:
- Hani Kirollos, Alejandro Revilla
| Methods inherited from class org.jpos.q2.QBeanSupport |
addAttr, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getServer, getState, getStateAsString, init, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, shutdownQ2, start, stop |
| 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.QBeanSupportMBean |
getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer, shutdownQ2 |
SMAdaptor
public SMAdaptor()
initService
protected void initService()
throws Exception
- Overrides:
initService in class QBeanSupport
- Throws:
Exception
setImpl
public void setImpl(String clazz)
- Specified by:
setImpl in interface SMAdaptorMBean
getImpl
public String getImpl()
- Specified by:
getImpl in interface SMAdaptorMBean
startService
protected void startService()
throws Exception
- Overrides:
startService in class QBeanSupport
- Throws:
Exception
stopService
protected void stopService()
throws Exception
- Overrides:
stopService in class QBeanSupport
- Throws:
Exception
Copyright © 1998-2012 jPOS.org. All Rights Reserved.