Oracle 11g xdb allow anonymous access

In preparation of the Oracle spatial workshop that i will give in the near feature i tried quickly to run my example i wrote a while ago about including Oracle Mapviewer in apex. With the fresh installation of 11g i encountered the problem that apex needed credentials for xdb. Because of the demo purpose i allowed anonymous access by running the following script with sys user:

begin
dbms_xdb.cfg_update(xmltype.insertxmlbefore(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig/protocolconfig/httpconfig/authentication',
xmltype('<allow-repository-anonymous-access
xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">true</allow-repository-anonymous-access>')));
commit;
dbms_xdb.cfg_refresh;
end;
/

Popularity: 4% [?]

Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

No Responses to “Oracle 11g xdb allow anonymous access”

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Website:
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>