net.jradius.webservice
Class OTPProxyRequest
java.lang.Object
java.lang.Thread
net.jradius.server.JRadiusThread
net.jradius.webservice.OTPProxyRequest
- All Implemented Interfaces:
- Serializable, Runnable, WebServiceRequestObject
public class OTPProxyRequest
- extends net.jradius.server.JRadiusThread
- implements WebServiceRequestObject
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
- See Also:
- Serialized Form
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, 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 |
OTPProxyRequest
public OTPProxyRequest(WebServiceListener wsListener,
String userName,
net.jradius.realm.JRadiusRealm realm,
Socket socket,
BufferedReader reader,
BufferedWriter writer)
throws OTPProxyException
- Throws:
OTPProxyException
delete
public void delete()
- Specified by:
delete
in interface WebServiceRequestObject
getKey
public String getKey()
- Specified by:
getKey
in interface WebServiceRequestObject
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
getOtpName
public String getOtpName()
getOtpPassword
public String getOtpPassword()
getUserName
public String getUserName()
getRadiusRealm
public net.jradius.realm.JRadiusRealm getRadiusRealm()
setAccessRequest
public void setAccessRequest(net.jradius.packet.RadiusRequest accessRequest)
setAccessResponse
public void setAccessResponse(net.jradius.packet.RadiusResponse accessResponse)
getAccessRequest
public net.jradius.packet.RadiusRequest getAccessRequest()
throws InterruptedException
- Throws:
InterruptedException
getAccessResponse
public net.jradius.packet.RadiusResponse getAccessResponse()
throws InterruptedException
- Throws:
InterruptedException
updateAccounting
public void updateAccounting(net.jradius.packet.AccountingRequest acctRequest)
throws net.jradius.exception.RadiusException
- Throws:
net.jradius.exception.RadiusException
abort
public void abort(Exception e)
shutdown
public void shutdown()
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.