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
Sun, Nov 16, 13:00 (2 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3116478
Default Alt Text
tomcat.py (606 B)

Event Timeline