org.jboss.security.srp
Interface SRPServiceMBean

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

public interface SRPServiceMBean
extends ServiceMBean (src)

The JMX mbean interface for the SRP service. This mbean sets up an RMI implementation of the 'Secure Remote Password' cryptographic authentication system developed by Tom Wu (tjw@CS.Stanford.EDU). For more info on SRP see http://www-cs-students.stanford.edu/~tjw/srp/.


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
 java.lang.String getAuthenticationCacheJndiName()
          Get the jndi name under which the SRPServerInterface proxy should be bound
 int getAuthenticationCacheResolution()
          Get the auth cache resolution period in seconds
 int getAuthenticationCacheTimeout()
          Get the auth cache timeout period in seconds
 java.lang.String getClientSocketFactory()
          Get the RMIClientSocketFactory implementation class.
 java.lang.String getJndiName()
          Get the jndi name under which the SRPServerInterface proxy should be bound
 boolean getOverwriteSessions()
          A flag indicating if a successful user auth for an existing session should overwrite the current session.
 boolean getRequireAuxChallenge()
          Get if the client must supply an auxillary challenge as part of the verify phase.
 int getServerPort()
          Get the RMI port for the SRPRemoteServerInterface
 java.lang.String getServerSocketFactory()
          Get the RMIServerSocketFactory implementation class.
 java.lang.String getVerifierSourceJndiName()
          Get the jndi name for the SRPVerifierSource implementation binding.
 java.lang.Object invoke(Invocation (src)  invocation)
          Expose the Invoker signature via JMX
 void setAuthenticationCacheJndiName(java.lang.String jndiName)
          Set the jndi name under which the SRPServerInterface proxy should be bound
 void setAuthenticationCacheResolution(int resInSecs)
          Set the auth cache resolution period in seconds
 void setAuthenticationCacheTimeout(int timeoutInSecs)
          Set the auth cache timeout period in seconds
 void setClientSocketFactory(java.lang.String factoryClassName)
          Set the RMIClientSocketFactory implementation class.
 void setJndiName(java.lang.String jndiName)
          Set the jndi name under which the SRPServerInterface proxy should be bound
 void setOverwriteSessions(boolean flag)
          Set the flag indicating if a successful user auth for an existing session should overwrite the current session.
 void setRequireAuxChallenge(boolean flag)
          Set if the client must supply an auxillary challenge as part of the verify phase.
 void setServerPort(int port)
          Set the RMI port for the SRPRemoteServerInterface
 void setServerSocketFactory(java.lang.String factoryClassName)
          Set the RMIServerSocketFactory implementation class.
 void setVerifierSourceJndiName(java.lang.String jndiName)
          set the jndi name for the SRPVerifierSource implementation binding.
 
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

getVerifierSourceJndiName

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


setVerifierSourceJndiName

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


getJndiName

public java.lang.String getJndiName()
Get the jndi name under which the SRPServerInterface proxy should be bound


setJndiName

public void setJndiName(java.lang.String jndiName)
Set the jndi name under which the SRPServerInterface proxy should be bound


getAuthenticationCacheJndiName

public java.lang.String getAuthenticationCacheJndiName()
Get the jndi name under which the SRPServerInterface proxy should be bound


setAuthenticationCacheJndiName

public void setAuthenticationCacheJndiName(java.lang.String jndiName)
Set the jndi name under which the SRPServerInterface proxy should be bound


getAuthenticationCacheTimeout

public int getAuthenticationCacheTimeout()
Get the auth cache timeout period in seconds


setAuthenticationCacheTimeout

public void setAuthenticationCacheTimeout(int timeoutInSecs)
Set the auth cache timeout period in seconds


getAuthenticationCacheResolution

public int getAuthenticationCacheResolution()
Get the auth cache resolution period in seconds


setAuthenticationCacheResolution

public void setAuthenticationCacheResolution(int resInSecs)
Set the auth cache resolution period in seconds


getRequireAuxChallenge

public boolean getRequireAuxChallenge()
Get if the client must supply an auxillary challenge as part of the verify phase.


setRequireAuxChallenge

public void setRequireAuxChallenge(boolean flag)
Set if the client must supply an auxillary challenge as part of the verify phase.


getOverwriteSessions

public boolean getOverwriteSessions()
A flag indicating if a successful user auth for an existing session should overwrite the current session.


setOverwriteSessions

public void setOverwriteSessions(boolean flag)
Set the flag indicating if a successful user auth for an existing session should overwrite the current session.


getClientSocketFactory

public java.lang.String getClientSocketFactory()
Get the RMIClientSocketFactory implementation class. If null the default RMI client socket factory implementation is used.


setClientSocketFactory

public void setClientSocketFactory(java.lang.String factoryClassName)
                            throws java.lang.ClassNotFoundException,
                                   java.lang.InstantiationException,
                                   java.lang.IllegalAccessException
Set the RMIClientSocketFactory implementation class. If null the default RMI client socket factory implementation is used.

Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

getServerSocketFactory

public java.lang.String getServerSocketFactory()
Get the RMIServerSocketFactory implementation class. If null the default RMI server socket factory implementation is used.


setServerSocketFactory

public void setServerSocketFactory(java.lang.String factoryClassName)
                            throws java.lang.ClassNotFoundException,
                                   java.lang.InstantiationException,
                                   java.lang.IllegalAccessException
Set the RMIServerSocketFactory implementation class. If null the default RMI server socket factory implementation is used.

Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

getServerPort

public int getServerPort()
Get the RMI port for the SRPRemoteServerInterface


setServerPort

public void setServerPort(int port)
Set the RMI port for the SRPRemoteServerInterface


invoke

public java.lang.Object invoke(Invocation (src)  invocation)
                        throws java.lang.Exception
Expose the Invoker signature via JMX

Throws:
java.lang.Exception