net.sf.jradius.packet
Class AccessRequest

java.lang.Object
  extended by net.sf.jradius.packet.RadiusPacket
      extended by net.sf.jradius.packet.RadiusRequest
          extended by net.sf.jradius.packet.AccessRequest
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CoARequest, DisconnectRequest, 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
           
 
Fields inherited from class net.sf.jradius.packet.RadiusRequest
client
 
Fields inherited from class net.sf.jradius.packet.RadiusPacket
attributes, authenticator, code, identifier, MAX_PACKET_LENGTH, MIN_PACKET_LENGTH, RADIUS_HEADER_LENGTH
 
Constructor Summary
AccessRequest()
           
AccessRequest(AttributeList attributes)
           
AccessRequest(RadiusClient client)
           
AccessRequest(RadiusClient client, AttributeList attributes)
           
 
Method Summary
 byte[] createAuthenticator(byte[] attributes)
          Creates an Access-Request Authenticator
 
Methods inherited from class net.sf.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
 

Field Detail

CODE

public static final byte CODE
See Also:
Constant Field Values
Constructor Detail

AccessRequest

public AccessRequest()

AccessRequest

public AccessRequest(RadiusClient client)

AccessRequest

public AccessRequest(AttributeList attributes)

AccessRequest

public AccessRequest(RadiusClient client,
                     AttributeList attributes)
Method Detail

createAuthenticator

public byte[] createAuthenticator(byte[] attributes)
Creates an Access-Request Authenticator

Overrides:
createAuthenticator in class RadiusPacket
Returns:
Returns 16 bytes
See Also:
RadiusPacket.createAuthenticator(byte[])


Copyright © 2006 The JRadius Project, All Rights Reserved.