net.sf.jradius.webservice
Class OTPProxyRequest

java.lang.Object
  extended by java.lang.Thread
      extended by net.sf.jradius.webservice.OTPProxyRequest
All Implemented Interfaces:
java.lang.Runnable

public class OTPProxyRequest
extends java.lang.Thread

OTP Proxy Web Service Request. This thread give the client a one-time username and password and does the EAP proxy in a RadiusClient for the request.

Author:
David Bird

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
OTPProxyRequest(java.lang.String userName, JRadiusRealm realm, java.net.Socket socket, java.io.BufferedReader reader, java.io.BufferedWriter writer)
           
 
Method Summary
 void abort()
           
 RadiusPacket getAccessResponse()
           
 java.lang.String getOtpName()
           
 java.lang.String getOtpPassword()
           
 JRadiusRealm getRadiusRealm()
           
 java.lang.String getUserName()
           
 void run()
           
 void setAccessRequest(RadiusPacket accessRequest)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OTPProxyRequest

public OTPProxyRequest(java.lang.String userName,
                       JRadiusRealm realm,
                       java.net.Socket socket,
                       java.io.BufferedReader reader,
                       java.io.BufferedWriter writer)
                throws OTPProxyException
Throws:
OTPProxyException
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

getOtpName

public java.lang.String getOtpName()
Returns:
Returns the otpName.

getOtpPassword

public java.lang.String getOtpPassword()
Returns:
Returns the otpPassword.

getUserName

public java.lang.String getUserName()
Returns:
Returns the userName.

getRadiusRealm

public JRadiusRealm getRadiusRealm()
Returns:
Returns the realm.

setAccessRequest

public void setAccessRequest(RadiusPacket accessRequest)
Parameters:
accessRequest - The accessRequest to set.

getAccessResponse

public RadiusPacket getAccessResponse()

abort

public void abort()


Copyright © 2006 The JRadius Project, All Rights Reserved.