net.jradius.webservice
Class OTPProxyProcessor

java.lang.Object
  extended by java.lang.Thread
      extended by net.jradius.server.JRadiusThread
          extended by net.jradius.server.Processor
              extended by net.jradius.webservice.OTPProxyProcessor
All Implemented Interfaces:
java.lang.Runnable, org.springframework.context.ApplicationContextAware

public class OTPProxyProcessor
extends net.jradius.server.Processor

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 net.jradius.server.Processor
applicationContext
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
OTPProxyProcessor()
           
 
Method Summary
protected  void error(java.io.BufferedWriter writer, java.lang.String e)
           
protected  void processRequest(net.jradius.server.ListenerRequest listenerRequest)
           
protected  java.lang.String realmFromUserName(java.lang.String username)
           
 
Methods inherited from class net.jradius.server.Processor
getApplicationContext, getEventDispatcher, getRequestHandlers, getRequestQueue, isActive, process, run, setActive, setApplicationContext, setEventDispatcher, setRequestHandlers, setRequestQueue
 
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

OTPProxyProcessor

public OTPProxyProcessor()
Method Detail

processRequest

protected void processRequest(net.jradius.server.ListenerRequest listenerRequest)
                       throws java.io.IOException,
                              net.jradius.exception.RadiusException
Specified by:
processRequest in class net.jradius.server.Processor
Throws:
java.io.IOException
net.jradius.exception.RadiusException

error

protected void error(java.io.BufferedWriter writer,
                     java.lang.String e)
              throws java.io.IOException,
                     net.jradius.exception.RadiusException
Throws:
java.io.IOException
net.jradius.exception.RadiusException

realmFromUserName

protected java.lang.String realmFromUserName(java.lang.String username)
                                      throws OTPProxyException
Throws:
OTPProxyException


Copyright © 2008 JRadius Project, All Rights Reserved.