org.jboss.security.srp
Interface SRPServiceMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
SRPService

public interface SRPServiceMBean
extends org.jboss.system.ServiceMBean

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/.

Version:
$Revision: 1.11 $
Author:
Scott.Stark@jboss.org

Field Summary
 
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
 
Method Summary
 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
 String getClientSocketFactory()
          Get the RMIClientSocketFactory implementation class.
 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
 String getServerSocketFactory()
          Get the RMIServerSocketFactory implementation class.
 String getVerifierSourceJndiName()
          Get the jndi name for the SRPVerifierSource implementation binding.
 Object invoke(org.jboss.invocation.Invocation invocation)
          Expose the Invoker signature via JMX
 void setAuthenticationCacheJndiName(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(String factoryClassName)
          Set the RMIClientSocketFactory implementation class.
 void setJndiName(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(String factoryClassName)
          Set the RMIServerSocketFactory implementation class.
 void setVerifierSourceJndiName(String jndiName)
          set the jndi name for the SRPVerifierSource implementation binding.
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getVerifierSourceJndiName

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


setVerifierSourceJndiName

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


getJndiName

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


setJndiName

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


getAuthenticationCacheJndiName

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


setAuthenticationCacheJndiName

public void setAuthenticationCacheJndiName(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 String getClientSocketFactory()
Get the RMIClientSocketFactory implementation class. If null the default RMI client socket factory implementation is used.


setClientSocketFactory

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

Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException

getServerSocketFactory

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


setServerSocketFactory

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

Throws:
ClassNotFoundException
InstantiationException
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 Object invoke(org.jboss.invocation.Invocation invocation)
              throws Exception
Expose the Invoker signature via JMX

Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.