How to make J2EE application in OC4J use windows credentials

Hi,
I have a J2EE application which is deployed in Oracle10AS. When a user tries to access this application, the application should use windows login information and authenticate the user and allow access to the user.
Can someone guide me on how to achieve this, any links or documents to achieve this would be greatly appreciated.
Thanks

The configurations in mod_osso.conf were not made properly hence getRemoteUser() was failing. Once mod_osso.conf was configured properly everything went well.

Similar Messages

  • How to make destop application using java

    how to make destop application using java
    i mean to say when we double click on the exe file the program should lounch the application
    for windows

    when i double click ii got the msg
    Failed to lad main class manifest attribute from
    x/x/xyz.jar
    what exatly it meansIt means that your Manifest.MF for the JAR file should contain an attribute called Main-Class pointing to a class containing the main() method.
    Something like this should be present in META-INF/Manifest.MF :
    Main-Class: MyApplicationMain

  • How to recognize if application is installed using "Install Application on Remote Desktop" option on Windows Server 2008 R2

    How to recognize if application is installed using "Install application on remote desktop..." option in Control Panel in Windows Server 2008 R2?
    Basically, as administrator, I can't say if the user installed application using "Install application on remote desktop..." in Control Panel or he just installed it by clicking the .msi executable. I can't find anything that makes any difference.
    I could not find anything in the registry. I am quite confused.
    Thanks,
    Aleksandar9

    Hi,
    Thank you for your posting in Windows Server Forum.
    Please make sure that you are using category view of control panel-programs to check the application. And in addition to “install application on Remote Desktop server” user can also use command line also.
    change user /install
    change user /execute
    change user /query
    “The first time you run the application, it searches the home directory for its .ini files. If the .ini files are not found in the home directory, but are found in the system directory, Terminal Services copies the .ini files to the home directory, ensuring
    that each user has a unique copy of the application .ini files. Each user should have a unique copy of the .ini files for an application. This prevents instances where different users might have incompatible application configurations.” (Quoted formthis
    article).
    Hope it helps!
    Thanks,
    Dharmesh

  • How to make Forms6i Application Install Program?????

    How to make Forms6i Application Install Program?????
    We have finished a Forms6i Application , and need a installer to install software.
    Can I use Oracle installer or must use MS visual C++ to make a installer? I need wirte a register.
    Anything inclued in Form6i Production (IDS) to introduce installer???
    Thank you.

    How to make Forms6i Application Install Program?????
    We have finished a Forms6i Application , and need a installer to install software.
    Can I use Oracle installer or must use MS visual C++ to make a installer? I need wirte a register.
    Anything inclued in Form6i Production (IDS) to introduce installer???
    Thank you.

  • Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times

    Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times.
    Please help to set it up, thanks in advance

    You need to give more info..
    Firstly only works for what.. networking.. backup.. wireless. You need more nouns.. more adjectives... describe what you want and what fails.. then we can figure out why.
    Most likely you have bridged it when it should be in router mode..
    Most likely you are using Lion or ML which has the airport utility bridge the TC by default.
    Change it to working as a router. That might help.
    If you press reset button it will default back to router btw.
    If you are on Lion.. use a real utility. http://support.apple.com/kb/DL1547

  • How to make Avery 8160 address labels using pages

    Anyone know how to make Avery 8160 address labels using Pages? 

    Open the Avery 8160 Word template from their website.
    Peter

  • How to make Trusted Application

    Hello 2 all
    I want to know how to make trusted application on mobile..?
    Waiting for reply..
    Jignesh

    Hi,
    http://developers.sun.com/techtopics/mobility/midp/articles/permissions/

  • How to make client application

    hi....
    help me...^ ^ how to make client application(not standalone..)
    I seached bea document.. but I can't it.
    if someone have sample(.ear or .jar), I hope you it share...

    Hi
    Client Application can be any Java class, JSP etc which is a part of multi
    tier architecture which accepts input from Client and directs request to the
    middle tier for processing. You can refer to
    http://e-docs.bea.com/wls/docs61/jsp/index.html
    for building jsp's as Client application.
    Regards
    johny
    "kyungmoon" <[email protected]> wrote in message
    news:3c4f571d$[email protected]..
    >
    hi....
    help me...^ ^ how to make client application(not standalone..)
    I seached bea document.. but I can't it.
    if someone have sample(.ear or .jar), I hope you it share...

  • How to start a application with a login window?

    hi there
    does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.

    You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
    <code>
    // set up thread for login window
    new Thread(new Runnable() {
    public void run() {
    // construct your login window here
    // when you are done processing the
    // password....
    if(goodPassword) {
    authorized = true; // a global variable
    notifyAll(); // don't forget this
    else {
    System.exit(42);
    }).start();
    // control does not stop this code gets executed while
    // the above thread is running.
    // Set up main program here. This is done in the
    // backround.
    while(!authorized) {
    synchronized(this)
    { wait(50); }
    // now when the user logs in this frame pops
    // up real quick.
    myFrame.setVisible(true);
    </code>
    Hope you can figure it out.. good luck :)

  • I created a photo album on my iPhone 4s - edited photos etc. but I cannot figure out how to transfer it to my pc (using Windows 8).  The only folder in the iphone drive is the one which has the Camera roll photos :( Help please - I really need the photos!

    I created a photo album on my iPhone 4s - edited photos etc. but I cannot figure out how to transfer it to my pc (using Windows 8).  The only folder in the iphone drive is the one which has the Camera roll photos Help please - I really need the photos!

    The camera roll is not part of the sync process at all.
    You should be importing these photos to your computer regularly as you would with any digital camera.  Youc an organize them on your computer and sync the to the iphone if you wish.
    The photos sync from the computer to the iphone is one way.
    The iphone mirrors the selected content of the computer to which it is synced.

  • How can I access the iphoto library using windows pc? Upgrading to aperture solves my problem?

    How can I access the iphoto library using windows pc? Upgrading to aperture solves my problem?
    My home network is used both by my macbook and my wife's windows pc. Considering that, I would like to know if we can share our pictures with each other (specially because I intend to store all of them into a NAS storage - WD My Cloud, probably).

    No you can not - neither iPhoto nor Aperture has any cross platform capability
    You can share photos with the PC using MyPhotoStream or Shared PhotoStreames
    You can not share the iPhoto library
    And you can not put the iPHoto library on a NAS - it MUST always be on a volume formatted Mac OS extended (journaled) and mube on a fast wired local connection - it can not be on a Network
    There are Digital Asset Managers that can do what you want - iPhoto and Aperture can not
    LN

  • How to Redeploy application in OC4J using war file

    Hi
    Am new in area of 9ias and OC4J.
    I have deployed and application in OC4J of 9ias 902. using enterprise manager web interface.
    now i have change the contents of current jsp and added more jsp files.
    do i have to recreate war file and redeploy it in oc4j? or just copy the new version of current jsp and copy new jsp in application forlder.
    in case of redeploying , exterprise manager web interface asks for .ear file.
    can anyone give some hint to me... it will great help
    thanks
    samir
    [email protected]

    Yes you have to rebuild the WAR file. You can deploy WAR from EMWebsite by using the deploy WAR link. If you are in development and your WAR/EAR file is constantly changing you can use standalone OC4J.
    regards
    Debu

  • How to make two Application Modules share the same entity cache?

    Hello everyone, I am using JDeveloper 11.1.2.3.0
    I have a little problem in my application through using two AppModules that contain also same ViewObjects. So to be clear one VO is declared in two AppModules. When I commit the view by using AppModule1 and then go to another page that uses the same VO but from AppModule2, I have to commit again, even through the row is previously stored in the database.
    I understood that this came because different AppModules use different entityCache for database communications.
    I am asking if anyone knows any option on how to sync the entity caches from the two appmodules, or how to make them use the same entity cache.
    Thank you

    You can make a copy of the app and give it another name, but it will use the same settings files no matter which you open. Settings aren't stored in the app, but in your Preferences.
    Firefox, being a Windows derivative, might have the capability to use "Profiles" where you'd set it up different for each profile. I don't use Firefox, so I don't know if that option exists.

  • How to make the application offline

    I have X7 phone and each day the amount of my pulse is decreasing. the internet is working but I didnt use it. How can I make the application become offline and not receiving updates. I already set my widgets to offline mode but it still like that. need your help

    go to settings menu...then connectivity...then settings...set "Data use in home country " to always ask....so next time whenever any app would try to connect to internet then it would ask you to either cancel it or other options like  "connect automatically" or "connect this time only" 
    If you want that your phone should only use your home wifi only then set "Data use in home country" to WLAN only

  • How to execute an application in Solaris using Runtime.getRuntime.exec() ?

    I am currently doing a project which requires the execution of Solaris applications through the use of Java Servlet with this Runtime method - Runtime.getRuntime.exec()
    This means that if the client PC tries to access the servlet in the server PC, an application is supposed to be executed and launched on the server PC itself. Actually, the servlet part is not an issue as the main problem is the executing of applications in different platforms which is a big headache.
    When I tried running this program on a Windows 2000 machine, it works perfectly fine. However, when I tried it on a Solaris machine, nothing happens. And I mean nothing... no errors, no nothing. I really don't know what's wrong.
    Here's the code.
    public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException
         response.setContentType("text/html");
         PrintWriter out = response.getWriter();
              Process process;                                                       Runtime runtime = Runtime.getRuntime();
              String com= "sh /opt/home/acrobat/";
              String program = request.getParameter("program");
              try
                        process = runtime.exec(com);
              catch (Exception e)
                   out.println(e);
    It works under Windows when com = "c:\winnt\system32\notepad.exe"
    When under Solaris, I have tried everything possible. For example, the launching of the application acrobat.
    com = "/opt/home/acrobat"
    com = "sh /opt/home/acrobat"I have also tried reading in the process and then printing it out. It doesn't work either. It only works when excuting commands like 'ls'
    BufferedReader read = new BufferedReader(new InputStreamReader(process.getInputStream()));Why is it such a breeze to execute prgrams under Windows while there are so many problems under Solaris.
    Can some experts please please PLEASE point out the errors and give me some advice and help to make this program work under Solaris! Please... I really need to do this!!
    My email address - [email protected]
    I appreciate it.
    By the way, I'm coding and compiling in a Windows 2000 machine before ftp'ing the .class file to the Solaris server machine to run.

    it is possible that you are trying to run a program that is going to display a window on an X server, but you have not specified a display. You specifiy a display by setting the DISPLAY environment variable eg.
    setenv DISPLAY 10.0.0.1:0
    To check that runtime.exec is working you should try to run a program that does not reqire access to an X Server. Try something like
    cmd = "sh -c 'ls -l > ~/testlist.lst'";
    alternatively try this
    cmd = "sh -c 'export DISPLAY=127.0.0.1:0;xterm '"
    you will also need to permit access to the X server using the xhost + command

Maybe you are looking for

  • Acrobat X Pro advertised as compatible w Windows Vista Business

    I just purchased Acrobat X Pro and it was advertised as compatible with Windows Vista Business.  I tired to install it and kept getting an error telling me my system was insufficient to run Acrobat X Pro.  I checked the specs again, I icheck the comp

  • FTP Operations

    Hello, I am trying to do FTP Operations using the sun.net.ftp.*; package. But I am unable to get what I am looking for. I am trying to send a file to the server when I click on a button. Could any one see the code and correct me where I am wrong plea

  • ORA-00376: file 24 cannot be read at this time

    Hi, DB 10.2.0.4 AIX 5.3 PROD When i am trying to start database i got below error.kindly suggest me. SQL> startup ORACLE instance started. Total System Global Area 5368709120 bytes Fixed Size 2091632 bytes Variable Size 2399143312 bytes Database Buff

  • Make Assembly field mandatory in IW24

    Hi , This is Arvind NN ,       In IW24 Create Malfunction. Under Field Assembly i like to make that Assembly field Mandatory for both N2 and N4. Thanks and Regards Arvind NN

  • Is modifying CDPOS table is advisable???

    Hi , For PWC audit as per the rules no credit card details should be stored in SAP system. For that we have written a Zprogram which will modify the Documents via FB02 trasaction but now the Changes are captured in CDHDR and CDPOS table. Now please s