A C D E F G H I L M N O P R S T V W 
All Classes All Packages

A

ACCESS_ACCEPT - Static variable in class org.tinyradius.packet.PacketType
 
ACCESS_CHALLENGE - Static variable in class org.tinyradius.packet.PacketType
 
ACCESS_REJECT - Static variable in class org.tinyradius.packet.PacketType
 
ACCESS_REQUEST - Static variable in class org.tinyradius.packet.PacketType
 
AccessRequest - Class in org.tinyradius.packet
This class represents an Access-Request Radius packet.
AccessRequest(Dictionary, int, byte[]) - Constructor for class org.tinyradius.packet.AccessRequest
 
AccessRequest(Dictionary, int, byte[], String, String) - Constructor for class org.tinyradius.packet.AccessRequest
Constructs an Access-Request packet, sets the code, identifier and adds an User-Name and an User-Password attribute (PAP).
AccessRequest(Dictionary, int, byte[], List<RadiusAttribute>) - Constructor for class org.tinyradius.packet.AccessRequest
 
ACCOUNTING_MESSAGE - Static variable in class org.tinyradius.packet.PacketType
 
ACCOUNTING_REQUEST - Static variable in class org.tinyradius.packet.PacketType
 
ACCOUNTING_RESPONSE - Static variable in class org.tinyradius.packet.PacketType
 
ACCOUNTING_STATUS - Static variable in class org.tinyradius.packet.PacketType
 
AccountingRequest - Class in org.tinyradius.packet
This class represents a Radius packet of the type Accounting-Request.
AccountingRequest(Dictionary, int, byte[]) - Constructor for class org.tinyradius.packet.AccountingRequest
 
AccountingRequest(Dictionary, int, byte[], String, int) - Constructor for class org.tinyradius.packet.AccountingRequest
Constructs an Accounting-Request packet to be sent to a Radius server.
AccountingRequest(Dictionary, int, byte[], List<RadiusAttribute>) - Constructor for class org.tinyradius.packet.AccountingRequest
 
ACCT_STATUS_TYPE_ACCOUNTING_OFF - Static variable in class org.tinyradius.packet.AccountingRequest
 
ACCT_STATUS_TYPE_ACCOUNTING_ON - Static variable in class org.tinyradius.packet.AccountingRequest
 
ACCT_STATUS_TYPE_INTERIM_UPDATE - Static variable in class org.tinyradius.packet.AccountingRequest
 
ACCT_STATUS_TYPE_START - Static variable in class org.tinyradius.packet.AccountingRequest
 
ACCT_STATUS_TYPE_STOP - Static variable in class org.tinyradius.packet.AccountingRequest
 
AcctHandler - Class in org.tinyradius.server.handler
A reference implementation of AccountingRequest handler that responds to all Accounting-Request with standard Accounting-Response.
AcctHandler() - Constructor for class org.tinyradius.server.handler.AcctHandler
 
addAttribute(String, String) - Method in class org.tinyradius.packet.RadiusPacket
Adds a Radius attribute to this packet.
addAttribute(RadiusAttribute) - Method in class org.tinyradius.packet.RadiusPacket
Adds a Radius attribute to this packet.
addAttributeType(AttributeType) - Method in class org.tinyradius.dictionary.MemoryDictionary
Adds an AttributeType object to the cache.
addAttributeType(AttributeType) - Method in interface org.tinyradius.dictionary.WritableDictionary
Adds an AttributeType object to the dictionary.
addEnumerationValue(int, String) - Method in class org.tinyradius.attribute.AttributeType
Adds a name for an integer value of this attribute.
addSubAttribute(String, String) - Method in class org.tinyradius.attribute.VendorSpecificAttribute
Adds a sub-attribute with the specified name to this attribute.
addSubAttribute(RadiusAttribute) - Method in class org.tinyradius.attribute.VendorSpecificAttribute
Adds a sub-attribute to this attribute.
addVendor(int, String) - Method in class org.tinyradius.dictionary.MemoryDictionary
Adds the given vendor to the cache.
addVendor(int, String) - Method in interface org.tinyradius.dictionary.WritableDictionary
Adds the given vendor to the dictionary.
Attributes - Class in org.tinyradius.attribute
 
Attributes() - Constructor for class org.tinyradius.attribute.Attributes
 
