net.jradius.handler
Class RadiusSessionHandler

java.lang.Object
  extended by net.jradius.handler.EventHandlerBase
      extended by net.jradius.handler.EventHandlerChain
          extended by net.jradius.handler.PacketHandlerChain
              extended by net.jradius.handler.RadiusSessionHandler
All Implemented Interfaces:
net.jradius.handler.chain.JRCommand, net.jradius.handler.EventHandler, net.jradius.handler.PacketHandler, org.apache.commons.chain.Command
Direct Known Subclasses:
AccountingClassHandler, AuthorizeHandler, InitSessionHandler, InitTunnelSessionHandler, OTPProxyAccountingHandler, OTPProxyAuthHandler, OTPProxyPostAuthHandler, PostAuthorizeClassHandler, ProxyClassHandler, SessionLogHandler

public abstract class RadiusSessionHandler
extends net.jradius.handler.PacketHandlerChain

Extended from PacketHandler, this type of handler is required to have a JRadiusSession

Author:
David Bird

Field Summary
static java.lang.String ClassPrefix
           
 
Fields inherited from class net.jradius.handler.EventHandlerBase
config
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
RadiusSessionHandler()
           
 
Method Summary
protected  boolean noSessionFound(net.jradius.server.JRadiusRequest request)
           
protected  void reverseAccounting(net.jradius.packet.RadiusPacket req)
           
protected  void setPlainTextPassword(net.jradius.server.JRadiusRequest request, java.lang.String password)
           
protected  void setPlainTextPassword(net.jradius.server.JRadiusRequest request, java.lang.String password, boolean overwrite)
           
 
Methods inherited from class net.jradius.handler.PacketHandlerChain
handle, handle
 
Methods inherited from class net.jradius.handler.EventHandlerChain
execute, execute, getCatalog, getCatalogName, getOnFalse, getOnTrue, setCatalogName, setConfig, setOnFalse, setOnTrue
 
Methods inherited from class net.jradius.handler.EventHandlerBase
doesHandle, execute, getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.jradius.handler.EventHandler
setName
 
Methods inherited from interface net.jradius.handler.chain.JRCommand
doesHandle, getName, setConfig
 
Methods inherited from interface org.apache.commons.chain.Command
execute
 

Field Detail

ClassPrefix

public static final java.lang.String ClassPrefix
See Also:
Constant Field Values
Constructor Detail

RadiusSessionHandler

public RadiusSessionHandler()
Method Detail

noSessionFound

protected boolean noSessionFound(net.jradius.server.JRadiusRequest request)
                          throws net.jradius.exception.RadiusException
Throws:
net.jradius.exception.RadiusException

setPlainTextPassword

protected void setPlainTextPassword(net.jradius.server.JRadiusRequest request,
                                    java.lang.String password)

setPlainTextPassword

protected void setPlainTextPassword(net.jradius.server.JRadiusRequest request,
                                    java.lang.String password,
                                    boolean overwrite)

reverseAccounting

protected void reverseAccounting(net.jradius.packet.RadiusPacket req)
                          throws net.jradius.exception.RadiusException
Throws:
net.jradius.exception.RadiusException


Copyright © 2008 JRadius Project, All Rights Reserved.