net.sf.jradius.handler.tlstunnel
Class InitTunnelSessionHandler

java.lang.Object
  extended by net.sf.jradius.handler.EventHandlerBase
      extended by net.sf.jradius.handler.EventHandlerChain
          extended by net.sf.jradius.handler.PacketHandlerChain
              extended by net.sf.jradius.handler.RadiusSessionHandler
                  extended by net.sf.jradius.handler.tlstunnel.InitTunnelSessionHandler
All Implemented Interfaces:
JRCommand, EventHandler, PacketHandler, org.apache.commons.chain.Command

public class InitTunnelSessionHandler
extends RadiusSessionHandler

Tunnel Session Initialization Handler.

Author:
David Bird

Field Summary
 
Fields inherited from class net.sf.jradius.handler.RadiusSessionHandler
ClassPrefix, tlsTunnels
 
Fields inherited from class net.sf.jradius.handler.EventHandlerBase
config
 
Constructor Summary
InitTunnelSessionHandler()
           
 
Method Summary
 boolean handle(JRadiusRequest request)
          This handler is to be chained before the actual InitSessionHandler.
 boolean isLocalRealm(java.lang.String realm)
           
 boolean isSecureRealm(java.lang.String realm)
           
 void setLocalRealms(java.lang.String localRealms)
           
 void setSecureRealms(java.lang.String localRealms)
           
 
Methods inherited from class net.sf.jradius.handler.RadiusSessionHandler
noSessionFound
 
Methods inherited from class net.sf.jradius.handler.PacketHandlerChain
handle
 
Methods inherited from class net.sf.jradius.handler.EventHandlerChain
execute, execute, getCatalog, getCatalogName, getOnFalse, getOnTrue, setCatalogName, setConfig, setOnFalse, setOnTrue
 
Methods inherited from class net.sf.jradius.handler.EventHandlerBase
doesHandle, execute, getName, setName, splitUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jradius.handler.EventHandler
setName
 
Methods inherited from interface net.sf.jradius.handler.chain.JRCommand
doesHandle, getName, setConfig
 
Methods inherited from interface org.apache.commons.chain.Command
execute
 

Constructor Detail

InitTunnelSessionHandler

public InitTunnelSessionHandler()
Method Detail

handle

public boolean handle(JRadiusRequest request)
               throws RadiusException
This handler is to be chained before the actual InitSessionHandler. In the event the request is the inner request of a TLS tunnel, the associated session if found and configured.

Specified by:
handle in interface PacketHandler
Overrides:
handle in class PacketHandlerChain
Parameters:
request - The JRadiusRequest being processed
Returns:
Returns true of the command is handled (i.e. break the chain)
Throws:
RadiusException
See Also:
PacketHandler.handle(net.sf.jradius.server.JRadiusRequest)

setLocalRealms

public void setLocalRealms(java.lang.String localRealms)

setSecureRealms

public void setSecureRealms(java.lang.String localRealms)

isLocalRealm

public boolean isLocalRealm(java.lang.String realm)

isSecureRealm

public boolean isSecureRealm(java.lang.String realm)


Copyright © 2006 The JRadius Project, All Rights Reserved.