net.jradius.packet
Class RadiusResponse
java.lang.Object
net.jradius.packet.RadiusPacket
net.jradius.packet.RadiusResponse
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AccessResponse, AccountingResponse, NullResponse, PasswordAck, PasswordReject
public abstract class RadiusResponse
- extends RadiusPacket
The RADIUS Response Packet
- Author:
- David Bird
- See Also:
- Serialized Form
Methods inherited from class net.jradius.packet.RadiusPacket |
addAttribute, addAttributes, createAuthenticator, findAttribute, findAttribute, findAttributes, getAttributes, getAttributeValue, getAttributeValue, getAuthenticator, getAuthenticator, getAuthenticator, getCode, getIdentifier, overwriteAttribute, removeAttribute, removeAttribute, setAuthenticator, setCode, setIdentifier, toString, toString, verifyAuthenticator |
RadiusResponse
public RadiusResponse()
RadiusResponse
public RadiusResponse(int id,
AttributeList list)
verifyAuthenticator
public boolean verifyAuthenticator(byte[] requestAuthenticator,
String sharedSecret)
- Calculates and compares the RADIUS Response Authenticator (per RFC 2865)
- Parameters:
requestAuthenticator
- The Authenticator of the request
- Returns:
- Returns true of the authenticators match
generateAuthenticator
public void generateAuthenticator(byte[] requestAuthenticator,
String sharedSecret)
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.