Guest User

Untitled

a guest
Nov 18th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. c['www'] = dict(port=8010,
  2. plugins=dict(waterfall_view={}, console_view={}),
  3. avatar_methods=[])
  4. c['www']['authz'] = util.Authz(
  5. allowRules = [
  6. util.AnyEndpointMatcher(role="admins")
  7. ],
  8. roleMatchers = [
  9. util.RolesFromUsername(roles=['admins'], usernames=['lramage94'])
  10. ]
  11. )
  12. c['www']['auth'] = util.UserPasswordAuth([('lramage94','password')])
Add Comment
Please, Sign In to add comment