How to configure RADIUS 2nd factor authentication

How to configure RADIUS 2nd factor authentication


Problem:  Would like to setup RADIUS (token) authentication as a 2nd factor authentication method.


Prerequisite(s):
  • RADIUS server IP/port#
  • RADIUS server secret key
  • Access to Server Management console (8090 console)

Solution(s):  It's important to have the 8090 console because if you misconfigure the RADIUS settings you will not be able to login from traditional login page.  You will need to go in through 8090 console -> Settings -> webAdmin Dashboard to turn off RADIUS authentication.  If you are unfamiliar with the previous description, do NOT continue and contact support for assistance.

Steps how-to enable:
  1. Go to webAdmin -> Tree Root -> Stoneware
  2. Expand DefaultLoginPolicy (or equivalent login policy object)
  3. Right-click on DefaultLoginPolicy and create a new object of type Login Attribute
  4. Enter name RadiusAttribute
  5. Enter the following information:
    Application type: Authorization
    Description: Radius-Password
    Name: [RADIUS.password]
  6. Click Save button
  7. Click on DefaultLoginPolicy object
  8. Under Ordered Attributes, click + button to add
  9. Add in the RadiusAttribute
  10. Go to the Options panel
  11. Turn on Radius Authentication checkbox
  12. Enter the IP address for the Authentication Server
  13. Enter the Authentication Port
  14. Enter the IP address for the Accounting Server (Optional)
  15. Enter the Accounting Port (Optional)
  16. Enter the shared secret for the RADIUS server
  17. Click Save button
  18. Restart relay from 8090 console
  19. Test login


Steps how-to disable:

  1. Go to webAdmin -> Tree Root -> Stoneware
  2. Go back to the DefaultLoginPolicy
  3. Under the Ordered Attributes box, select the RadiusAttribute and click X to remove it
  4. Go to the Options panel
  5. Uncheck the Radius Authentication checkbox
  6. Click the Save button
  7. Restart relay from 8090 console


Debugging:

com.stoneware.auth.RADIUSAuthenticator


Keywords: 2-Factor, Two-Factor