net.jradius.client.auth
Class PAPAuthenticator
java.lang.Object
net.jradius.client.auth.RadiusAuthenticator
net.jradius.client.auth.PAPAuthenticator
public class PAPAuthenticator
- extends RadiusAuthenticator
PAP (default) Authentication.
- Author:
- David Bird
Field Summary |
static java.lang.String |
NAME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
PAPAuthenticator
public PAPAuthenticator()
getAuthName
public java.lang.String getAuthName()
- Specified by:
getAuthName
in class RadiusAuthenticator
- Returns:
- Returns the name(s) of the protocol(s) provided.
processRequest
public void processRequest(RadiusPacket p)
throws RadiusException
- Specified by:
processRequest
in class RadiusAuthenticator
- Parameters:
p
- The RadiusPacket to be processed
- Throws:
RadiusException
verifyPassword
public static boolean verifyPassword(byte[] userPassword,
byte[] requestAuthenticator,
byte[] clearText,
java.lang.String sharedSecret)
Copyright © 2008 JRadius Project, All Rights Reserved.