net.sf.jradius.session
Class RadiusSessionFactory

java.lang.Object
  extended by net.sf.jradius.session.RadiusSessionFactory
All Implemented Interfaces:
SessionFactory

public class RadiusSessionFactory
extends java.lang.Object
implements SessionFactory

The Default SessionFactory.

Author:
Gert Jan Verhoog, David Bird

Constructor Summary
RadiusSessionFactory()
           
 
Method Summary
protected  java.lang.String createNewSessionID()
           
 java.lang.String getConfigValue(java.lang.String name)
           
 JRadiusSession getSession(JRadiusRequest request, java.lang.Object key)
           
 JRadiusSession newSession(JRadiusRequest request)
           
 RadiusLogEntry newSessionLogEntry(JRadiusSession session, java.lang.String packetId)
           
 void setConfig(XMLConfiguration config, org.apache.commons.configuration.HierarchicalConfiguration.Node root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadiusSessionFactory

public RadiusSessionFactory()
Method Detail

getSession

public JRadiusSession getSession(JRadiusRequest request,
                                 java.lang.Object key)
                          throws RadiusException
Specified by:
getSession in interface SessionFactory
Throws:
RadiusException

newSession

public JRadiusSession newSession(JRadiusRequest request)
Specified by:
newSession in interface SessionFactory

newSessionLogEntry

public RadiusLogEntry newSessionLogEntry(JRadiusSession session,
                                         java.lang.String packetId)
Specified by:
newSessionLogEntry in interface SessionFactory

createNewSessionID

protected java.lang.String createNewSessionID()

getConfigValue

public java.lang.String getConfigValue(java.lang.String name)
Specified by:
getConfigValue in interface SessionFactory

setConfig

public void setConfig(XMLConfiguration config,
                      org.apache.commons.configuration.HierarchicalConfiguration.Node root)
Specified by:
setConfig in interface SessionFactory


Copyright © 2006 The JRadius Project, All Rights Reserved.