aaa4j / aaa4j-radius

Java library for building RADIUS clients and RADIUS servers
https://aaa4j.org
Apache License 2.0
27 stars 11 forks source link

Calrification #14

Closed ravikiran-chinthakunta-db closed 3 months ago

ravikiran-chinthakunta-db commented 1 year ago

1) How do i get the Reason Code and Reason attributes 2) how do i get the event ids 3) While i am passing username and password reason of failures: 1) Username disabled 2) Wrong password Reason message Which attribute, we have to get the reason of failures While i am passing username, token and state 3) Wrong token 4) State invalid or expiry. Could you please help me on this

ravikiran-chinthakunta-db commented 1 year ago

Do you have any updates on above questions.

tsyd commented 1 year ago

The library currently only supports PAP authentication which doesn't return error codes. It sounds like you are looking to do MS-CHAP or MS-CHAPv2 authentication? Does your RADIUS server return vendor-specific attributes?

ravikiran-chinthakunta-db commented 12 months ago

We are using the PAP authentication

ravikiran-chinthakunta-db commented 12 months ago

Does your RADIUS server return vendor-specific attributes? Yes https://learn.microsoft.com/en-us/azure/virtual-wan/user-groups-radius

Now, are you able to help/provide solution with above attribute return values?

How do i get the Reason Code and Reason attributes how do i get the event ids While i am passing username and password reason of failures: 1) Username disabled 2) Wrong password Reason message Which attribute, we have to get the reason of failures While i am passing username, token and state 3) Wrong token 4) State invalid or expiry. Could you please help me on this