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: 57210 $
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

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


setVerifierSourceJndiName

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


getJndiName

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


setJndiName

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


getAuthenticationCacheJndiName

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


setAuthenticationCacheJndiName

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


getAuthenticationCacheTimeout

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


setAuthenticationCacheTimeout

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


getAuthenticationCacheResolution

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


setAuthenticationCacheResolution

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


getRequireAuxChallenge

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


setRequireAuxChallenge

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


getOverwriteSessions

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


setOverwriteSessions

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


getClientSocketFactory

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


setClientSocketFactory

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

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


setServerSocketFactory

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

int getServerPort()
Get the RMI port for the SRPRemoteServerInterface


setServerPort

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


invoke

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.