com.netscape.cmsutil.radius
Class RadiusConn
java.lang.Object
com.netscape.cmsutil.radius.RadiusConn
public class RadiusConn
- extends java.lang.Object
This class implements RFC2865 - Remote Authentication Dial In
User Service (RADIUS), June 2000.
Constructor Summary |
RadiusConn(java.lang.String host,
int port,
java.lang.String secret,
byte[] seed,
java.util.Properties options)
|
RadiusConn(java.lang.String host1,
int port1,
java.lang.String host2,
int port2,
java.lang.String secret,
int timeout,
byte[] seed,
java.util.Properties options)
|
RadiusConn(java.lang.String host1,
java.lang.String host2,
int port,
java.lang.String secret,
int timeout)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_RETRIES
public static int MAX_RETRIES
OFFICAL_PORT
public static int OFFICAL_PORT
DEFAULT_PORT
public static int DEFAULT_PORT
DEFAULT_TIMEOUT
public static int DEFAULT_TIMEOUT
OPTION_DEBUG
public static java.lang.String OPTION_DEBUG
RadiusConn
public RadiusConn(java.lang.String host1,
java.lang.String host2,
int port,
java.lang.String secret,
int timeout)
throws java.net.SocketException
- Throws:
java.net.SocketException
RadiusConn
public RadiusConn(java.lang.String host,
int port,
java.lang.String secret,
byte[] seed,
java.util.Properties options)
throws java.net.SocketException
- Throws:
java.net.SocketException
RadiusConn
public RadiusConn(java.lang.String host1,
int port1,
java.lang.String host2,
int port2,
java.lang.String secret,
int timeout,
byte[] seed,
java.util.Properties options)
throws java.net.SocketException
- Throws:
java.net.SocketException
disconnect
public void disconnect()
throws java.io.IOException
- Throws:
java.io.IOException
authenticate
public void authenticate(java.lang.String name,
java.lang.String password)
throws java.io.IOException,
java.security.NoSuchAlgorithmException,
RejectException,
ChallengeException
- Throws:
java.io.IOException
java.security.NoSuchAlgorithmException
RejectException
ChallengeException
replyChallenge
public void replyChallenge(java.lang.String password,
ChallengeException ce)
throws java.io.IOException,
java.security.NoSuchAlgorithmException,
RejectException,
ChallengeException
- Throws:
java.io.IOException
java.security.NoSuchAlgorithmException
RejectException
ChallengeException
replyChallenge
public void replyChallenge(java.lang.String name,
java.lang.String password,
ChallengeException ce)
throws java.io.IOException,
java.security.NoSuchAlgorithmException,
RejectException,
ChallengeException
- Throws:
java.io.IOException
java.security.NoSuchAlgorithmException
RejectException
ChallengeException
replyChallenge
public void replyChallenge(java.lang.String name,
java.lang.String password,
java.lang.String state)
throws java.io.IOException,
java.security.NoSuchAlgorithmException,
RejectException,
ChallengeException
- Throws:
java.io.IOException
java.security.NoSuchAlgorithmException
RejectException
ChallengeException