public class CHAPAuthenticator extends RadiusAuthenticator
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
classAttribute, client, password, stateAttribute, username| Constructor and Description |
|---|
CHAPAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthName() |
void |
processRequest(RadiusPacket p) |
static boolean |
verifyPassword(byte[] response,
byte[] challenge,
byte id,
byte[] clearText) |
getClassAttribute, getClient, getPassword, getStateAttribute, getUsername, processChallenge, setClient, setPassword, setupRequest, setUsernamepublic static final String NAME
public String getAuthName()
getAuthName in class RadiusAuthenticatorpublic void processRequest(RadiusPacket p) throws RadiusException, NoSuchAlgorithmException
processRequest in class RadiusAuthenticatorp - The RadiusPacket to be processedRadiusExceptionNoSuchAlgorithmExceptionpublic static boolean verifyPassword(byte[] response,
byte[] challenge,
byte id,
byte[] clearText)
throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionCopyright © 2017. All rights reserved.