|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.security.srp.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 (src) |
log, SERVICE_CONTROLLER_SIG, serviceName |
| 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 |
| Constructor Summary | |
SRPService()
|
|
| Method Summary | |
void |
closedUserSession(SRPSessionKey (src) key)
Called when a user requests that a session be closed |
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 |
java.lang.String |
getName()
Use the short class name as the default for the service name. |
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 |
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 serverPort)
Get the RMI port for the SRPServerInterface |
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. |
protected void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
protected void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
void |
verifiedUser(SRPSessionKey (src) key,
SRPServerSession (src) session)
Called when username has sucessfully completed the SRP login. |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, 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 (src) |
addNotificationListener, getNotificationInfo, handleNotification, 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 (src) |
getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
| Constructor Detail |
public SRPService()
| Method Detail |
public java.lang.String getVerifierSourceJndiName()
getVerifierSourceJndiName in interface SRPServiceMBean (src) public void setVerifierSourceJndiName(java.lang.String jndiName)
setVerifierSourceJndiName in interface SRPServiceMBean (src) public java.lang.String getJndiName()
getJndiName in interface SRPServiceMBean (src) public void setJndiName(java.lang.String jndiName)
setJndiName in interface SRPServiceMBean (src) public java.lang.String getAuthenticationCacheJndiName()
getAuthenticationCacheJndiName in interface SRPServiceMBean (src) public void setAuthenticationCacheJndiName(java.lang.String jndiName)
setAuthenticationCacheJndiName in interface SRPServiceMBean (src) public int getAuthenticationCacheTimeout()
getAuthenticationCacheTimeout in interface SRPServiceMBean (src) public void setAuthenticationCacheTimeout(int timeoutInSecs)
setAuthenticationCacheTimeout in interface SRPServiceMBean (src) public int getAuthenticationCacheResolution()
getAuthenticationCacheResolution in interface SRPServiceMBean (src) public void setAuthenticationCacheResolution(int resInSecs)
setAuthenticationCacheResolution in interface SRPServiceMBean (src) public boolean getRequireAuxChallenge()
SRPServiceMBean (src)
getRequireAuxChallenge in interface SRPServiceMBean (src) public void setRequireAuxChallenge(boolean flag)
SRPServiceMBean (src)
setRequireAuxChallenge in interface SRPServiceMBean (src) public boolean getOverwriteSessions()
SRPServiceMBean (src)
getOverwriteSessions in interface SRPServiceMBean (src) public void setOverwriteSessions(boolean flag)
SRPServiceMBean (src)
setOverwriteSessions in interface SRPServiceMBean (src) public java.lang.String getClientSocketFactory()
getClientSocketFactory in interface SRPServiceMBean (src)
public void setClientSocketFactory(java.lang.String factoryClassName)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
setClientSocketFactory in interface SRPServiceMBean (src) java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessExceptionpublic java.lang.String getServerSocketFactory()
getServerSocketFactory in interface SRPServiceMBean (src)
public void setServerSocketFactory(java.lang.String factoryClassName)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
setServerSocketFactory in interface SRPServiceMBean (src) java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessExceptionpublic int getServerPort()
getServerPort in interface SRPServiceMBean (src) public void setServerPort(int serverPort)
setServerPort in interface SRPServiceMBean (src)
public void verifiedUser(SRPSessionKey (src) key,
SRPServerSession (src) session)
verifiedUser in interface SRPServerListener (src) public void closedUserSession(SRPSessionKey (src) key)
SRPServerListener (src)
closedUserSession in interface SRPServerListener (src) public java.lang.String getName()
ServiceMBeanSupport (src)
getName in interface ServiceMBean (src) getName in class ServiceMBeanSupport (src)
public java.lang.Object invoke(Invocation (src) invocation)
throws java.lang.Exception
SRPServiceMBean (src)
invoke in interface SRPServiceMBean (src) java.lang.Exception
protected void startService()
throws java.lang.Exception
ServiceMBeanSupport (src) This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService in class ServiceMBeanSupport (src) java.lang.Exception
protected void stopService()
throws java.lang.Exception
ServiceMBeanSupport (src) This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService in class ServiceMBeanSupport (src) java.lang.Exception
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||