[RADIATOR] Request rejecting from within PostSearchHook
Alexander Hartmaier
alexander.hartmaier at t-systems.at
Tue May 31 04:33:43 CDT 2011
I have a NoReplyHook that always sends accepts:
NoReplyHook file:"%D/reply-accept.hook"
$ cat reply-accept.hook
sub {
my $p = ${$_[0]};
my $fp = ${$_[1]};
my $rp = ${$_[2]};
$rp->set_code('Access-Accept');
# reply to the Client that sent the request
$p->{Client}->replyTo($p);
return;
}
Best regards, Alex
Am 2011-05-31 10:34, schrieb Siebert Waldemar:
Hello,
It's possible to reject the request from within the PostSearchHook.
I have tried the following:
$_[2]->{RadiusResult} = $main::REJECT;
and
$_[5]->set_code('Access-Reject');
but none of them seems to work.
Thank you
Kind regards
Waldemar Siebert
T-Systems International GmbH
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open.com.au/pipermail/radiator/attachments/20110531/3525b035/attachment.html
More information about the radiator
mailing list