net.sf.jradius.server
Class JRadiusServer

java.lang.Object
  extended by net.sf.jradius.server.JRadiusServer

public class JRadiusServer
extends java.lang.Object

Constants used in the server. This is currently too FreeRADIUS specific and that will change.

Author:
David Bird

Field Summary
static int JRADIUS_accounting
           
static int JRADIUS_authenticate
          TODO: The following are taken from FreeRADIUS.
static int JRADIUS_authorize
           
static int JRADIUS_checksimul
           
static int JRADIUS_max_request_type
           
static int JRADIUS_post_auth
           
static int JRADIUS_post_proxy
           
static int JRADIUS_pre_proxy
           
static int JRADIUS_preacct
           
static int RLM_MODULE_FAIL
           
static int RLM_MODULE_HANDLED
           
static int RLM_MODULE_INVALID
           
static int RLM_MODULE_NOOP
           
static int RLM_MODULE_NOTFOUND
           
static int RLM_MODULE_NUMCODES
           
static int RLM_MODULE_OK
           
static int RLM_MODULE_REJECT
           
static int RLM_MODULE_UPDATED
           
static int RLM_MODULE_USERLOCK
           
 
Constructor Summary
JRadiusServer()
          Initializes a new JRadiusServer.
 
Method Summary
static EventDispatcher getEventDispatcher()
           
static java.lang.String resultCodeToString(int resultCode)
           
 void start()
          Start the JRadiusServer.
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JRADIUS_authenticate

public static final int JRADIUS_authenticate
TODO: The following are taken from FreeRADIUS. JRadius should, however, define its own (non server specific) values here!

See Also:
Constant Field Values

JRADIUS_authorize

public static final int JRADIUS_authorize
See Also:
Constant Field Values

JRADIUS_preacct

public static final int JRADIUS_preacct
See Also:
Constant Field Values

JRADIUS_accounting

public static final int JRADIUS_accounting
See Also:
Constant Field Values

JRADIUS_checksimul

public static final int JRADIUS_checksimul
See Also:
Constant Field Values

JRADIUS_pre_proxy

public static final int JRADIUS_pre_proxy
See Also:
Constant Field Values

JRADIUS_post_proxy

public static final int JRADIUS_post_proxy
See Also:
Constant Field Values

JRADIUS_post_auth

public static final int JRADIUS_post_auth
See Also:
Constant Field Values

JRADIUS_max_request_type

public static final int JRADIUS_max_request_type
See Also:
Constant Field Values

RLM_MODULE_REJECT

public static final int RLM_MODULE_REJECT
See Also:
Constant Field Values

RLM_MODULE_FAIL

public static final int RLM_MODULE_FAIL
See Also:
Constant Field Values

RLM_MODULE_OK

public static final int RLM_MODULE_OK
See Also:
Constant Field Values

RLM_MODULE_HANDLED

public static final int RLM_MODULE_HANDLED
See Also:
Constant Field Values

RLM_MODULE_INVALID

public static final int RLM_MODULE_INVALID
See Also:
Constant Field Values

RLM_MODULE_USERLOCK

public static final int RLM_MODULE_USERLOCK
See Also:
Constant Field Values

RLM_MODULE_NOTFOUND

public static final int RLM_MODULE_NOTFOUND
See Also:
Constant Field Values

RLM_MODULE_NOOP

public static final int RLM_MODULE_NOOP
See Also:
Constant Field Values

RLM_MODULE_UPDATED

public static final int RLM_MODULE_UPDATED
See Also:
Constant Field Values

RLM_MODULE_NUMCODES

public static final int RLM_MODULE_NUMCODES
See Also:
Constant Field Values
Constructor Detail

JRadiusServer

public JRadiusServer()
              throws java.lang.SecurityException,
                     java.lang.IllegalArgumentException,
                     java.lang.ClassNotFoundException,
                     java.lang.NoSuchMethodException,
                     java.lang.InstantiationException,
                     java.lang.IllegalAccessException,
                     java.lang.reflect.InvocationTargetException
Initializes a new JRadiusServer. The constructor calls initializeServer(), the initialization method that reads the configuration file and sets up processors and listeners.

Throws:
java.lang.SecurityException
java.lang.IllegalArgumentException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
Method Detail

start

public void start()
Start the JRadiusServer. Make sure the server is initialized first by calling initializeServer()


stop

public void stop()

resultCodeToString

public static java.lang.String resultCodeToString(int resultCode)

getEventDispatcher

public static EventDispatcher getEventDispatcher()


Copyright © 2006 The JRadius Project, All Rights Reserved.