A C D E F G H I L M N O P R S T V W
A
- AbstractListener - Class in org.tinyradius.server
- AbstractListener(EventLoopGroup) - Constructor for class org.tinyradius.server.AbstractListener
- 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
-
Helper class to create and extract attributes.
- 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
- 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.RadiusPackets
-
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, SecretProvider>, 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
. - DefaultDictionary() - Constructor for class org.tinyradius.dictionary.DefaultDictionary
- 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.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.AccessRequest
- encodeResponse(String, byte[]) - Method in class org.tinyradius.packet.RadiusPacket
-
Encode and generate authenticator.
- equals(Object) - Method in class org.tinyradius.attribute.RadiusAttribute
- equals(Object) - Method in class org.tinyradius.util.RadiusEndpoint
- eventLoopGroup - Variable in class org.tinyradius.server.AbstractListener
- extractAttributes(Dictionary, int, byte[], int) - Static method in class org.tinyradius.attribute.Attributes
F
- fromByteBuf(ByteBuf) - Method in class org.tinyradius.packet.PacketEncoder
- fromDatagram(DatagramPacket) - Method in class org.tinyradius.packet.PacketEncoder
-
Reads a Radius packet from the given input stream and creates an appropriate RadiusPacket/subclass.
- fromDatagram(DatagramPacket, String) - Method in class org.tinyradius.packet.PacketEncoder
-
Reads a request from the given input stream and creates an appropriate RadiusPacket/subclass.
- fromDatagram(DatagramPacket, String, RadiusPacket) - Method in class org.tinyradius.packet.PacketEncoder
-
Reads a response from the given input stream and creates an appropriate RadiusPacket descendant object.
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.
- getAttributeKey() - Method in class org.tinyradius.attribute.RadiusAttribute
- getAttributeMap() - Method in class org.tinyradius.packet.RadiusPacket
- 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.server.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.server.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, SecretProvider) - Method in class org.tinyradius.server.handler.AuthHandler
- handlePacket(Channel, AccountingRequest, InetSocketAddress, SecretProvider) - Method in class org.tinyradius.server.handler.AcctHandler
- handlePacket(Channel, RadiusPacket, InetSocketAddress, SecretProvider) - Method in class org.tinyradius.server.handler.ProxyRequestHandler
-
Proxies the given packet to the server given in the proxy connection.
- handlePacket(Channel, T, InetSocketAddress, SecretProvider) - Method in class org.tinyradius.server.handler.DeduplicatorHandler
- handlePacket(Channel, T, InetSocketAddress, S) - Method in interface org.tinyradius.server.handler.RequestHandler
-
Handles the received Radius packet and constructs a response.
- HandlerAdapter<T extends RadiusPacket,S extends SecretProvider> - Class in org.tinyradius.server
-
SimpleChannelInboundHandler implementation that converts between RadiusPackets and DatagramPackets.
- HandlerAdapter(PacketEncoder, RequestHandler<T, S>, Timer, S, Class<T>) - Constructor for class org.tinyradius.server.HandlerAdapter
- handleRequest(Channel, DatagramPacket) - Method in class org.tinyradius.server.HandlerAdapter
-
Processes DatagramPacket.
- 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.server.handler.ProxyRequestHandler
-
Sends an answer to a proxied packet back to the original host.
- hashCode() - Method in class org.tinyradius.attribute.RadiusAttribute
- hashCode() - Method in class org.tinyradius.util.RadiusEndpoint
- 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
- listen(DatagramChannel, SocketAddress, ChannelHandler) - Method in class org.tinyradius.server.AbstractListener
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
- newClasspathParser() - Static method in class org.tinyradius.dictionary.DictionaryParser
- newFileParser() - Static method in class org.tinyradius.dictionary.DictionaryParser
- 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.RadiusPackets
-
Increment and return the next packet identifier, between 0 and 255
O
- 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
-
Handlers that convert RadiusPackets to datagrams and handles incoming datagrams.
- org.tinyradius.client.retry - package org.tinyradius.client.retry
-
RetryStrategy
schedules a retry in the future and handles timeouts. - 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.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
-
Callback handlers that are invoked when a packet is received.
- org.tinyradius.util - package org.tinyradius.util
P
- PacketEncoder - Class in org.tinyradius.packet
-
To encode/decode packets to/from Datagram.
- PacketEncoder(Dictionary) - Constructor for class org.tinyradius.packet.PacketEncoder
- 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.
- parseDictionary(WritableDictionary, String) - Method in class org.tinyradius.dictionary.DictionaryParser
-
Parses the dictionary from the specified InputStream.
- 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
- prepareDatagram(RadiusPacket, RadiusEndpoint, InetSocketAddress, Promise<RadiusPacket>) - Method in class org.tinyradius.client.handler.ClientHandler
-
Preprocess RadiusPackets before they are sent.
- prepareDatagram(RadiusPacket, RadiusEndpoint, InetSocketAddress, Promise<RadiusPacket>) - Method in class org.tinyradius.client.handler.ProxyStateClientHandler
- prepareDatagram(RadiusPacket, RadiusEndpoint, InetSocketAddress, Promise<RadiusPacket>) - Method in class org.tinyradius.client.handler.SimpleClientHandler
- ProxyRequestHandler - Class in org.tinyradius.server.handler
-
RadiusServer handler that proxies packets to destination.
- ProxyRequestHandler(RadiusClient) - Constructor for class org.tinyradius.server.handler.ProxyRequestHandler
- ProxyStateClientHandler - Class in org.tinyradius.client.handler
-
ClientHandler that matches requests/response by appending Proxy-State attribute to outbound packets.
- ProxyStateClientHandler(PacketEncoder) - Constructor for class org.tinyradius.client.handler.ProxyStateClientHandler
R
- RadiusAttribute - Class in org.tinyradius.attribute
-
This class represents a generic Radius attribute.
- RadiusClient - Class in org.tinyradius.client
-
This object represents a simple Radius client which communicates with a specified Radius server.
- RadiusClient(EventLoopGroup, ChannelFactory<? extends DatagramChannel>, ClientHandler, RetryStrategy, InetSocketAddress) - 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(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.
- RadiusPackets - Class in org.tinyradius.packet
-
Utils for creating new RadiusPackets
- RadiusPackets() - Constructor for class org.tinyradius.packet.RadiusPackets
- RadiusServer - Class in org.tinyradius.server
-
Implements a simple Radius server.
- RadiusServer(EventLoopGroup, ChannelFactory<? extends DatagramChannel>, HandlerAdapter, HandlerAdapter, InetSocketAddress, InetSocketAddress) - 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,S extends SecretProvider> - Interface in org.tinyradius.server.handler
- RESERVED - Static variable in class org.tinyradius.packet.PacketType
- 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.server
- 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(PacketEncoder) - 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.server.AbstractListener
-
Initialize dependencies.
- start() - Method in class org.tinyradius.server.RadiusServer
- 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
- stop() - Method in class org.tinyradius.server.AbstractListener
-
Shutdown and close resources.
- stop() - Method in class org.tinyradius.server.RadiusServer
- StringAttribute - Class in org.tinyradius.attribute
-
This class represents a Radius attribute which only contains a string.
T
- toAttributeMap() - Method in class org.tinyradius.attribute.RadiusAttribute
-
Returns set of entry of Attribute name and Value as string.
- toAttributeMap() - Method in class org.tinyradius.attribute.VendorSpecificAttribute
- toByteArray() - Method in class org.tinyradius.attribute.RadiusAttribute
- toByteArray() - Method in class org.tinyradius.attribute.VendorSpecificAttribute
-
Renders this attribute as a byte array.
- toByteBuf(RadiusPacket) - Method in class org.tinyradius.packet.PacketEncoder
- toDatagram(RadiusPacket, InetSocketAddress) - Method in class org.tinyradius.packet.PacketEncoder
- toDatagram(RadiusPacket, InetSocketAddress, InetSocketAddress) - Method in class org.tinyradius.packet.PacketEncoder
- 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
- toString() - Method in class org.tinyradius.server.HandlerAdapter
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.