org.jboss.security.srp
Interface SRPVerifierStoreServiceMBean

All Superinterfaces:
Service (src) , ServiceMBean (src)
All Known Implementing Classes:
SRPVerifierStoreService (src)

public interface SRPVerifierStoreServiceMBean
extends ServiceMBean (src)

The JMX mbean interface for the SRP password verifier store.


Field Summary
 
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
 
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.
 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
 
Methods inherited from interface org.jboss.system.ServiceMBean (src)
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service (src)
create, destroy, start, stop
 

Method Detail

getJndiName

public java.lang.String getJndiName()
Get the jndi name for the SRPVerifierSource implementation binding.


setJndiName

public void setJndiName(java.lang.String jndiName)
set the jndi name for the SRPVerifierSource implementation binding.


setStoreFile

public void setStoreFile(java.lang.String fileName)
                  throws java.io.IOException
Set the location of the user password verifier store

Throws:
java.io.IOException

addUser

public void addUser(java.lang.String username,
                    java.lang.String password)
             throws java.io.IOException
Add a user to the store.

Throws:
java.io.IOException

delUser

public void delUser(java.lang.String username)
             throws java.io.IOException
Delete a user to the store.

Throws:
java.io.IOException