AttributeType - Class in org.tinyradius.attribute
Represents a Radius attribute type.
AttributeType(int, int, String, String) - Constructor for class org.tinyradius.attribute.AttributeType
Constructs a Vendor-Specific sub-attribute type.
AttributeType(int, String, String) - Constructor for class org.tinyradius.attribute.AttributeType
Create a new attribute type.
AttributeType.ByteArrayConstructor<T extends RadiusAttribute> - Interface in org.tinyradius.attribute
 
AttributeType.StringConstructor<T extends RadiusAttribute> - Interface in org.tinyradius.attribute
 
AUTH_CHAP - Static variable in class org.tinyradius.packet.AccessRequest
 
AUTH_EAP - Static variable in class org.tinyradius.packet.AccessRequest
 
AUTH_MS_CHAP_V2 - Static variable in class org.tinyradius.packet.AccessRequest
 
AUTH_PAP - Static variable in class org.tinyradius.packet.AccessRequest
 
AUTH_PROTOCOLS - Static variable in class org.tinyradius.packet.AccessRequest
 
AuthHandler - Class in org.tinyradius.server.handler
Reference implementation of AccessRequest handler that returns Access-Accept/Reject depending on whether AuthHandler.getUserPassword(String) matches password in Access-Request.
AuthHandler() - Constructor for class org.tinyradius.server.handler.AuthHandler
 

C

channelRead0(ChannelHandlerContext, DatagramPacket) - Method in class org.tinyradius.client.handler.ClientHandler
 
channelRead0(ChannelHandlerContext, DatagramPacket) - Method in class org.tinyradius.server.HandlerAdapter
 
ClasspathResourceResolver() - Constructor for class org.tinyradius.dictionary.DictionaryParser.ClasspathResourceResolver
 
ClientHandler - Class in org.tinyradius.client.handler
ChannelInboundHandler used by RadiusClient
ClientHandler() - Constructor for class org.tinyradius.client.handler.ClientHandler
 
COA_ACK - Static variable in class org.tinyradius.packet.PacketType
 
COA_NAK - Static variable in class org.tinyradius.packet.PacketType
 
COA_REQUEST - Static variable in class org.tinyradius.packet.PacketType
 
communicate(RadiusPacket, RadiusEndpoint) - Method in class org.tinyradius.client.RadiusClient
 
create(Dictionary, byte[]) - Method in class org.tinyradius.attribute.AttributeType
 
create(Dictionary, String) - Method in class org.tinyradius.attribute.AttributeType
 
createAttribute(Dictionary, int, int, byte[]) - Static method in class org.tinyradius.attribute.Attributes
Creates a RadiusAttribute object of the appropriate type by looking up type and vendorId.
createAttribute(Dictionary, int, int, String) - Static method in class org.tinyradius.attribute.Attributes
Creates a RadiusAttribute object of the appropriate type by looking up type and vendorId.
createHashedAuthenticator(String, byte[]) - Method in class org.tinyradius.packet.RadiusPacket
Creates an authenticator for a Radius response packet.
createRadiusPacket(Dictionary, int, int, byte[], List<RadiusAttribute>) - Static method in class org.tinyradius.packet.RadiusPacketEncoder
Creates a RadiusPacket object.

D

DeduplicatorHandler<T extends RadiusPacket> - Class in org.tinyradius.server.handler
Handler that wraps around another handler and deduplicates requests, returning null if duplicate.
DeduplicatorHandler(RequestHandler<T>, Timer, long) - Constructor for class org.tinyradius.server.handler.DeduplicatorHandler
 
DefaultDictionary - Class in org.tinyradius.dictionary
The default dictionary is a singleton object containing a dictionary in the memory that is filled on application startup using the default dictionary file from the classpath resource org.tinyradius.dictionary.default_dictionary.
Dictionary - Interface in org.tinyradius.dictionary
A dictionary retrieves AttributeType objects by name or type code.
DictionaryParser - Class in org.tinyradius.dictionary
Parses a dictionary in "Radiator format" and fills a WritableDictionary.
DictionaryParser(DictionaryParser.ResourceResolver) - Constructor for class org.tinyradius.dictionary.DictionaryParser
 
DictionaryParser.ClasspathResourceResolver - Class in org.tinyradius.dictionary
 
DictionaryParser.FileResourceResolver - Class in org.tinyradius.dictionary
 
