1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:27 +02:00
dockerfiles/sdc/data/form-realm.properties
2019-03-02 21:02:32 +08:00

47 lines
1.5 KiB
Properties

#
# Copyright 2017 StreamSets Inc.
#
# Licensed 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 format is
# <user>: MD5:<password>[,user,<role>,<role>,...,<group:group1>,<group:group2>,....]
#
# Supported roles are: admin, manager, creator, guest
#
# 'user' must always be present
#
# Prefix with 'group:' for group information for the user.
#
# FORM authentication, password is same as user name
admin: MD5:21232f297a57a5a743894a0e4a801fc3,user,admin
guest: MD5:084e0343a0486ff05530df6c705c8bb4,user,guest
creator: MD5:ee2433259b0fe399b40e81d2c98a38b6,user,creator
manager: MD5:1d0258c2440a8d19e716292b231e3190,user,manager
user1: MD5:24c9e15e52afc47c225b757e7bee1f9d,user,manager,creator,group:dev
user2: MD5:7e58d63b60197ceb55a1c487989a3720,user,manager,creator,group:dev
user3: MD5:92877af70a45fd6a2ed7fe81e1236b78,user,manager,creator,group:test
user4: MD5:3f02ebe3d7929b091e3d8ccfde2f3bc6,user,manager,creator,group:test
#
# To compute the MD5 run the following command:
#
# OSX:
# $ echo -n "<password>" | md5
#
# Linux:
# $ echo -n "<password>" | md5sum
#