Implement RADIUS server!
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-10-24 13:12:58 -05:00
parent f98f35f626
commit bd69be7137
16 changed files with 861 additions and 11 deletions

View File

@@ -207,6 +207,7 @@ const auth_config = {
ldap_client: ['ldap:bind', 'ldap:search'],
coreid_base: ['my:profile'],
saml_admin: ['v1:saml', 'saml'],
radius_admin: ['v1:radius', 'radius'],
base_user: [
// Message Service
@@ -226,7 +227,7 @@ const auth_config = {
'ldap:search:users:me',
],
root: ['v1', 'ldap', 'saml', 'profile', 'oauth', 'app', 'auth', 'iam'],
root: ['v1', 'ldap', 'saml', 'profile', 'oauth', 'app', 'auth', 'iam', 'radius'],
},

10
config/radius.config.js Normal file
View File

@@ -0,0 +1,10 @@
const radius_config = {
port: env('RADIUS_PORT', 1812),
cert_file: {
public: env('RADIUS_CERT_FILE'),
private: env('RADIUS_KEY_FILE'),
},
}
module.exports = exports = radius_config