DictionaryParser.ResourceResolver - Interface in org.tinyradius.dictionary
 
DISCONNECT_ACK - Static variable in class org.tinyradius.packet.PacketType
 
DISCONNECT_NAK - Static variable in class org.tinyradius.packet.PacketType
 
DISCONNECT_REQUEST - Static variable in class org.tinyradius.packet.PacketType
 

E

encodeRequest(String) - Method in class org.tinyradius.packet.AccessRequest
AccessRequest overrides this method to generate a randomized authenticator as per RFC 2865 and encode required attributes (i.e.
encodeRequest(String) - Method in class org.tinyradius.packet.RadiusPacket
Encode request and generate authenticator.
encodeRequestAttributes(byte[], String) - Method in class org.tinyradius.packet.AccessRequest
Sets and encrypts the User-Password attribute.
encodeResponse(String, byte[]) - Method in class org.tinyradius.packet.RadiusPacket
Encode and generate authenticator.
equals(Object) - Method in class org.tinyradius.attribute.RadiusAttribute
 
eventLoopGroup - Variable in class org.tinyradius.server.RadiusServer
 
extractAttributes(Dictionary, int, byte[], int) - Static method in class org.tinyradius.attribute.Attributes
 

F

FileResourceResolver() - Constructor for class org.tinyradius.dictionary.DictionaryParser.FileResourceResolver
 
fromDatagram(Dictionary, DatagramPacket, String) - Static method in class org.tinyradius.packet.RadiusPacketEncoder
Reads a request from the given input stream and creates an appropriate RadiusPacket/subclass.
fromDatagram(Dictionary, DatagramPacket, String, RadiusPacket) - Static method in class org.tinyradius.packet.RadiusPacketEncoder
Reads a response from the given input stream and creates an appropriate RadiusPacket descendant object.
fromDatagramUnverified(Dictionary, DatagramPacket) - Static method in class org.tinyradius.packet.RadiusPacketEncoder
Reads a Radius packet from the given input stream and creates an appropriate RadiusPacket/subclass.

G

getAcctChannel() - Method in class org.tinyradius.server.RadiusServer
 
getAcctStatusType() - Method in class org.tinyradius.packet.AccountingRequest
 
getAddress() - Method in class org.tinyradius.util.RadiusEndpoint
 
getAttribute(int) - Method in class org.tinyradius.packet.RadiusPacket
Returns a Radius attribute of the given type which may only occur once in the Radius packet.
getAttribute(int, int) - Method in class org.tinyradius.packet.RadiusPacket
Returns a Radius attribute of the given type and vendor ID which may only occur once in the Radius packet.
getAttribute(String) - Method in class org.tinyradius.packet.RadiusPacket
Returns a single Radius attribute of the given type name.
getAttributeBytes() - Method in class org.tinyradius.packet.RadiusPacket
Encodes the attributes of this Radius packet to a byte array.
getAttributes() - Method in class org.tinyradius.packet.RadiusPacket
Returns a list of all attributes belonging to this Radius packet.
getAttributes(int) - Method in class org.tinyradius.packet.RadiusPacket
Returns all attributes of this packet of the given type.
getAttributes(int, int) - Method in class org.tinyradius.packet.RadiusPacket
Returns all attributes of this packet that have got the given type and belong to the given vendor ID.
getAttributeType() - Method in class org.tinyradius.attribute.RadiusAttribute
 
getAttributeTypeByCode(int) - Method in interface org.tinyradius.dictionary.Dictionary
Retrieves an attribute type by type code.
getAttributeTypeByCode(int) - Method in class org.tinyradius.dictionary.MemoryDictionary
Returns the AttributeType for the vendor -1 from the cache.
getAttributeTypeByCode(int, int) - Method in interface org.tinyradius.dictionary.Dictionary
Retrieves an attribute type for a vendor-specific attribute.
getAttributeTypeByCode(int, int) - Method in class org.tinyradius.dictionary.MemoryDictionary
Returns the specified AttributeType object.
getAttributeTypeByName(String) - Method in interface org.tinyradius.dictionary.Dictionary
Retrieves an attribute type by name.
getAttributeTypeByName(String) - Method in class org.tinyradius.dictionary.MemoryDictionary
Retrieves the attribute type with the given name.
getAttributeValue(String) - Method in class org.tinyradius.packet.RadiusPacket
Returns the value of the Radius attribute of the given type or null if there is no such attribute.
getAuthChannel() - Method in class org.tinyradius.server.RadiusServer
 
getAuthenticator() - Method in class org.tinyradius.packet.RadiusPacket
Returns the authenticator for this Radius packet.
getAuthProtocol() - Method in class org.tinyradius.packet.AccessRequest
Returns the protocol used for encrypting the passphrase.
getDataType() - Method in class org.tinyradius.attribute.AttributeType
 
getDictionary() - Method in class org.tinyradius.attribute.RadiusAttribute
 
getDictionary() - Method in class org.tinyradius.packet.RadiusPacket
 
getEnumeration(int) - Method in class org.tinyradius.attribute.AttributeType
 
getEnumeration(String) - Method in class org.tinyradius.attribute.AttributeType
 
getIdentifier() - Method in class org.tinyradius.packet.RadiusPacket
 
getName() - Method in class org.tinyradius.attribute.AttributeType
 
getPacketTypeName(int) - Static method in class org.tinyradius.packet.PacketType
 
getProxyServer(RadiusPacket, RadiusEndpoint) - Method in class org.tinyradius.proxy.handler.ProxyRequestHandler
This method must be implemented to return a RadiusEndpoint if the given packet is to be proxied.
getSharedSecret() - Method in class org.tinyradius.util.RadiusEndpoint
 
getSharedSecret(InetSocketAddress) - Method in interface org.tinyradius.util.SecretProvider
Returns the shared secret used to communicate with the client/host with the passed IP address or null if the client is not allowed at this server.
getSubAttribute(int) - Method in class org.tinyradius.attribute.VendorSpecificAttribute
Returns a sub-attribute of the given type which may only occur once in this attribute.
getSubAttribute(String) - Method in class org.tinyradius.attribute.VendorSpecificAttribute
Returns a single sub-attribute of the given type name.
getSubAttributes() - Method in class org.tinyradius.attribute.VendorSpecificAttribute
Returns the list of sub-attributes.
getSubAttributes(int) - Method in class org.tinyradius.attribute.VendorSpecificAttribute
Returns all sub-attributes of this attribute which have the given type.
getType() - Method in class org.tinyradius.attribute.RadiusAttribute
 
getType() - Method in class org.tinyradius.packet.RadiusPacket
 
getTypeCode() - Method in class org.tinyradius.attribute.AttributeType
 
getUserName() - Method in class org.tinyradius.packet.AccessRequest
Retrieves the user name from the User-Name attribute.
getUserName() - Method in class org.tinyradius.packet.AccountingRequest
Retrieves the user name from the User-Name attribute.
getUserPassword() - Method in class org.tinyradius.packet.AccessRequest
Retrieves the plain-text user password.
getUserPassword(String) - Method in class org.tinyradius.server.handler.AuthHandler
Returns the password of the passed user.
getValue() - Method in class org.tinyradius.attribute.RadiusAttribute
 
getValueInt() - Method in class org.tinyradius.attribute.IntegerAttribute
Returns the int value of this attribute.
getValueInt() - Method in class org.tinyradius.attribute.IpAttribute.V4
 
getValueLong() - Method in class org.tinyradius.attribute.IntegerAttribute
Returns the long value of this attribute.
getValueString() - Method in class org.tinyradius.attribute.IntegerAttribute
Returns the value of this attribute as a string.
getValueString() - Method in class org.tinyradius.attribute.IpAttribute
 
getValueString() - Method in class org.tinyradius.attribute.Ipv6PrefixAttribute
Returns the attribute value as a string of the format "x:x:x:x:x:x:x:x/yy".
getValueString() - Method in class org.tinyradius.attribute.RadiusAttribute
 
getValueString() - Method in class org.tinyradius.attribute.StringAttribute
 
getVendorAttributes(int) - Method in class org.tinyradius.packet.RadiusPacket
Returns the Vendor-Specific attribute(s) for the given vendor ID.
getVendorId() - Method in class org.tinyradius.attribute.AttributeType
 
getVendorId() - Method in class org.tinyradius.attribute.RadiusAttribute
 
getVendorId(String) - Method in interface org.tinyradius.dictionary.Dictionary
Retrieves the ID of the vendor with the given name.
getVendorId(String) - Method in class org.tinyradius.dictionary.MemoryDictionary
Searches the vendor with the given name and returns its code.
getVendorName(int) - Method in interface org.tinyradius.dictionary.Dictionary
Retrieves the name of the vendor with the given vendor code.
getVendorName(int) - Method in class org.tinyradius.dictionary.MemoryDictionary
Retrieves the name of the vendor with the given code from the cache.

H

handlePacket(Channel, AccessRequest, InetSocketAddress, String) - Method in class org.tinyradius.server.handler.AuthHandler
 
handlePacket(Channel, AccountingRequest, InetSocketAddress, String) - Method in class org.tinyradius.server.handler.AcctHandler
 
handlePacket(Channel, RadiusPacket, InetSocketAddress, String) - Method in class org.tinyradius.proxy.handler.ProxyRequestHandler
Proxies the given packet to the server given in the proxy connection.
handlePacket(Channel, T, InetSocketAddress, String) - Method in class org.tinyradius.server.handler.DeduplicatorHandler
 
handlePacket(Channel, T, InetSocketAddress, String) - Method in interface org.tinyradius.server.handler.RequestHandler
Handles the received Radius packet and constructs a response.
HandlerAdapter<T extends RadiusPacket> - Class in org.tinyradius.server
SimpleChannelInboundHandler implementation that converts between RadiusPackets and DatagramPackets.
HandlerAdapter(Dictionary, RequestHandler<T>, Timer, SecretProvider, Class<T>) - Constructor for class org.tinyradius.server.HandlerAdapter
 
handleResponse(DatagramPacket) - Method in class org.tinyradius.client.handler.ClientHandler
Processes DatagramPacket.
handleResponse(DatagramPacket) - Method in class org.tinyradius.client.handler.ProxyStateClientHandler
 
handleResponse(DatagramPacket) - Method in class org.tinyradius.client.handler.SimpleClientHandler
 
handleServerResponse(Dictionary, RadiusPacket) - Method in class org.tinyradius.proxy.handler.ProxyRequestHandler
Sends an answer to a proxied packet back to the original host.
hashCode() - Method in class org.tinyradius.attribute.RadiusAttribute
 
HEADER_LENGTH - Static variable in class org.tinyradius.packet.RadiusPacket
 

I

INSTANCE - Static variable in class org.tinyradius.dictionary.DefaultDictionary
 
IntegerAttribute - Class in org.tinyradius.attribute
This class represents a Radius attribute which only contains a 32 bit integer.
IntegerAttribute(Dictionary, int, int, int) - Constructor for class org.tinyradius.attribute.IntegerAttribute
 
IpAttribute - Class in org.tinyradius.attribute
This class represents a Radius attribute for an IP address.
IpAttribute.V4 - Class in org.tinyradius.attribute
IPv4 Address
IpAttribute.V6 - Class in org.tinyradius.attribute
IPv6 Address
Ipv6PrefixAttribute - Class in org.tinyradius.attribute
This class represents a Radius attribute for an IPv6 prefix.

L

Lifecycle - Interface in org.tinyradius.util
 
LifecycleRequestHandler<T extends RadiusPacket> - Interface in org.tinyradius.proxy.handler
 
listen(DatagramChannel, InetSocketAddress) - Method in class org.tinyradius.server.RadiusServer
 

M

MemoryDictionary - Class in org.tinyradius.dictionary
A dictionary that keeps the values and names in hash maps in the memory.
MemoryDictionary() - Constructor for class org.tinyradius.dictionary.MemoryDictionary
 

N

newInstance(Dictionary, int, int, byte[]) - Method in interface org.tinyradius.attribute.AttributeType.ByteArrayConstructor
 
newInstance(Dictionary, int, int, String) - Method in interface org.tinyradius.attribute.AttributeType.StringConstructor
 
nextPacketId() - Static method in class org.tinyradius.packet.RadiusPacketEncoder
Increment the next packet identifier.

O

openStream(String) - Method in class org.tinyradius.dictionary.DictionaryParser.ClasspathResourceResolver
 
openStream(String) - Method in class org.tinyradius.dictionary.DictionaryParser.FileResourceResolver
 
openStream(String) - Method in interface org.tinyradius.dictionary.DictionaryParser.ResourceResolver
 
org.tinyradius.attribute - package org.tinyradius.attribute
Classes for Radius attributes and Radius attribute types.
org.tinyradius.client - package org.tinyradius.client
Classes for Radius Client and reference implementations of ChannelHandlers to handle incoming packets.
org.tinyradius.client.handler - package org.tinyradius.client.handler
 
org.tinyradius.client.retry - package org.tinyradius.client.retry
 
org.tinyradius.dictionary - package org.tinyradius.dictionary
Interfaces and classes that manage a dictionary of Radius attribute types.
org.tinyradius.packet - package org.tinyradius.packet
Classes for encoding and decoding Radius packets.
org.tinyradius.proxy - package org.tinyradius.proxy
Classes for Radius Proxy and reference implementation of ProxyHandler for incoming packets.
org.tinyradius.proxy.handler - package org.tinyradius.proxy.handler
 
org.tinyradius.server - package org.tinyradius.server
Classes for Radius Server, and reference implementation of ChannelHandlers for incoming packets.
org.tinyradius.server.handler - package org.tinyradius.server.handler
 
org.tinyradius.util - package org.tinyradius.util
 

P

PacketType - Class in org.tinyradius.packet
Packet type codes.
PacketType() - Constructor for class org.tinyradius.packet.PacketType
 
parseDictionary(String) - Method in class org.tinyradius.dictionary.DictionaryParser
Returns a new dictionary filled with the contents from the given input stream.
PASSWORD_ACCEPT - Static variable in class org.tinyradius.packet.PacketType
 
PASSWORD_REJECT - Static variable in class org.tinyradius.packet.PacketType
 
PASSWORD_REQUEST - Static variable in class org.tinyradius.packet.PacketType
 
prepareRequest(RadiusPacket, RadiusEndpoint, Promise<RadiusPacket>) - Method in class org.tinyradius.client.handler.ClientHandler
Preprocess RadiusPackets before they are sent.
prepareRequest(RadiusPacket, RadiusEndpoint, Promise<RadiusPacket>) - Method in class org.tinyradius.client.handler.ProxyStateClientHandler
 
prepareRequest(RadiusPacket, RadiusEndpoint, Promise<RadiusPacket>) - Method in class org.tinyradius.client.handler.SimpleClientHandler
 
ProxyDeduplicatorHandler - Class in org.tinyradius.proxy.handler
Deduplicator derived from DeduplicatorHandler that allows any RadiusPacket type and implements Lifecycle.
ProxyDeduplicatorHandler(ProxyRequestHandler, Timer, long) - Constructor for class org.tinyradius.proxy.handler.ProxyDeduplicatorHandler
 
ProxyHandlerAdapter - Class in org.tinyradius.proxy
ChannelInboundHandler that allows any RadiusPacket type and implements Lifecycle.
ProxyHandlerAdapter(Dictionary, LifecycleRequestHandler<RadiusPacket>, Timer, SecretProvider) - Constructor for class org.tinyradius.proxy.ProxyHandlerAdapter
 
ProxyRequestHandler - Class in org.tinyradius.proxy.handler
RadiusServer handler that proxies packets to destination.
ProxyRequestHandler(RadiusClient<?>) - Constructor for class org.tinyradius.proxy.handler.ProxyRequestHandler
 
ProxyStateClientHandler - Class in org.tinyradius.client.handler
ClientHandler that matches requests/response by appending Proxy-State attribute to outbound packets.
ProxyStateClientHandler(Dictionary, SecretProvider) - Constructor for class org.tinyradius.client.handler.ProxyStateClientHandler
 

R

RadiusAttribute - Class in org.tinyradius.attribute
This class represents a generic Radius attribute.
RadiusClient<T extends io.netty.channel.socket.DatagramChannel> - Class in org.tinyradius.client
This object represents a simple Radius client which communicates with a specified Radius server.
RadiusClient(EventLoopGroup, ChannelFactory<T>, ClientHandler, RetryStrategy, InetAddress, int) - Constructor for class org.tinyradius.client.RadiusClient
 
RadiusEndpoint - Class in org.tinyradius.util
Wrapper class for a remote endpoint address and the shared secret used for securing the communication.
RadiusEndpoint(InetSocketAddress, String) - Constructor for class org.tinyradius.util.RadiusEndpoint
 
RadiusException - Exception in org.tinyradius.util
An exception which occurs on Radius protocol errors like invalid packets or malformed attributes.
RadiusException() - Constructor for exception org.tinyradius.util.RadiusException
 
RadiusException(String) - Constructor for exception org.tinyradius.util.RadiusException
 
RadiusException(String, Throwable) - Constructor for exception org.tinyradius.util.RadiusException
 
RadiusException(Throwable) - Constructor for exception org.tinyradius.util.RadiusException
 
RadiusPacket - Class in org.tinyradius.packet
A generic Radius packet.
RadiusPacket(Dictionary, int, int) - Constructor for class org.tinyradius.packet.RadiusPacket
Builds a Radius packet with the given type and identifier, without attributes, and with null authenticator.
RadiusPacket(Dictionary, int, int, byte[]) - Constructor for class org.tinyradius.packet.RadiusPacket
Builds a Radius packet with the given type and identifier and without attributes.
RadiusPacket(Dictionary, int, int, byte[], List<RadiusAttribute>) - Constructor for class org.tinyradius.packet.RadiusPacket
Builds a Radius packet with the given type, identifier and attributes.
RadiusPacket(Dictionary, int, int, List<RadiusAttribute>) - Constructor for class org.tinyradius.packet.RadiusPacket
Builds a Radius packet with the given type and identifier and without attributes.
RadiusPacketEncoder - Class in org.tinyradius.packet
 
RadiusPacketEncoder() - Constructor for class org.tinyradius.packet.RadiusPacketEncoder
 
RadiusProxy - Class in org.tinyradius.proxy
This class implements a basic Radius proxy that receives Radius packets and forwards them to a Radius server.
RadiusProxy(EventLoopGroup, ChannelFactory<? extends DatagramChannel>, InetAddress, ProxyHandlerAdapter, int, int) - Constructor for class org.tinyradius.proxy.RadiusProxy
 
RadiusServer - Class in org.tinyradius.server
Implements a simple Radius server.
RadiusServer(EventLoopGroup, ChannelFactory<? extends DatagramChannel>, InetAddress, ChannelHandler, ChannelHandler, int, int) - Constructor for class org.tinyradius.server.RadiusServer
 
removeAttribute(RadiusAttribute) - Method in class org.tinyradius.packet.RadiusPacket
Removes the specified attribute from this packet.
removeAttributes(int) - Method in class org.tinyradius.packet.RadiusPacket
Removes all attributes from this packet which have got the specified type.
removeAttributes(int, int) - Method in class org.tinyradius.packet.RadiusPacket
Removes all sub-attributes of the given vendor and type.
removeLastAttribute(int) - Method in class org.tinyradius.packet.RadiusPacket
Removes the last occurrence of the attribute of the given type from the packet.
removeSubAttribute(RadiusAttribute) - Method in class org.tinyradius.attribute.VendorSpecificAttribute
Removes the specified sub-attribute from this attribute.
RequestHandler<T extends RadiusPacket> - Interface in org.tinyradius.server.handler
 
RESERVED - Static variable in class org.tinyradius.packet.PacketType
 
resolve(String, String) - Method in class org.tinyradius.dictionary.DictionaryParser.ClasspathResourceResolver
 
resolve(String, String) - Method in class org.tinyradius.dictionary.DictionaryParser.FileResourceResolver
 
resolve(String, String) - Method in interface org.tinyradius.dictionary.DictionaryParser.ResourceResolver
 
RetryStrategy - Interface in org.tinyradius.client.retry
 

S

scheduleRetry(Runnable, int, Promise<RadiusPacket>) - Method in interface org.tinyradius.client.retry.RetryStrategy
Schedule a retry in the future.
scheduleRetry(Runnable, int, Promise<RadiusPacket>) - Method in class org.tinyradius.client.retry.SimpleRetryStrategy
 
SecretProvider - Interface in org.tinyradius.util
 
setAcctStatusType(int) - Method in class org.tinyradius.packet.AccountingRequest
Sets the Acct-Status-Type attribute of this Accounting-Request.
setAuthProtocol(String) - Method in class org.tinyradius.packet.AccessRequest
Selects the protocol to use for encrypting the passphrase when encoding this Radius packet.
setUserName(String) - Method in class org.tinyradius.packet.AccessRequest
Sets the User-Name attribute of this Access-Request.
setUserName(String) - Method in class org.tinyradius.packet.AccountingRequest
Sets the User-Name attribute of this Accounting-Request.
setUserPassword(String) - Method in class org.tinyradius.packet.AccessRequest
Sets the plain-text user password.
SimpleClientHandler - Class in org.tinyradius.client.handler
ClientHandler that uses packetIdentifier and remote address to uniquely identify request/responses.
SimpleClientHandler(Dictionary) - Constructor for class org.tinyradius.client.handler.SimpleClientHandler
 
SimpleRetryStrategy - Class in org.tinyradius.client.retry
 
SimpleRetryStrategy(Timer, int, int) - Constructor for class org.tinyradius.client.retry.SimpleRetryStrategy
 
start() - Method in class org.tinyradius.client.RadiusClient
Registers the channel and binds to address.
start() - Method in class org.tinyradius.proxy.handler.ProxyDeduplicatorHandler
 
start() - Method in class org.tinyradius.proxy.handler.ProxyRequestHandler
 
start() - Method in class org.tinyradius.proxy.ProxyHandlerAdapter
 
start() - Method in class org.tinyradius.proxy.RadiusProxy
 
start() - Method in class org.tinyradius.server.RadiusServer
 
start() - Method in interface org.tinyradius.util.Lifecycle
Initialize dependencies.
STATUS_ACCEPT - Static variable in class org.tinyradius.packet.PacketType
 
STATUS_CLIENT - Static variable in class org.tinyradius.packet.PacketType
 
STATUS_REJECT - Static variable in class org.tinyradius.packet.PacketType
 
STATUS_REQUEST - Static variable in class org.tinyradius.packet.PacketType
 
STATUS_SERVER - Static variable in class org.tinyradius.packet.PacketType
 
stop() - Method in class org.tinyradius.client.RadiusClient
Closes channel socket
stop() - Method in class org.tinyradius.proxy.handler.ProxyDeduplicatorHandler
 
stop() - Method in class org.tinyradius.proxy.handler.ProxyRequestHandler
 
stop() - Method in class org.tinyradius.proxy.ProxyHandlerAdapter
 
stop() - Method in class org.tinyradius.proxy.RadiusProxy
 
stop() - Method in class org.tinyradius.server.RadiusServer
 
stop() - Method in interface org.tinyradius.util.Lifecycle
Shutdown and close resources.
StringAttribute - Class in org.tinyradius.attribute
This class represents a Radius attribute which only contains a string.

T

toByteArray() - Method in class org.tinyradius.attribute.RadiusAttribute
 
toByteArray() - Method in class org.tinyradius.attribute.VendorSpecificAttribute
Renders this attribute as a byte array.
toDatagram(RadiusPacket, InetSocketAddress) - Static method in class org.tinyradius.packet.RadiusPacketEncoder
 
toString() - Method in class org.tinyradius.attribute.AttributeType
 
toString() - Method in class org.tinyradius.attribute.RadiusAttribute
 
toString() - Method in class org.tinyradius.attribute.VendorSpecificAttribute
Returns a string representation for debugging.
toString() - Method in class org.tinyradius.packet.RadiusPacket
 

V

V4(Dictionary, int, int, String) - Constructor for class org.tinyradius.attribute.IpAttribute.V4
 
VENDOR_SPECIFIC - Static variable in class org.tinyradius.attribute.VendorSpecificAttribute
 
VendorSpecificAttribute - Class in org.tinyradius.attribute
This class represents a "Vendor-Specific" attribute.
VendorSpecificAttribute(Dictionary, int) - Constructor for class org.tinyradius.attribute.VendorSpecificAttribute
Constructs a new Vendor-Specific attribute to be sent.
verify(String, byte[]) - Method in class org.tinyradius.packet.AccessRequest
AccessRequest does not verify authenticator as they contain random bytes.
verify(String, byte[]) - Method in class org.tinyradius.packet.RadiusPacket
Checks the request authenticator against the supplied shared secret.
verifyPassword(String) - Method in class org.tinyradius.packet.AccessRequest
Verifies that the passed plain-text password matches the password (hash) send with this Access-Request packet.

W

WritableDictionary - Interface in org.tinyradius.dictionary
A dictionary that is not read-only.
A C D E F G H I L M N O P R S T V W 
All Classes All Packages