项目作者: globalreachtech

项目描述 :
Java Radius library built on Netty, loosely based off TinyRadius
高级语言: Java
项目地址: git://github.com/globalreachtech/tinyradius-netty.git
创建时间: 2019-06-26T02:18:24Z
项目社区:https://github.com/globalreachtech/tinyradius-netty

开源协议:GNU Lesser General Public License v2.1

下载


TinyRadius-Netty

Gradle Build
Maintainability
Coveralls
Quality Gate Status
Known Vulnerabilities

Maven Central
javadoc

TinyRadius-Netty is a Java Radius library, loosely based off the TinyRadius Radius library, rebuilt with Java 8 and Netty patterns/features.

Features

  • Sends/receives Radius packets
  • Signs and verifies Request Authenticator for Access and Accounting requests/responses
  • Supports verifying and encoding for PAP, CHAP, and EAP (Message-Authenticator)
  • Attach arbitrary attributes to packets
  • Loads dictionaries recursively from file system or classpath (Radiator/FreeRadius format)

Improvements over TinyRadius

  • Netty for async IO, timeouts, thread management
  • Handlers follow Netty’s interceptor filter pattern, blocking calls use promises
  • log4j2 instead of commons-logging
  • Java 6-11 features (generics, NIO, lambdas, streams)
  • Packets and Attributes are fully immutable
  • 80%+ test coverage
  • Proxy no longer a separate implementation, but a promise-based adapter between the client and server classes

Usage

See the e2e tests on usage as Client/Server/Proxy.

Maintainers

License

Copyright Matthias Wuttke and contributors:

Licensed under LGPL 2.1