Module Import alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Return CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd Str NameLoad Return ListLoad TupleLoad Str BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Str If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad NameLoad Index Str If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Expr Call NameLoad Str NameLoad Return ListLoad Assign NameStore Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Str Assign NameStore BinOpMod NameLoad Dict Str Str Str NameLoad NameLoad NameLoad Expr Call NameLoad Str ListLoad Return ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Return NameLoad decorator_list
N/A N/A datetime paste.auth auth_tkt webob Request N/A LOGIN_FORM_TEMPLATE <html>
<head>
<title> Demo SSO Login </title>
</head>
<body>
<h1> Demo SSO Login </h1>
<p style="color: Red">%(message)s</p>
<form action="#" method="post">
 <input type="hidden" name="came_from" value="%(came_from)s" />
 <fieldset id="login_name_fs">
  <label for="login_name">Login Name</label>
  <input type="text" id="login_name" name="login_name" value="%(login_name)s" />
 </fieldset>
 <fieldset id="password_fs">
  <label for="password">Login Name</label>
  <input type="password" id="password" name="password" />
 </fieldset>
 <input type="submit" name="form.submitted" value="Log In" />
</form>
</body>
</html>
 N/A SECRET s33kr1t N/A COOKIE_NAME auth_cookie N/A MAX_AGE 3600 N/A AUTH N/A phred bharney y4bb3d4bb4d00 b3dr0ck _validate N/A N/A login_name password N/A N/A N/A N/A N/A N/A AUTH get login_name password N/A _get_cookies N/A N/A environ value N/A N/A N/A later N/A N/A N/A N/A datetime datetime now N/A N/A datetime timedelta seconds N/A int MAX_AGE N/A expires N/A N/A later strftime %a, %d %b %Y %H:%M:%S N/A tail N/A ; Max-Age=%s; Expires=%s N/A MAX_AGE expires N/A cur_domain N/A N/A environ get HTTP_HOST N/A N/A environ get SERVER_NAME N/A wild_domain N/A . cur_domain N/A N/A N/A Set-Cookie N/A %s="%s"; Path=/; Domain=%s%s N/A COOKIE_NAME value wild_domain tail N/A login N/A N/A environ start_response N/A N/A N/A request N/A Request environ N/A message N/A N/A form.submitted N/A request POST N/A N/A came_from N/A N/A request POST N/A came_from N/A login_name N/A N/A request POST N/A login_name N/A password N/A N/A request POST N/A password N/A remote_addr N/A environ N/A REMOTE_ADDR N/A N/A _validate login_name password N/A N/A headers N/A N/A Location came_from N/A ticket N/A N/A auth_tkt AuthTicket SECRET login_name remote_addr cookie_name COOKIE_NAME secure True N/A headers N/A _get_cookies environ N/A N/A ticket cookie_value N/A N/A N/A headers append N/A Location came_from N/A N/A start_response 302 Found headers N/A N/A N/A message Authentication failed N/A N/A came_from N/A N/A N/A request GET get came_from N/A login_name N/A body N/A LOGIN_FORM_TEMPLATE N/A message came_from login_name message came_from login_name N/A N/A start_response 200 OK N/A N/A N/A body N/A main N/A N/A global_config N/A local_config N/A N/A login N/A