org.jpos.q2.security
Class SMAdaptor

java.lang.Object
  extended by org.jpos.q2.QBeanSupport
      extended by 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

Field Summary
 
Fields inherited from class org.jpos.q2.QBeanSupport
cfg, log
 
Fields inherited from interface org.jpos.q2.QBean
DESTROYED, FAILED, STARTED, STARTING, stateString, STOPPED, STOPPING
 
Constructor Summary
SMAdaptor()
           
 
Method Summary
 String getImpl()
           
protected  void initService()
           
 void setImpl(String clazz)
           
protected  void startService()
           
protected  void stopService()
           
 
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
 
Methods inherited from interface org.jpos.q2.QBean
destroy, getState, getStateAsString, init, start, stop
 
Methods inherited from interface org.jpos.q2.QPersist
getPersist, isModified
 

Constructor Detail

SMAdaptor

public SMAdaptor()
Method Detail

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.