|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.security.srp.SRPVerifierStoreService
The JMX mbean interface for the SRP password verifier store. This implementation uses the SerialObjectStore as a simple and yet secure source of usernames and their password verifiers and verifier salts. It also provides a simple interface for adding and deleting users from the SerialObjectStore. The mbean stores a non-serializable reference to the SRPVerifierStore interface in JNDI under the property.
SerialObjectStore
(src) Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
SRPVerifierStoreService()
|
Method Summary | |
void |
addUser(java.lang.String username,
java.lang.String password)
Add a user to the store. |
void |
delUser(java.lang.String username)
Delete a user to the store. |
java.lang.String |
getJndiName()
Get the jndi name for the SRPVerifierSource implementation binding. |
java.lang.String |
getName()
Use the short class name as the default for the service name. |
void |
initService()
|
void |
setJndiName(java.lang.String jndiName)
set the jndi name for the SRPVerifierSource implementation binding. |
void |
setStoreFile(java.lang.String fileName)
Set the location of the user password verifier store |
void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean (src) |
getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Constructor Detail |
public SRPVerifierStoreService()
Method Detail |
public java.lang.String getJndiName()
getJndiName
in interface SRPVerifierStoreServiceMBean (src)
public void setJndiName(java.lang.String jndiName)
setJndiName
in interface SRPVerifierStoreServiceMBean (src)
public void setStoreFile(java.lang.String fileName) throws java.io.IOException
SRPVerifierStoreServiceMBean (src)
setStoreFile
in interface SRPVerifierStoreServiceMBean (src)
java.io.IOException
public void addUser(java.lang.String username, java.lang.String password) throws java.io.IOException
SRPVerifierStoreServiceMBean (src)
addUser
in interface SRPVerifierStoreServiceMBean (src)
java.io.IOException
public void delUser(java.lang.String username) throws java.io.IOException
SRPVerifierStoreServiceMBean (src)
delUser
in interface SRPVerifierStoreServiceMBean (src)
java.io.IOException
public java.lang.String getName()
ServiceMBeanSupport (src)
getName
in interface ServiceMBean (src)
getName
in class ServiceMBeanSupport (src)
public void initService() throws java.lang.Exception
java.lang.Exception
public void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |