OracleXML with OPS$ Account

Can anyone help with the following:
A script is running code which makes a call to OracleXML's putXML method. It used to supply a hardcoded username and password and functioned correctly. However, security policy changes meant that using hardcoded username and password values was no longer acceptable.
Instead, the script must now make use of an OPS$ account to gain access to the database.
The script is run as the OPS$ verified user and the -user parameter passed to the oracleXML call is now set to "/".
The problem is that the script now fails at this OracleXML call claiming:
"java.sql.SQLException: ORA-01017: invalid username/password; logon denied."
I have been unable to find documentation on using an OPS$ account with oracleXML, so any pointers would be much appreciated.
Thanks!

Ok . i got it. and one more doubt also, Thanks  sybrand_b , sb  and all
$ sqlplus  /
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 22 19:47:32 2013
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> show  user;
USER  is  "OPS$RED"
SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> !
$ sqlplus  /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 22 19:49:01 2013
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
SQL> show user;
USER is ""
For ops$<user> account :  if  they use  SQL>sqlplus  /nolog  when  connecting to  the database
           oracle is ignoring to show username. any specific reason for this ?

Similar Messages

  • Trigger program with ops$account

    Hello rvgv and  Edstevens ;
    please see trigger program output and my doubts. please clear it.
    Session 1
    SQL> show user;
    USER is "SYS"
    SQL> alter user  ops$red  identified by red;
    User altered.
    SQL> grant dba to ops$red;
    Grant succeeded.
    Session 2
    $ whoami
      red
    $ export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    $ export PATH=$PATH:$ORACLE_HOME/bin
    $ export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    $ export ORACLE_SID=orclprod
    $ sqlplus /
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 22 15:41:45 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> show user;
    USER is "OPS$RED"
    SQL> select count(*) From session_privs;
      COUNT(*)
           161
    I have  two problems here ..
    select * from user_login;
    USERNAME
    ISDBA
    EXTERNAL_NAME
    AUTHENTICATION_TYPE
    HOST
    SESSION_ID
    LOGIN_DATE
    LOGIN_TIME
    OPS$RED
    FALSE
    RED
    OS
    LINUXSERVER
    711
    22-JUN-13
    14:06:52
    OPS$RED
    FALSE
    RED
    OS
    LINUXSERVER
    712
    22-JUN-13
    14:06:31
    OPS$RED
    FALSE
    RED
    OS
    LINUXSERVER
    713
    22-JUN-13
    14:06:15
    OPS$RED
    FALSE
    RED
    OS
    LINUXSERVER
    714
    22-JUN-13
    14:06:20
    OPS$RED
    FALSE
    RED
    OS
    LINUXSERVER
    715
    22-JUN-13
    14:06:06
    Question 1 :
    If user identified by password .. that user will be  database authenticated user.
    but ops$red  - still being OS authenticated account. - why ?
    Question 2 :
    Sysdba already granted  DBA privilege to ops$red.
    but still showing  ISDBA=FALSE

    Ok . i got it. and one more doubt also, Thanks  sybrand_b , sb  and all
    $ sqlplus  /
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 22 19:47:32 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> show  user;
    USER  is  "OPS$RED"
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> !
    $ sqlplus  /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jun 22 19:49:01 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL> show user;
    USER is ""
    For ops$<user> account :  if  they use  SQL>sqlplus  /nolog  when  connecting to  the database
               oracle is ignoring to show username. any specific reason for this ?

  • Using ops$ accounts with Database Access Descriptors

    Hi, I have installed and configured the Photo Album demo under 9i on Windows 2000 with no problems. I wish to use the operating system via oracle ops$ accounts to provide access to the Db through the Database Access Descriptor using the Gateway Database Access Descriptor Configuration tool. While the ops$ accounts I have configured work as expected under sqlplus, i.e. I am able to login to the Db without manually supplying a username and password e.g. sqlplus / , there does not seem to be a way of configuring the DAD to accept ops$ accounts for access to the photo album demo. Please can anyone confirm this to be the case and/ or provide an alternative solution. Kind regards.

    I am pretty sure if you specify a DB username and password in dads.conf, you will not need to log in. Also, there is a tool to encrypt the password so it is not in clear text in the config file.
    From the dads.README For 10:
    - One or more mod_plsql specific directives. For example:
    PlsqlDatabaseUsername scott
    PlsqlDatabasePassword tiger
    PlsqlDatabaseConnectString orcl
    PlsqlAuthenticationMode Basic
    I am on 10 now, so I don't personally know if it the same on 9. I don't use the DADs tool either, but you should be able to set a username/password for the dad so that there is not a need to login.
    It would be best to ask in the HTMLDB forum, they would know better.
    Larry

  • OPS$ Account on Oracle Express 10g on Linux

    I have the exact same setup for an identical OPS$ account on an Oracle Standard Edition 10g database (running on Linux) and it works perfectly when logging in as
    sqlplus /
    However, the same setup does not work for the same OPS$ account on Oracle Express 10g. I have seen previous postings about OPS$ accounts that worked with Linux but not Windows XP (with the solution posted) but I seem to be having a problem getting Linux to work. I am running Redhat Linux Enterprise Edition 4.0.
    Thanks for any help...

    To have OPS$ account on XE you need to put user you using in ORA_DBA user group.
    HTH

  • OPS$ Account Authentication in OC4J

    Hi,
    We have an existing database which uses OPS$ account authentication in Oracle Forms 6i. Fine.
    But, I need to access the same database from a JSP Application deployed to OC4J. Does OC4J and JDBC support OPS$ authentication in any way?
    Thanks,
    Jeremy

    HI,
    Thanks for the response. Actually, I want all users to log in individually, rather than share a JDBC connection username and password. The users currently use Oracle Forms 6i and log in with the "/" username (which then uses remote authentication on the database).
    The issue is that they I'm not able to use this kind of authentication via JDBC as, as far as I understand it, this is a feature of SQL*Net (which JDBC does not "use").
    The workaround is that the users were created as "create user x identified by y" and not "create user x identified externally" so that they're able to log in both ways. I'm only able to do this because we're using the "OPS$" prefix.
    1) using remote authentication
    2) Explicitly specifying username and password.
    Cheers,
    Jeremy

  • Ops$ account - cant login

    Hello reader,
    I have the next question about ops$ account.
    When I login in with sqlplus
    connect / @database it works
    If I sqldeveloper (version 3.0.40) using it will not work
    Connection
    Connection name: Connectiondatabasename
    Username: blank
    Password : blank
    Connection Type: basic
    <Got parameters from tnsping>
    OS Authentication: on

    First you can try to change the connection type from basic to TNS and then select your desired database from the drop down list, this should get all the connection information from the same TNSNAMES.ORA file that is being used by SQLPlus.
    If this does not work you can try checking the preference
    Tools -> Database -> Advanced -> Use OCI/Thick Driverto force SQLDeveloper to use your local Oracle Client (should be an 11g client).
    If you still have problems paste here the contents of the TNSNAMES.ORA file you are using (if you can) and the version of the database you want to connect, so we can try to give you a more detailed explanation.

  • When i login with microsoft account cannot access with administrative share c$

    i have a problem when i login to windows with microsoft account cannot access any network computer with administrative sharing c$,d$ with windows 8.1 
    but when i login with local account can access
    and some people tell  me create key in regedit t fix it 
    after enter user name and password show this error 
    and i apply your instruction  and not fix until now
    note:
     my Machine windows 8.1 if another machine in network windows 7 can access a hidden share if machine in network windows 8.1 show this message in image 2 
    but if i login with local user can i access all machine hidden share network windows 7 and 8.1

    yes this computer i want to access  name poland2-work and have two users 
    first :administrator
    second : poland 2

  • I have 2 macbooks each with an account for me and one for my wife. I use one Macbook logged in with my account and my wife uses the other Macbook only loged in on her account. We both make regular time-machine back-ups each on a separate external disk

    I have 2 Macbooks each with an account for me and one for my wife. I use one Macbook logged in with my account and my wife uses the other Macbook only logged in on her account. We both make regular time-machine back-ups each on a separate external disk. Is it possible to update her account on my macbook using her external disk without overwriting my stuff on the same Macbook and vice versa?

    Time Machine does not do individual accounts. It records the complete drive. So if you were to use her TM backup on your Mac it would make your Mac just like hers. Both yours and her account on your MAC.
    Just copy the missing files over from her Mac to yours. If there are differennt programs on each then they would need to be installed on both.

  • How do I "Change country with this account" with a family share plan

    I have a family that is international. We have two accounts, one each in a different country! wife and I. Both accounts have many books, music apps and lots of iTunes credit still on account. . While trying to set up the new family plan, I keep getting error messages. When I click on the invite email, I get this message: Cannot Join This Family. Which is crazy. Then, thinking it must be because I was still on the same device, I just set up OS8 on another device, and tried it again, with another error now coming up that says I have to Change the Country with this account. How do you do that? Why do you need to have all the accounts be in the same country? Hello, sometimes people live overseas, Apple! I was hoping this new family plan would finally allow me to use content fairly paid for with different devices and not have to suffer that cockamemy 90 day lock out. Help!,

    The iTunes stores in different countries are entirely separate.  You can only use an iTunes store credit in the country in with it was created and purchased content cannot be shared across countries.  Family sharing groups must be country-specific, using iTunes store credits for purchases only within that country, and sharing purchases that were made in that country.  You can contact iTunes store support for more details on these restrictions here: https://www.apple.com/emea/support/itunes/contact.html.

  • Share specific playlists with specific accounts?

    I've just begun setting up accounts for my family members on my iMac since we are all beginning to amass our own music/movies/videos/photos. Is there an easy way to have each account have access only to specific playlists within my iTunes library (which would be every song on the iMac)? I looked at sharing playlists in iTunes preferences but I don't see how to get it to work with each account.

    I just reread my post and I see I'm not being clear....
    I want the admin account to have the entire library while each user has access only to user-specific playlists.

  • Have an issue regarding library books. My ereader is validated with Kobo account and Adobe Digital Editions account, but I get an error: 'this document is protected bij DRM and isn't available with your Adobe ID'.

    Have an issue regarding library books. My ereader is validated with Kobo account and Adobe Digital Editions account, but I get an error: 'this document is protected bij DRM and isn't available with your Adobe ID'.

    same problem for me. I am using abe edition 3 as I don't think 4 can be used with kobo. Book has been downloaded to kobo but it can't be read as it is not authorised.Help please

  • I was gifted a app store 50$ gift card but it wont let me use it because I'm in the UK store. I can't change my location because of the credit card associated with the account and my phone number please help

    I can't change my location because of the credit card associated with the account and my phone number please help

    Gift cards are country specific.
    They can only be used inside the borders of the country of issue.

  • Hello,when i login with the account of my wife it does not unable her music files.could you help me please?

    I have an imac osx 10.9.5 and 3,4GHz intel core i7
    When i login with the account of my wife in itunes, it does not show me the music files from her library,but only the music files from mine.
    What do i have to do?

    i mean log into iTunes Store,but i have solve this issue by myself.
    Thank you for your support.

  • I recently updated my primary email address associated with my Apple ID account. When I go to App store on my iPad it still tries to login to the App store using the old email address I had associated with the account, and naturally my password doesn

    I recently updated my primary email address associated with my Apple ID account.
    Now when I go to App store on my iPad it still tries to login to the App store using the old email address I had associated with the account, and naturally my password doesn't work. I can't figure out how to tell my iPad to login using the updated email address.
    So in effect I'm locked out of the app store and I currently have 26 updates waiting.
    I've tried disconnecting and reconnecting my IPad to iCloud with no luck.. However I cloud happens to show the correct/updated email address.
    Does anyone know how to resolve this?
    Thanks

    Did you change the email for the Apple ID or did you create a new Apple ID? A new Apple ID cannot be used with content that was bought using a different Apple ID.
    Changing the email address you use for your Apple ID -
    http://support.apple.com/kb/HT5621

  • Cannot access to any site with ssl connection and fail to open safari and keychain, unless restart computer and login in with Guest account.

    when Update to 10.7.2 ,I cannot access to any site with ssl connection and fail to open safari and keychain, unless restart computer and login in with Guest account.
    OS:10.7.2
    Macbook Pro 2010-mid 13inch

    I also have the same problem, however if I use Firefox or Opera sites with ssl connection work fine. Still, I can't use Google Chrome (ssl), Safari (ssl), the Mac app store (generally), or the iTunes store (generally). Both the iTunes store, Safari and the app store won't respond, and Chrome displays this error: (net::ERR_TIMED_OUT). The problem persists regardless of what network I'm using. Also, when trying to access the keychain or iCloud, the process will not start (will hang). I didn't have these problems at all before updating to 10.7.2.
    Sometimes rebooting helps, and sometimes not. If the problem disappears by rebooting, then it only lasts a few minutes before it reappears. It is very frustrating, especially since there doesn't seem to be any obvious or consistent way of which to fix it.
    I'm also using a Macbook Pro 13-inch mid 2010.

Maybe you are looking for