|
Hello,
I have written my own Auth - Authz handlers based on LDAP. Now I need my ldap groups in my application so I need to stuff them in my HTTP header so I can call them within my application.
But the problem is, I can't see my custom field in my headers :(
Here is my code.
if(($found_usergroup eq $ldap_group) || ($ldap_group == -1))
{
$r->header_out(usergroup,$found_usergroup);
$r->send_http_header();
return Apache2::Const::OK;
}
else
{
return Apache2::Const::HTTP_UNAUTHORIZED;
}
Thanks
|