# 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.

# Shiro INI configuration

# Objects and their properties are defined here, such as the securityManager, Realms and anything else needed
# to build the SecurityManager
[main]

# The 'users' section is for simple deployments when you only need a small number of statically-defined
# set of User accounts.
# username = password, roleName1, roleName2, …, roleNameN
[users]
root = s3cr3t!, ADMIN, DBA
scientist = w0rk!ng4u, DATA_SCIENTIST
analyst = p@55w0rd, DATA_ANALYST
guest = guest, GUEST

# The 'roles' section is for simple deployments when you only need a small number of statically-defined roles.
# rolename = permissionDefinition1, permissionDefinition2, …, permissionDefinitionN
[roles]
ADMIN = CLUSTER:MANAGE, CLUSTER:READ, CLUSTER:WRITE
DBA = DATA:MANAGE, DATA:READ, DATA:WRITE
DATA_SCIENTIST = DATA:READ, DATA:WRITE
DATA_ANALYST = DATA:READ
GUEST = NULL

# The 'urls' section is used for url-based security in web applications.  We'll discuss this section
# in the Web documentation
[urls]
