Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Resolving authenticated webserverUser within java
Keimel Bernhard wrote:
>
> i have problems getting the authenticated user from a java-cartritge on
> the oracle web application server 3.0.
> how is it possible to read that user, who authenticated himself by basic
> or digest authentication on the listener and the wrb?
On the listener... the environment variable "user" gets set
if auth.. was done.. that's standard for any Web server. So one
can get the userid even in a CGI... though it will be empty if
auth.. was not done.
The cartridge enviroment is outside of the Webserver.. and if the cartridge did the authentication.. the user variable likely is cleared away when the requests ends.. Which means passing the userid back and forth.. in html.. and creating another table to check via the users IP address on who's good and whos not...etc.. etc... a real pain...
Where I work we are in the process(we hope) of solving the Web server applications / access crisis ... using FireWall-1 It prompts for the users NDS(Netware password).. the NDS tree has added fields(groups actually) to note who can access.. The Firewall.. has all the logic in it... ie.. URL path.. //someplace.com/owa/someapp ok for NDS groupa We are testing this out in depth the next few weeks... Email me at haas_at_mco.edu and I'll let you know how it worked out.
Hope that helped...
Bye.. Scott
>
> any hints are appreciated !
>
> (and fuck off all spammers !!!!)
>
> kuemi
>
> --
> Keimel Bernhard
> ===============
> Mozartstrasse 61 / 519
> 9020 Klagenfurt, Austria
>
> voice: +43 676 3401928
> email: bkeimel_at_edu.uni-klu.ac.at
-- Scott Haas - US2232 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ A M O K A W I N D S U R F I N G ~~ Searching ~~ ~~~ 4703 Lose Monclova, OH 43542 ~~~ For ~~~~~~~ ~~~ phone/fax 419-878-6009 ~~~~ The ~~~~~~ ~~~ email amoka_at_toledolink.com ~~~~~ Amoka ~~~ ~~~ http://www.toledolink.com/amoka ~~~~~~ Gust ~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Received on Sun Dec 14 1997 - 00:00:00 CST