Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Embedded PL/SQL Gateway and custom authentication

Embedded PL/SQL Gateway and custom authentication

From: yossarian <yossarian99_at_operamail.com>
Date: Mon, 12 Feb 2007 16:01:24 +0100
Message-ID: <45d08137$0$20808$5fc30a8@news.tiscali.it>


Did anyone tried to use custom authentication with Embedded PL/SQL Gateway in Oracle XE?

If I set up the "authentication-mode" attribute this way:

DBMS_EPG.set_dad_attribute (

    dad_name   => 'my_dad',
    attr_name  => 'authentication-mode',
    attr_value => 'PerPackageOwa'

  );

And then I try a simple test package:

create or replace package x as
  function authorize return boolean ;
  procedure hello ;
end ;
/

create or replace package body x as
  function authorize return boolean is
  begin
    return true ;
  end ;
  procedure hello is
  begin
    htp.print('hello');
  end ;
end ;
/

I get this result from the browser:

Custom Authentication Failure. [x.authorize] oerr = 1006 ORA-01006: bind variable does not exist

Am I missing something?

Thank you. Kind regards, Yossarian. Received on Mon Feb 12 2007 - 09:01:24 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US