Apache2-AuthAny
view release on metacpan or search on metacpan
lib/Apache2/AuthAny/RequestConfig.pm view on Meta::CPAN
# Make sure the auth request is going to the current directory
if ($logout_key ne $pid->{logoutKey}) {
Apache2::AuthAny::AuthUtil::goToGATE($r, 'tech', {msg => "mismatching logout keys."})
}
# After successful authentication, set a new logoutKey
$r->set_handlers(PerlFixupHandler => 'Apache2::AuthAny::FixupHandler::update_logout_key');
# Go to meta redirect to GATE instead of showing ugly browser message
# if user chooses "Cancel" on challenge popup.
my $req = Apache2::Request->new($r);
my $request = $req->param('req');
my $custom_response = <<"RESPONSE";
<html>
<head>
<meta http-equiv="refresh" content="0;url=$request">
</head>
<body>
<!-- Click <a href="$request">here</a> to continue -->
</body>
( run in 2.166 seconds using v1.01-cache-2.11-cpan-364913b4093 )