net.jradius.packet
Class AccessRequest
java.lang.Object
net.jradius.packet.RadiusPacket
net.jradius.packet.RadiusRequest
net.jradius.packet.AccessRequest
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- PasswordRequest
public class AccessRequest
- extends RadiusRequest
The RADIUS Access-Request Packet.
See http://www.iana.org/assignments/radius-types
- Author:
- David Bird
- See Also:
- Serialized Form
Field Summary |
static byte |
CODE
|
Method Summary |
byte[] |
createAuthenticator(byte[] attributes,
java.lang.String sharedSecret)
Creates an Access-Request Authenticator |
boolean |
verifyAuthenticator(java.lang.String sharedSecret)
|
Methods inherited from class net.jradius.packet.RadiusPacket |
addAttribute, addAttributes, findAttribute, findAttribute, findAttributes, getAttributes, getAttributeValue, getAttributeValue, getAuthenticator, getAuthenticator, getCode, getIdentifier, overwriteAttribute, removeAttribute, removeAttribute, setAuthenticator, setCode, setIdentifier, toString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CODE
public static final byte CODE
- See Also:
- Constant Field Values
AccessRequest
public AccessRequest()
AccessRequest
public AccessRequest(RadiusClient client)
AccessRequest
public AccessRequest(AttributeList attributes)
AccessRequest
public AccessRequest(RadiusClient client,
AttributeList attributes)
createAuthenticator
public byte[] createAuthenticator(byte[] attributes,
java.lang.String sharedSecret)
- Creates an Access-Request Authenticator
- Overrides:
createAuthenticator
in class RadiusPacket
- Returns:
- Returns 16 bytes
- See Also:
net.jradius.packet.RadiusPacket#createAuthenticator(byte[])
verifyAuthenticator
public boolean verifyAuthenticator(java.lang.String sharedSecret)
- Overrides:
verifyAuthenticator
in class RadiusPacket
Copyright © 2008 JRadius Project, All Rights Reserved.