Page MenuHomeDevCentral

tomcat.py
No OneTemporary

tomcat.py

# -------------------------------------------------------------
# Salt — Tomcat execution module
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: BSD-2-Clause
# -------------------------------------------------------------
# -------------------------------------------------------------
# Tomcat users and roles
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def extract_roles_from_users(users):
return set(
role for _, args in users.items() if "roles" in args for role in args["roles"]
)

File Metadata

Mime Type
text/x-python
Expires
Mon, Nov 17, 15:52 (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3116478
Default Alt Text
tomcat.py (606 B)

Event Timeline