Lines Matching refs:username
15 ``ip_map`` is a map of {ip_mask: (username, roles)}. Either
16 ``username`` or ``roles`` may be None. Roles may also be prefixed
18 revoked. ``'__remove__'`` for a username will remove the username.
22 ``'__remove__'`` will always clobber the username.
37 def _convert_user_role(self, username, roles):
40 return (username, roles)
46 for range, (username, roles) in self.ip_map:
50 if username == '__remove__':
52 elif username:
55 environ['REMOTE_USER'] = username
88 # Give localhost system role (no username):
92 # Give one IP the username joe:
103 username, role = value.split(':', 1)
105 username = value
107 if username == '-':
108 username = ''