net.jradius.packet
Class AccessRequest

java.lang.Object
  extended by net.jradius.packet.RadiusPacket
      extended by net.jradius.packet.RadiusRequest
          extended by net.jradius.packet.AccessRequest
All Implemented Interfaces:
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
           
 
Fields inherited from class net.jradius.packet.RadiusRequest
client
 
Fields inherited from class net.jradius.packet.RadiusPacket
attributes, authenticator, code, identifier, MAX_PACKET_LENGTH, MIN_PACKET_LENGTH, RADIUS_HEADER_LENGTH, recyclable, recycled
 
Constructor Summary
AccessRequest()
           
AccessRequest(AttributeList attributes)
           
AccessRequest(RadiusClient client)
           
AccessRequest(RadiusClient client, AttributeList attributes)
           
 
Method Summary
 byte[] createAuthenticator(byte[] attributes, int off, int len, String sharedSecret)
          Creates an Access-Request Authenticator
 
Methods inherited from class net.jradius.packet.RadiusRequest
setRadiusClient
 
Methods inherited from class net.jradius.packet.RadiusPacket
addAttribute, addAttributes, findAttribute, findAttribute, findAttributes, getAttributes, getAttributeValue, getAttributeValue, getAuthenticator, getAuthenticator, getAuthenticator, getCode, getIdentifier, overwriteAttribute, removeAttribute, removeAttribute, setAuthenticator, setCode, setIdentifier, toString, toString, verifyAuthenticator
 
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,
                                  int off,
                                  int len,
                                  String sharedSecret)
Creates an Access-Request Authenticator

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


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