net.sf.jradius.handler.proxy
Class RewriteSessionIdHandler

java.lang.Object
  extended by net.sf.jradius.handler.EventHandlerBase
      extended by net.sf.jradius.handler.PacketHandlerBase
          extended by net.sf.jradius.handler.proxy.RewriteSessionIdHandler
All Implemented Interfaces:
JRCommand, EventHandler, org.apache.commons.chain.Command

public class RewriteSessionIdHandler
extends PacketHandlerBase

Rewrites the Acct-Session-Id with the session key (for use in pre-proxy).

Author:
David Bird

Field Summary
 
Fields inherited from class net.sf.jradius.handler.EventHandlerBase
config
 
Constructor Summary
RewriteSessionIdHandler()
           
 
Method Summary
 boolean handle(JRadiusRequest request)
          Derived classes must implement the handle method
 
Methods inherited from class net.sf.jradius.handler.PacketHandlerBase
handle
 
Methods inherited from class net.sf.jradius.handler.EventHandlerBase
doesHandle, execute, getName, setConfig, setName, splitUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RewriteSessionIdHandler

public RewriteSessionIdHandler()
Method Detail

handle

public boolean handle(JRadiusRequest request)
               throws java.lang.Exception
Description copied from class: PacketHandlerBase
Derived classes must implement the handle method

Specified by:
handle in class PacketHandlerBase
Parameters:
request - The JRadiusRequest being processed
Returns:
Returns true of the command is handled (i.e. break the chain)
Throws:
java.lang.Exception


Copyright © 2006 The JRadius Project, All Rights Reserved.