Re: Anyone got LogOff to work with DB Authentication?

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: 1997/06/18
Message-ID: <33ab2cdf.15565752_at_newshost>#1/1


On Wed, 18 Jun 1997 08:48:08 -0500, Shannon Thornton <thornton_at_icchip.wes.army.mil> wrote:

>I downloaded the Database Authentication cartridge for OWS. I set it up
>and everything works fine except I cannot get the LogOff feature to
>work. I don't think I understand what I need to do to use it.
>According to the docs you should access:
>
>http://YourHost:YourPort/YourDCDName/owa/LogMeOff
>
>In my case, my DCD is the OWA_DEFAULT_SERVICE (ie I don't have to put
>that as part of my URL). So I tried both of the following:
>
>http://YourHost:YourPort/owa/LogMeOff
>- and -
>http://YourHost.YourPort/LogMeOff
>
>In both cases, it has no idea what I'm trying to access. Is there
>something that must be setup for this to work. This is fairly important
>for our testing since we need to test certain pages as several different
>users to check the behavior.
>
>TIA
>Shannon Thornton
>thornton_at_icchip.wes.army.mil
>

Even though you are using the OWA_DEFAULT_SERVICE, this is not the dcd you need.

Lets say you had:

authenticate = my_dcd my_other_dcd

In the svXXXX.app file in the [DBAUTH] section and you had the owa_default_service setup and /my_dcd was mapped to the DBAUTH cartridge. You could then run:

 http://yourHost/my_dcd/owa/SomeProcedure

This would prompt you for a username/password. Once you enter that, you get to see the results of the SomeProcedure routine. Anytime you used http://YourHost/my_dcd/owa/* it would reuse that password. To "logoff" you would now enter the URL:

  http://yourHost/my_dcd/owa/LogMeOff

Now, simply enter bye, exit, logoff, log, or quit in the username field of the basic authentication dialog and hit enter. You'll get a page that says "You have been deauthenticated". To verify, try to goto the page

 http://yourHost/my_dcd/owa/SomeProcedure

Again, it'll ask you for your username and password again.....

Thomas Kyte
tkyte_at_us.oracle.com
Oracle Government
Bethesda MD

http://govt.us.oracle.com/ -- downloadable utilities



Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Wed Jun 18 1997 - 00:00:00 CEST

Original text of this message