org.tinyradius.packet
Class CoaRequest

java.lang.Object
  extended by org.tinyradius.packet.RadiusPacket
      extended by org.tinyradius.packet.CoaRequest

public class CoaRequest
extends RadiusPacket

CoA packet. Thanks to Michael Krastev.

Author:
Michael Krastev

Field Summary
 
Fields inherited from class org.tinyradius.packet.RadiusPacket
ACCESS_ACCEPT, ACCESS_CHALLENGE, ACCESS_REJECT, ACCESS_REQUEST, ACCOUNTING_MESSAGE, ACCOUNTING_REQUEST, ACCOUNTING_RESPONSE, ACCOUNTING_STATUS, COA_ACK, COA_NAK, COA_REQUEST, DISCONNECT_ACK, DISCONNECT_NAK, DISCONNECT_REQUEST, MAX_PACKET_LENGTH, PASSWORD_ACCEPT, PASSWORD_REJECT, PASSWORD_REQUEST, RADIUS_HEADER_LENGTH, RESERVED, STATUS_ACCEPT, STATUS_CLIENT, STATUS_REJECT, STATUS_REQUEST, STATUS_SERVER
 
Constructor Summary
CoaRequest()
           
 
Method Summary
protected  byte[] updateRequestAuthenticator(java.lang.String sharedSecret, int packetLength, byte[] attributes)
          AccountingRequest overrides this method to create a request authenticator as specified by RFC 2866.
 
Methods inherited from class org.tinyradius.packet.RadiusPacket
addAttribute, addAttribute, checkRequestAuthenticator, checkResponseAuthenticator, createRadiusPacket, createRequestAuthenticator, createResponseAuthenticator, decodePacket, decodeRequestAttributes, decodeRequestPacket, decodeRequestPacket, decodeResponsePacket, decodeResponsePacket, encodePacket, encodeRequestAttributes, encodeRequestPacket, encodeResponsePacket, getAttribute, getAttribute, getAttribute, getAttributeBytes, getAttributes, getAttributes, getAttributes, getAttributeValue, getAuthenticator, getDictionary, getMd5Digest, getNextPacketIdentifier, getPacketIdentifier, getPacketType, getPacketTypeName, getVendorAttribute, getVendorAttributes, removeAttribute, removeAttributes, removeAttributes, removeLastAttribute, setAttributes, setAuthenticator, setDictionary, setPacketIdentifier, setPacketType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoaRequest

public CoaRequest()
Method Detail

updateRequestAuthenticator

protected byte[] updateRequestAuthenticator(java.lang.String sharedSecret,
                                            int packetLength,
                                            byte[] attributes)
Description copied from class: RadiusPacket
AccountingRequest overrides this method to create a request authenticator as specified by RFC 2866.

Overrides:
updateRequestAuthenticator in class RadiusPacket
Parameters:
sharedSecret - shared secret
packetLength - length of the final Radius packet
attributes - attribute data
Returns:
new request authenticator
See Also:
AccountingRequest.updateRequestAuthenticator(String, int, byte[])