net.jradius.server
Class JRadiusServer
java.lang.Object
net.jradius.server.JRadiusServer
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class JRadiusServer
- extends Object
- implements org.springframework.beans.factory.InitializingBean
Constants used in the server. This is currently too FreeRADIUS specific
and that will change.
- Author:
- David Bird
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
JRadiusServer
public JRadiusServer()
throws Exception
- Initializes a new JRadiusServer. The constructor calls initializeServer(),
the initialization method that reads the configuration file and sets up
processors and listeners.
- Throws:
SecurityException
IllegalArgumentException
ClassNotFoundException
NoSuchMethodException
InstantiationException
IllegalAccessException
InvocationTargetException
Exception
JRadiusServer
public JRadiusServer(EventDispatcher eventDispatcher)
throws Exception
- Throws:
Exception
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
isRunning
public boolean isRunning()
start
public void start()
- Start the JRadiusServer. Make sure the server is
initialized first by calling initializeServer()
stop
public void stop()
resultCodeToString
public static String resultCodeToString(int resultCode)
setEventDispatcher
public void setEventDispatcher(EventDispatcher eventDispatcher)
getEventDispatcher
public EventDispatcher getEventDispatcher()
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.