|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.security.srp.SRPVerifierStoreService
public class 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| Field Summary |
|---|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
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(String username,
String password)
Add a user to the store. |
void |
delUser(String username)
Delete a user to the store. |
String |
getJndiName()
Get the jndi name for the SRPVerifierSource implementation binding. |
String |
getName()
|
void |
initService()
|
void |
setJndiName(String jndiName)
set the jndi name for the SRPVerifierSource implementation binding. |
void |
setStoreFile(String fileName)
Set the location of the user password verifier store |
void |
startService()
|
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, destroyService, getDeploymentInfo, 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 |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, 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 |
|---|
getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Constructor Detail |
|---|
public SRPVerifierStoreService()
| Method Detail |
|---|
public String getJndiName()
getJndiName in interface SRPVerifierStoreServiceMBeanpublic void setJndiName(String jndiName)
setJndiName in interface SRPVerifierStoreServiceMBean
public void setStoreFile(String fileName)
throws IOException
SRPVerifierStoreServiceMBean
setStoreFile in interface SRPVerifierStoreServiceMBeanIOException
public void addUser(String username,
String password)
throws IOException
SRPVerifierStoreServiceMBean
addUser in interface SRPVerifierStoreServiceMBeanIOException
public void delUser(String username)
throws IOException
SRPVerifierStoreServiceMBean
delUser in interface SRPVerifierStoreServiceMBeanIOExceptionpublic String getName()
getName in interface org.jboss.system.ServiceMBeangetName in class org.jboss.system.ServiceMBeanSupport
public void initService()
throws Exception
Exception
public void startService()
throws Exception
startService in class org.jboss.system.ServiceMBeanSupportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||