📄 magic-users.properties
字号:
############################################################################# magic-users.properties#--------------------------------------------------------------------------# This file defines the secondary authentication and authorization info for# the Web UI.## The "magic" users set up here will take priority over users created in the # users.xml. For example, if you create a user in users.xml called "rtc",# its password will be ignored in favor of the password here, et cetera. ## The authorization roles set up here are all the roles available to the# system except for the default role: OpenNMS User. All users belong to # the OpenNMS User role, even the "magic" users defined in this file. All # other roles specify their own user list within this file.######################################################################################################################################################### U S E R S ############################################################################ A comma-separated list of user keys. A user.{KEY}.username and # user.{KEY}.password property must be set for each key in this property.users=rtc# The RTC View Control Manager daemon uses this user to authenticate itself# while sending RTC data posts.user.rtc.username=rtcuser.rtc.password=rtc############################################################################# R O L E S ############################################################################ A comma-separated list of role keys. A role.{KEY}.name and # role.{KEY}.users property must be set for each key in this property.roles=rtc, admin# This role allows a user to make RTC data posts.role.rtc.name=OpenNMS RTC Daemonrole.rtc.users=rtc, admin# This role allows users access to configuration and # administrative web pages.role.admin.name=OpenNMS Administratorrole.admin.users=admin
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -