Access url parameters in oracle apex

Hi,
Can anyone tell me the solution for the following
i am calling my apex application from java code via url, i am passing username and password in the url
now i want to authenticate the user how can i do?
how can i obtain the username and password in apex and check from my database?
Thanks and regards

Hi Denes,
Thanks for the reply
I will be encrypting my username and password via some java code and then i would be sending it in the url.
Is there any other and better way to pass username and password to apex application via java code??
Now in my application i want to check the username and password that has been passed from the url exist in my database or not.
how can i do that?
At this step i would also like to decrypt username and password, how can i achieve that?
this is what i mean by my second question.
Let me just brief about my situation
i am having one java application, in which i need to provide a link which directs to my apex application.
the username and password i have used to login in my java app needs to be checked in my apex application.
i cannot provide a separate login page for this one so i need to pass the username and password.
Thanks,
Edited by: keny_01 on Feb 4, 2010 2:54 AM

Similar Messages

  • Can I access URL parameters?

    Is it possible to access URL parameters from a WebStart application?
    Example:
    http://www.domain.com/example.jnlp?parameter1=43
    I would like to initialize my JWS app using the information given to me in parameter1.
    Is this possible? I believe that this would be very powerful.
    Thanks.

    If your www.domain.com/example.jnlp is a CGI script or servlet that returns a .jnlp file with
      <application-desc>
        <argument>43</argument>
    </application-desc>and you retrieve that parameter from args[1], it might work.
    Regards,
    Marc

  • How to set/get URL-parameters from ORACLE -tag?

    How do I set/get parameters in a URL, using the <ORACLE>-tag?
    We are trying to create a UI Template containing a dynamic
    stylesheet selection dialogue on top of every page. The question
    we are facing now is how to pass parameters (in our case,
    stylesheet settings) between different pages.
    Any ideas/comments are appreciated!

    How do I set/get parameters in a URL, using the <ORACLE>-tag?
    We are trying to create a UI Template containing a dynamic
    stylesheet selection dialogue on top of every page. The question
    we are facing now is how to pass parameters (in our case,
    stylesheet settings) between different pages.
    Any ideas/comments are appreciated!

  • How to access url parameters in query builder side

    I call a report via url and it works fine but now i want to use lexical parametrs.
    I create a lexical parameter in the report but how can i establish relation between url parametrs and lexical parametrs from report?
    Example
    URL: report1.rtf?PUser=1&PCity=2
    REPORT: P_WHERE lexical parameter
    How can i define that something like P_WHERE -> "where user=PUser and city=PCity"
    Please give me a hand, its urgent
    Thanks

    Hi,
    do this in the after paramform trigger:
    :p_where := 'where user='||PUser||' and city='||PCity;
    Regards
    Rainer

  • Calling APEX form with dynamic parameters from Oracle Apps 11.5.8

    I have successfully managed to setup access to APEX forms from Oracle Apps 11.5.8 menus utilising Form Functions passing a number of hardcoded parameter values as outlined in the document, http://www.oracle.com/technology/products/database/application_express/pdf/Extend_Oracle_Applications_11i.pdf.
    I am now trying to ZOOM from an Oracle Form passing values of form items (dynamic parameters) to an APEX form. I have so far not been able to do this.
    I've also tried using;
    web.show_document('http://derep.obup.co.uk:4657/pls/apex/f?p=100:1::::::p1_cust_account_id:'||name_in('ast_cu_act.account_id')||':', '_TOP');
    but this prompts for a username/password again as this bypasses the APEX Launch process that is defined in my Form Function.
    Is this possible in the parameters section of Form Functions? or elsewhere.
    Regards,
    Naeem

    Hi Daan
    We do havea couple of customers doing this, they have taken two approaches:
    1. Install XMLP on a separate server entirely - kick off conc request to extract data and then use Java Messaging Service (JMS) to push the resulting XML to the external server where they are using AQ to set up jobs for the XMLP server to work through, generating and delivering the final documents.
    2. Set XMLP up as a virtual printer - here the conc request again generates XML but this time the result is directed to a virtual printer namely XMLP. There is a perl or similar wrapper that gets called as the printer and accepts the data, template, output format and delivery destination as parameters.
    Apologies for the 10,000 feet overview, hope it helps. Tim

  • Can Oracle APEX access/report against an Oracle9i datbase?

    Can Oracle APEX access/report against an Oracle9i datbase? I know APEX has to be installed on Oracle 11g or 12c. I have a 11g environment to install it in, but I want to have ti read data from an existing 9i databasethat we are unable to upgrade at this time.

    APEX can create reports on any data that the database (which is running APEX) can access.
    This becomes a database question that is usually found in the General forum:
    How can an Oracle 11g database access data from an <place a name of a database here> database?
    One common answers:  Database Links.
    (Materialized Views and Golden Gate come to mind... but, again... these are database problems, not APEX problems.)
    I'll let others comment on the practicality of these solutions.
    MK

  • How to access GET-parameters in portal url

    Is it possible to access GET-parameters in a bsp application in an iview in the enterprise portal, and if so, how do I do it?
    If you look at the url of this post (/message/1514719#1514719 [original link is broken])
    I would like to have the value of "forumID" in the bsp application in the iview with shortlink "thread".

    Raja,
    your solution is what I was initially looking for, so thank you.
    Can you also supply a link to the article you refer to?  I can't find it:-)
    But while looking for this I found something even better, a way to pass parameters to an iview without having to define them in the iview ApplicationParameter-property.
    Apparently the trick is to add the parameter "DynamicParameter" to the url, that translates to different parameters in your bsp application(iview).
    So if you want your bsp application to have the parameters "roomid=555&date=01.01.2007" your url should be
    http://bla/irj/portal/rooms?DynamicParameter=roomid%3D555%26date%3d01.01.2007
    where %3D is the ascii representation of "=" and %26 is the ascii representation of &.
    I found this here : /message/529588#529588 [original link is broken] , but in this thread they say to separate the parameters by a ";", whereas for me it only works when i use %26 (&).
    Message was edited by: Dries Horions

  • Error # 3021 - Invalid Relation. --- MS Access to Oracle APEX

    Hello everybody.
    I have 3 years working with Oracle APEX and now I have the need to migrate an Access database to Oracle and APEX.
    I have:
    - MS Access 2003 database
    - Oracle SQL Developer 3.0.04.34
    - Oracle 10g Database
    I will try to provide all the relevant information.
    I used the Access Exporter for Access 2003 tool from Oracle SQL Developer to creat both .xml (for SQL Dev) file and .sql file (for APEX) but the process show me an error mesassge that said: "Error # 3021 - Invalid Relation. No current record".
    I read in OTN forum that it was because the migration tool can not access the system tables and that I need to modify permisions to allow "Read Data". I did this process and I was able to create .xml file, however if I chose Application Express to create .sql file or the option to create both files the same error shows.
    I have been reading in this forum but didn't find a way to solve it.
    Does any body knows how to solve this issue?
    Any help is appreciated.
    Thanks in advance for your help.

    Hello,
    I can't reproduce your issue.
    Have you double-checked that the tables MSysAccessObjects, MSysACEs, MSysObjects, MSysQueries and MSysRelationships are visible and that the Admin user has at least Read Design and Read Data permission on those tables?
    If that is the case, and the problem still happens, and you are able to give a copy of your .mdb file to Oracle, then I suggest to open a Service Request with Oracle Support so that the issue can be investigated.
    Regards
    Wolfgang

  • Parameters on Oracle JDBC URL

    I wonder if anyone can help.
    I am writing a Java class which uses a JDBC PreparedStatement object to call a stored procedure on an Oracle database.
    To create the PreparedStatement object I use the prepareStatement method of the Connection object.
    I do not create the Connection object - this is important - it is passed into my method by another piece of code I cannot change.
    I need to specify some connection properties - specifically 'SetBigStringTryClob'. All the documentation I can find says that properties such as this can be passed to the Connection when it is created via a Properties object like this:
    // Load the database details into the variables.
    String url = "jdbc:oracle:thin:@localhost:1521:orcl";
    String user = "scott";String password = "tiger";
    // Create the properties object that holds all database details
    Properties props = new Properties();
    props.put("user", user );
    props.put("password", password);
    props.put("SetBigStringTryClob", "true");
    // Load the Oracle JDBC driver class.
    DriverManager.registerDriver(new OracleDriver());
    // Get the database connection
    Connection conn = DriverManager.getConnection( this.url, this.props );
    I cant do this as I dont create the Connection object. What I can do is specify the URL, so I'm thinking I should be able to specify my connection properities as url parameters - but I cant get it to work and I cant find anything anywhere that tells me how to do it.
    Any ideas?
    Alternatively I'm thinking that maybe there is a method of Connection where I can specify these properties - essentially after its been created - but again, I cant find anything
    Any help with this would be very much appreciated;
    Cheers
    Nathan

    Can you use the 11g drivers?
    See http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/oralob.htm#CHDGJJDD
    Specifically the Input section
    Otherwise, is there any reason not to use the Oracle specific extensions? i.e. setStringForClob()

  • Insert a record into a table through email in an Oracle APEX application

    I developed an Oracle APEX application, there is a table called events. I can insert/update/delete a record in the table through browser. I am thinking in order to quickly do the data entry, user should be able to send an email, then the table should be inserted with values from email address, timestamp, subject and body. Anyd idea how to realize this functionality?
    - Denis

    Start by checking whether your mail server provides any API's for accessing emails , if it does you might be able to reduce a lot of work by using some kind of web service consumer from apex to your mail server. In any case your implementation is going to be dependent on your Mail Server configuration.
    Your problem breaks down to reading/accessing mails from the mail server from PLSQL (apex is driven by PLSQL).
    I found this other thread which could be of some use.
    WAY TO ACCESS A MAIL SERVER FROM ORACLE APEX
    <li>The following package might solve your problem directly(from carsten czarski of the German Apex community)
    [url http://plsqlmailclient.sourceforge.net]http://plsqlmailclient.sourceforge.net
    PS: POP3 support is still TBD.
    <li>I also found this posting in the orafaq forums which lists a java method and PLSQL code bit for it for accessing emails via POP3
    [url http://www.orafaq.com/forum/t/80928/2/]http://www.orafaq.com/forum/t/80928/2/
    If these do not work for you, find some java library to read mail from your server, write a PLSQL wrapper for it and use it in a scheduled job(DBMS_JOB)/a PLSQL block triggered from Apex.
    If you get stuck there, find some utility that can read mails, invoke them from your DB using java,shell scrpt,dbms_scheduler etc and use the utility's function for the rest.
    NOTE: I haven't tried any of these utilities and you must validate any java code before running them on your environment.
    Since aren't really much restrictions(other than spam checks) in sending a mail to your mail account, you might want to consider filtering out the mails from which you create records.

  • Installing Oracle Apex 3.2 on Oracle 10g Database Steps

    Hi,
    I am new to installation of oracle apex and oracle 10g Enterprise Edition. I had earlier installed Oracle 10g XE and Apex 3.2 in my location machine.
    Now I need to install Oracle apex 3.2 on oracle 10g enterprise edition
    I did the following steps:
    Step 1: I installed Oracle 10g Enterprise edition
    Step 2: Installed Oracle apex 3.2 on my location Machine with the below steps again
    1> SQL> CONNECT SYS as SYSDBA
    2> apexins SYSAUX SYSAUX TEMP /i/
    3> @apxchpwd (Changed the admin password)
    4> @apxldimg.sql SYSTEM_DRIVE:\APEX32 ( local system path)
    Step 3: What is the next step, Please suggest me how to get the host name and port number I am bit confused here also suggest me is the above step which i followed is correct or not?
    Earlier when i installed oracle XE i had the local host path as a shortcut to get. Here i cant find that. Please suggest me how to get the URL link to access the apex link
    I followed the same process how it is mentioned in this link http://docs.oracle.com/cd/E14373_01/install.32/e13366/otn_install.htm#insertedID2
    Thanks
    Sudhir
    Edited by: Sudhir_Meru on Jun 17, 2012 3:23 AM

    Sudhir_Meru wrote:
    Hi,
    I am new to installation of oracle apex and oracle 10g Enterprise Edition. I had earlier installed Oracle 10g XE and Apex 3.2 in my location machine.
    Now I need to install Oracle apex 3.2 on oracle 10g enterprise edition
    I did the following steps:
    Step 1: I installed Oracle 10g Enterprise edition
    Step 2: Installed Oracle apex 3.2 on my location Machine with the below steps again
    1> SQL> CONNECT SYS as SYSDBA
    2> apexins SYSAUX SYSAUX TEMP /i/
    3> @apxchpwd (Changed the admin password)
    4> @apxldimg.sql SYSTEM_DRIVE:\APEX32 ( local system path)
    Step 3: What is the next step, Please suggest me how to get the host name and port number I am bit confused here also suggest me is the above step which i followed is correct or not?Host name is the name of the server you have installed and usually port is defaulted to 8080.
    So if you have installed on your workstation/laptop you can simply try http://localhost:8080/apex
    >
    Earlier when i installed oracle XE i had the local host path as a shortcut to get. Here i cant find that. Please suggest me how to get the URL link to access the apex link
    I followed the same process how it is mentioned in this link http://docs.oracle.com/cd/E14373_01/install.32/e13366/otn_install.htm#insertedID2
    Thanks
    Sudhir
    Edited by: Sudhir_Meru on Jun 17, 2012 3:23 AM

  • Passing parameters to oracle rports from oracle forms

    Dear all,
    Can anyone tell me how to pass parameters from oracle forms 10g to oracle reports 10g ,i want to hide my connection string and parameteres while open the report through web
    can anyone plese help me out to solve this problem.

    Hi,
    I had trail as advised, but anticipated results were not observed.
    Here is the named configuration in formsweb.cfg
    [NMPT]
    form=D:\NMPT\FORMS\FHOPENFORM.fmx
    userid=hmsprod/hmsprod@hindalco
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    imageBase=CodeBase
    separateFrame=True
    lookandfeel=oracle
    logo=none
    splashScreen=no
    pageTitle =Test Application
    background=no
    colorScheme=blue
    archive_jini=f90all_jinit.jar,icons.jar,frmwebutil.jar,jacob.jar
    archive=f90all.jar
    height=768
    width=1024
    envFile=nmpt.env
    otherparams=useSDI=yesLOCATIONID=NMPT # new parameter which I want to access in my form
    the URL is as follows:
    http://MyPC:8888/forms90/f90servlet?config=NMPT
    But I am unable to open the login page

  • Oracle Apex Authentication with EBS

    Hello ,
    My name is Ramiz.
    I have Oracle Applications EBS suite with 10g and Oracle Apex on seperate 10g.
    Now, I am trying to use same user-id and password of EBS to login into Oracle Apex. I have performed following steps from this url.
    (http://skrajend.blogspot.com/2007/06/htmldb-authentication-with-oracle.html)
    1. I have dblink between two database nodes (i.e. EBS database and Apex database )
    2. I have created following function as well on EBS database.
    ====
    SQL> create or replace function ebiz_suite_auth (p_username IN VARCHAR2, p_password IN VARCHAR2)
    return boolean
    as
    begin
    if fnd_web_sec.validate_login(p_username, p_password) = 'Y' then
    return true;
    else
    return false;
    end if;
    end;
    ====
    2. Now in second step from above url , Author is granting execute priv to
    user "HTMLDB" like following
    SQL> grant execute on ebiz_suite_auth to htmldb;
    But , my question is that Apex is installed on different 10g so in above
    execute statement which user should I give execute to ? Do I have to create same user of Apex in EBS database and give exec priv ? but than how does it going to talk to EBS database ?
    3. I have created the Authentication Scheme as the steps described in the above url.
    =================
    2nd approach which is same as above except but here user is not giving
    any exec priv
    ===============
    create auth function ( as above)
    Create a new Authentication Scheme
    •Select From Scratch
    •Enter a Name
    •Leave Sentry Functionempty
    •Leave Session Verification Functionempty
    •Set Invalid Session Target= ApExBuilt in Login Page
    •Leave Pre-Authentication Processempty
    Select Use my custom function to authenticatefor
    the Credentials Authentication Method and enter
    return custom_ebiz_suite_auth;
    for the Authentication Function
    •Leave the Post-Authentication Processempty
    •Leave all Cookie Informationempty
    •Enter
    wwv_flow_custom_auth_std.logout?p_this_flo
    w=&APP_ID.&p_next_flow_page_sess=&APP_ID.:
    1:&SESSION.
    for the Logout URL(all on one line)
    •Create & Activate your Authentication Scheme
    I performed 2nd approach too but it doesn't work for me because
    my Apex is installed in seperate 10g and EBS is in sperate 10g. 2nd approach is from a perosn name SCOTT.

    Hi I have followed steps given
    in http://balajiabhi.blogspot.com/2009/03/integrating-apex-in-r12-with-oracle.html
    i.e I followed R12 direct installing not installed separate OHS....
    I have installed Apex in Datbase and them modified dads.conf located on 10.1.3 home of R12 ebusiness suite with following
    <Location pls/apex_R12>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString usncx053:1536:edge
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword admin
    PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    Allow from all
    </Location>
    And tried to access using url ...http://usncx054.diebold.com:8015/pls/apex_r12/apex_admin

  • Oracle apex protocols

    Hi All
    actually I want to access system files by using oracle apex.
    Path is file:///home/srl/a.jpg
    but when i am giving this address in url or in javascript, its not working.
    Is there any alternative to do so.When I am using http protocol, In that case the page is redirected.But when I am using file protocol nothing is happening.

    Hey,
    Why are you posting duplicate threads when your question oracle apex protocols is already in queue.
    Please have patience, users will answer your thread whenever they get time.
    -- Sunil Bhatia

  • Getting error while importing the application in Oracle Apex

    Hi,
    I am facing an issue while importing an application into my new Oracle Apex installation. Installation was successful with out any issue. I exported an application from my old Apex (version 3.0.0.00.20) and importing the same into new apex (version 3.0.1.00.08). I am getting the following error.
    ============================================================
    The requested URL /pls/apex/wwv_flow.accept was not found on this server.
    ============================================================
    When I click on import in Application Builder page and then browse the required file it gives the progress saying "Importing File" and after some time it displays the above error.
    I tried bouncing the application also and there is not error in alert log.
    Could any one please suggest, if there is some problem here. Or my approach is not correct.
    Thanks in advance.
    Regards,
    Advait Deo

    Osacar, I recommend that you try to import the application into your workspace on apex.oracle.com and see what happens. Also, refine the problem statement as much as you can, e.g., you get this error importing "the application" or when importing "any" application. How big is the file you're trying to import? Where did it come from? Can you upload images?
    Scott

Maybe you are looking for

  • Redaction in Acrobat X Standard

    I would like to redact documents using Acrobat X Standard. Is this available?  I have tried two versions of X Standard but neither of them have the Mark for Redaction button under Black Out & Remove Content of the Protection Tools.

  • Is it possible to change the order of the Print | PDF dropdown menu?

    From the Print dialog box, one option is the PDF dropdown menu in the lower left. The two options I use most often are second and eighth on the list. Can the list order be rearranged?

  • Photoshop Elements 8 Installation

    I recently purchased Elements 8. I installed it on one computer and the installation went fine,no problems. I tried to install it on a second computer and eveytime I tried to install Elements 8, it would get to the end of the installation and it reca

  • How to move files from one user to another?

    I have an account for my wife on my iMac and started up in her account and then backed up her iBook into this account (on my computer). I wasn't thinking that this would mean her files would not be accessible to me. Is there a way to be able to trans

  • How do i get rid of 4.6GB of messages that i don't see.

    my usage says i have 4.6GB used by messages but i do not have any current messages in my message box. How do i get rid of this problem?