net.jradius.handler.proxy
Class ProxyClassHandler

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
                  extended by net.jradius.handler.proxy.ProxyClassHandler
All Implemented Interfaces:
net.jradius.handler.chain.JRCommand, net.jradius.handler.EventHandler, net.jradius.handler.PacketHandler, org.apache.commons.chain.Command, org.springframework.beans.factory.BeanFactoryAware

public class ProxyClassHandler
extends RadiusSessionHandler

Rewrites the Class Attribute with the Session Class (for use in pre-proxy). This handler works in cooperation with the PostAuthorizeClassHandler and will rewrite the out-going Class attribute to be the appropriate value for the session (the value returned to us and captured in the PostAuthorizeClassHandler)

Author:
David Bird
See Also:
PostAuthorizeClassHandler

Field Summary
 
Fields inherited from class net.jradius.handler.RadiusSessionHandler
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
ProxyClassHandler()
           
 
Method Summary
 boolean handle(net.jradius.server.JRadiusRequest request)
           
 
Methods inherited from class net.jradius.handler.RadiusSessionHandler
noSessionFound, reverseAccounting, setPlainTextPassword, setPlainTextPassword
 
Methods inherited from class net.jradius.handler.PacketHandlerChain
handle
 
Methods inherited from class net.jradius.handler.EventHandlerChain
execute, execute, getCatalog, getCatalogName, getOnFalse, getOnTrue, setBeanFactory, 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
 

Constructor Detail

ProxyClassHandler

public ProxyClassHandler()
Method Detail

handle

public boolean handle(net.jradius.server.JRadiusRequest request)
               throws Exception
Specified by:
handle in interface net.jradius.handler.PacketHandler
Overrides:
handle in class net.jradius.handler.PacketHandlerChain
Throws:
Exception


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.