cnxh 发表于 2021-1-1 10:43:12

apache-apollo设置才能,物联网连接设备需要密码才能连接

本帖最后由 cnxh 于 2021-1-1 10:50 编辑

apache-apollo-1.7.1怎样设置才能,物联网连接设备需要密码才能连接
网上找了下,说是users.properties文件是设置密码的,用写字板打开,怎么设置都没用,测试的软件还是不需要密码就可以连接
下面的字符是原文件内容,我修改admin=password为其它的或在下面添加其它的,都没有用,谢谢大家

## ---------------------------------------------------------------------------
## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements.See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not use this file except in compliance with
## the License.You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
## ---------------------------------------------------------------------------

#
# The list of users that can login.This file supports both plain text or
# encrypted passwords.Here is an example what an encrypted password
# would look like:
#
# admin=ENC(Cf3Jf3tM+UrSOoaKU50od5CuBa8rxjoL)
#

admin=password
页: [1]
查看完整版本: apache-apollo设置才能,物联网连接设备需要密码才能连接