RADIUS Client API (V3)

com.theorem.radius3.radutil
Class radauth

Object
  extended byradauth

public class radauth
extends Object

Test authentication class for a radius server. Sends an authentication request to a RADIUS server using command line options.

This is a command line driven test for a radius server.

 Usage: radauth login password authtype server[:port default is 1812]  nas_port_id secret [nasname]
 
The arguments: Examples:
 radauth michael test MSCHAP 127.0.0.1 1 seversecret
 radauth michael test EAPMD5 192.168.1.1:1645 5 testtesttest
 radauth michael test PAP 192.168.1.1 1 seversecret NAS1
 radauth michael@theorem.com test MSCHAP2 192.168.1.1:1645 1 seversecret
 
Be sure that the RADIUS server allows the workstation as a client and that the secret is the same for the client and server.


Constructor Summary
radauth()
           
 
Method Summary
static void main(String[] args)
          Main task.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

radauth

public radauth()
Method Detail

main

public static void main(String[] args)
Main task. This authenticates and accounts against a radius server defined the radtest.properties file. The Authentication loop uses the AttributeArray class to create attributes. The Accounting loop use the Radius object's methods to create attributes.

Parameters:
args - Command line arguments. login, password, server[:port default is 1812], nas_port_id secretkey [nasname]

RADIUS Client API (V3)

Submit a bug report or feature request

Copyright 1998-2008 AXL Software. PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.