|
||||||||||
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.SRPService
public class SRPService
The JMX mbean interface for the SRP service. This mbean sets up an RMI implementation of the 'Secure Remote Password' cryptographic authentication system described in RFC2945.
Field Summary |
---|
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
---|
log, 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 | |
---|---|
SRPService()
|
Method Summary | |
---|---|
void |
closedUserSession(SRPSessionKey key)
Called when a user requests that a session be closed |
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 |
String |
getName()
|
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 SRPServerInterface |
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 serverPort)
Get the RMI port for the SRPServerInterface |
void |
setServerSocketFactory(String factoryClassName)
Set the RMIServerSocketFactory implementation class. |
void |
setVerifierSourceJndiName(String jndiName)
set the jndi name for the SRPVerifierSource implementation binding. |
protected void |
startService()
|
protected void |
stopService()
|
void |
verifiedUser(SRPSessionKey key,
SRPServerSession session)
Called when username has sucessfully completed the SRP login. |
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 |
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 SRPService()
Method Detail |
---|
public String getVerifierSourceJndiName()
getVerifierSourceJndiName
in interface SRPServiceMBean
public void setVerifierSourceJndiName(String jndiName)
setVerifierSourceJndiName
in interface SRPServiceMBean
public String getJndiName()
getJndiName
in interface SRPServiceMBean
public void setJndiName(String jndiName)
setJndiName
in interface SRPServiceMBean
public String getAuthenticationCacheJndiName()
getAuthenticationCacheJndiName
in interface SRPServiceMBean
public void setAuthenticationCacheJndiName(String jndiName)
setAuthenticationCacheJndiName
in interface SRPServiceMBean
public int getAuthenticationCacheTimeout()
getAuthenticationCacheTimeout
in interface SRPServiceMBean
public void setAuthenticationCacheTimeout(int timeoutInSecs)
setAuthenticationCacheTimeout
in interface SRPServiceMBean
public int getAuthenticationCacheResolution()
getAuthenticationCacheResolution
in interface SRPServiceMBean
public void setAuthenticationCacheResolution(int resInSecs)
setAuthenticationCacheResolution
in interface SRPServiceMBean
public boolean getRequireAuxChallenge()
SRPServiceMBean
getRequireAuxChallenge
in interface SRPServiceMBean
public void setRequireAuxChallenge(boolean flag)
SRPServiceMBean
setRequireAuxChallenge
in interface SRPServiceMBean
public boolean getOverwriteSessions()
SRPServiceMBean
getOverwriteSessions
in interface SRPServiceMBean
public void setOverwriteSessions(boolean flag)
SRPServiceMBean
setOverwriteSessions
in interface SRPServiceMBean
public String getClientSocketFactory()
getClientSocketFactory
in interface SRPServiceMBean
public void setClientSocketFactory(String factoryClassName) throws ClassNotFoundException, InstantiationException, IllegalAccessException
setClientSocketFactory
in interface SRPServiceMBean
ClassNotFoundException
InstantiationException
IllegalAccessException
public String getServerSocketFactory()
getServerSocketFactory
in interface SRPServiceMBean
public void setServerSocketFactory(String factoryClassName) throws ClassNotFoundException, InstantiationException, IllegalAccessException
setServerSocketFactory
in interface SRPServiceMBean
ClassNotFoundException
InstantiationException
IllegalAccessException
public int getServerPort()
getServerPort
in interface SRPServiceMBean
public void setServerPort(int serverPort)
setServerPort
in interface SRPServiceMBean
public void verifiedUser(SRPSessionKey key, SRPServerSession session)
verifiedUser
in interface SRPServerListener
public void closedUserSession(SRPSessionKey key)
SRPServerListener
closedUserSession
in interface SRPServerListener
public String getName()
getName
in interface org.jboss.system.ServiceMBean
getName
in class org.jboss.system.ServiceMBeanSupport
public Object invoke(org.jboss.invocation.Invocation invocation) throws Exception
SRPServiceMBean
invoke
in interface SRPServiceMBean
Exception
protected void startService() throws Exception
startService
in class org.jboss.system.ServiceMBeanSupport
Exception
protected void stopService() throws Exception
stopService
in class org.jboss.system.ServiceMBeanSupport
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |