net.jradius.client.auth
Class PAPAuthenticator

java.lang.Object
  extended by net.jradius.client.auth.RadiusAuthenticator
      extended by net.jradius.client.auth.PAPAuthenticator

public class PAPAuthenticator
extends RadiusAuthenticator

PAP (default) Authentication.

Author:
David Bird

Field Summary
static String NAME
           
 
Fields inherited from class net.jradius.client.auth.RadiusAuthenticator
classAttribute, client, password, stateAttribute, username
 
Constructor Summary
PAPAuthenticator()
           
 
Method Summary
 String getAuthName()
           
 void processRequest(RadiusPacket p)
           
static boolean verifyPassword(byte[] userPassword, byte[] requestAuthenticator, byte[] clearText, String sharedSecret)
           
 
Methods inherited from class net.jradius.client.auth.RadiusAuthenticator
getClassAttribute, getClient, getPassword, getStateAttribute, getUsername, processChallenge, setClient, setPassword, setupRequest, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

PAPAuthenticator

public PAPAuthenticator()
Method Detail

getAuthName

public 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,
                                     String sharedSecret)


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.