Uses of Class
org.tinyradius.util.RadiusException

Packages that use RadiusException
org.tinyradius.attribute This package contains classes for Radius attributes and Radius attribute types. 
org.tinyradius.packet This package contains classes for encoding and decoding Radius packets. 
org.tinyradius.util This package contains helper classes for implementing Radius clients and servers. 
 

Uses of RadiusException in org.tinyradius.attribute
 

Methods in org.tinyradius.attribute that throw RadiusException
 RadiusAttribute VendorSpecificAttribute.getSubAttribute(java.lang.String type)
          Returns a single sub-attribute of the given type name.
 java.lang.String VendorSpecificAttribute.getSubAttributeValue(java.lang.String type)
          Returns the value of the Radius attribute of the given type or null if there is no such attribute.
 void IpAttribute.readAttribute(byte[] data, int offset, int length)
          Check attribute length.
 void RadiusAttribute.readAttribute(byte[] data, int offset, int length)
          Reads in this attribute from the passed byte array.
 void IntegerAttribute.readAttribute(byte[] data, int offset, int length)
          Check attribute length.
 void VendorSpecificAttribute.readAttribute(byte[] data, int offset, int length)
          Reads a Vendor-Specific attribute and decodes the internal sub-attribute structure.
 

Uses of RadiusException in org.tinyradius.packet
 

Methods in org.tinyradius.packet that throw RadiusException
protected  void RadiusPacket.checkResponseAuthenticator(java.lang.String sharedSecret, int packetLength, byte[] attributes, byte[] requestAuthenticator)
          This method checks the authenticator of this Radius packet.
protected static RadiusPacket RadiusPacket.decodePacket(Dictionary dictionary, java.io.InputStream in, java.lang.String sharedSecret, RadiusPacket request)
          Reads a Radius packet from the given input stream and creates an appropiate RadiusPacket descendant object.
protected  void AccessRequest.decodeRequestAttributes(java.lang.String sharedSecret)
          Decrypts the User-Password attribute.
protected  void RadiusPacket.decodeRequestAttributes(java.lang.String sharedSecret)
          Can be overriden to decode encoded request attributes such as User-Password.
static RadiusPacket RadiusPacket.decodeRequestPacket(Dictionary dictionary, java.io.InputStream in, java.lang.String sharedSecret)
          Reads a Radius request packet from the given input stream and creates an appropiate RadiusPacket descendant object.
static RadiusPacket RadiusPacket.decodeRequestPacket(java.io.InputStream in, java.lang.String sharedSecret)
          Reads a Radius request packet from the given input stream and creates an appropiate RadiusPacket descendant object.
static RadiusPacket RadiusPacket.decodeResponsePacket(Dictionary dictionary, java.io.InputStream in, java.lang.String sharedSecret, RadiusPacket request)
          Reads a Radius response packet from the given input stream and creates an appropiate RadiusPacket descendant object.
static RadiusPacket RadiusPacket.decodeResponsePacket(java.io.InputStream in, java.lang.String sharedSecret, RadiusPacket request)
          Reads a Radius response packet from the given input stream and creates an appropiate RadiusPacket descendant object.
 int AccountingRequest.getAcctStatusType()
          Retrieves the user name from the User-Name attribute.
 java.lang.String AccountingRequest.getUserName()
          Retrieves the user name from the User-Name attribute.
 boolean AccessRequest.verifyPassword(java.lang.String plaintext)
          Verifies that the passed plain-text password matches the password (hash) send with this Access-Request packet.
 

Uses of RadiusException in org.tinyradius.util
 

Methods in org.tinyradius.util that throw RadiusException
 RadiusPacket RadiusServer.accessRequestReceived(AccessRequest accessRequest, java.net.InetSocketAddress client)
          Constructs an answer for an Access-Request packet.
 RadiusPacket RadiusClient.account(AccountingRequest request)
          Sends an Accounting-Request packet and receives a response packet.
 RadiusPacket RadiusServer.accountingRequestReceived(AccountingRequest accountingRequest, java.net.InetSocketAddress client)
          Constructs an answer for an Accounting-Request packet.
 RadiusPacket RadiusClient.authenticate(AccessRequest request)
          Sends an Access-Request packet and receives a response packet.
 boolean RadiusClient.authenticate(java.lang.String userName, java.lang.String password)
          Authenticates a user.
static RadiusPacket RadiusClient.communicate(RadiusEndpoint remoteServer, RadiusPacket request)
          Sends the specified packet to the specified Radius server endpoint.
 RadiusPacket RadiusClient.communicate(RadiusPacket request, int port)
          Sends a Radius packet to the server and awaits an answer.
protected  RadiusPacket RadiusServer.handlePacket(java.net.InetSocketAddress localAddress, java.net.InetSocketAddress remoteAddress, RadiusPacket request, java.lang.String sharedSecret)
          Handles the received Radius packet and constructs a response.
protected  RadiusPacket RadiusClient.makeRadiusPacket(java.net.DatagramPacket packet, RadiusPacket request)
          Creates a RadiusPacket from a received datagram packet.
protected  RadiusPacket RadiusServer.makeRadiusPacket(java.net.DatagramPacket packet, java.lang.String sharedSecret)
          Creates a RadiusPacket for a Radius request from a received datagram packet.