Authorization Scheme for Application - Login Page?

Hi,
When I set an Authorization Scheme at Application level, HTML DB prevents access to my login page. Is there a way around this?
Thanks,
Stephen Baishya

If you follow the above route you have to run the check on each page view.
If you leave as per session the first time you run the authorisation check on the login page it returns true and the user will be allowed onto the application!
I'm looking for an alternative way to run the authZ check after the authN check passes the credentials to validate the user access right to the app. I'll post my findings later ...
cheers
Craig

Similar Messages

  • Authorization scheme for users stored in a database table?

    Hello!
    I'm trying to find out how to make an authorization scheme for database users.
    I first made an authentication scheme for my current application, I named it "Authentication for database accounts", and the scheme type is "Database Accounts".
    A word of explanation:_
    I have a table in my database, named "USERS". Inside this table, I have the following columns:
    - USERID (NUMBER)
    - USERNAME (VARCHAR2(50))
    - PASSWORD (VARCHAR2(50))
    - EMAIL (VARCHAR2(200))
    For this question, I'll take an example user. The username is USER and the password is USER. Email and UserID don't matter here, but let's just say the UserID is 1.
    What I want:_
    When you go to the application, and you are requested to log in (page 101), then I want a user to be able to log in with the data that has been stored in the USERS table.
    So, on the login page, the user will enter USER as username, and USER as password. The authorization scheme then needs to check whether or not this username and password match the data in the USERS table. If it does, then it must sign the user in with the credentials the user entered (those being USER and USER).
    I also want the UserID to be stored somewhere in the application (if possible, in an application item).
    How do I do this? I've never made an authorization scheme before... I'm not too good with PL/SQL either, but I'm working on that part.
    Any help is greatly appreciated.

    I'm trying to find out how to make an authorization scheme for database users. I think there may be some confusion here. An authorization scheme gives the user access to different parts of an Apex Application. Database users are the users that you use to login to the database, for example with sqlplus.
    From the rest of your post it sounds like you need a custom authentication scheme to validate users against a custom table. For this you need to create a custom authentication scheme and select use my custom function to authenticate. Exactly how you set up the authentication scheme depends on the version of Apex you are using. But an example of validate user function you could use is given below:
    function validate_login (
       p_username   in   varchar2
    , p_password   in   varchar2) return boolean
    is
    v_result varchar2(1);
    begin
    select null into v_result
    from USERS
    where userid = p_username
    and password = p_password;
    return true;
    when no_data_found then return false;
    end validate_login;Once the user has successfully logged on the userid will be in the APP_USER apex substitution string.
    And for Application Express Account Credentials, does this mean an admin must make each new user by hand?If you using Apex account credentials the user details are stored within the Apex tables. You can create users using the Apex admin application or by using the APEX_UTIL.create_user api.
    Rod West

  • Best Approach to create Security / Authorization Schema for an APEX Apps

    Hi,
    I am planning to create a Security / Authorization Schema for an APEX Application.
    Just want to know what is the best approach to create the security feature in APEX, so that it should be re-used in other APEXApplications too..
    I am looking for following features...
    1. users LOGIN and then user's name is stored in APEX_USER...
    2. Based on the user, I want to restrict the Application on following levels.
    - TABS
    - TABS - Page1 (Report
    - Page2 (Form)
    - Page2 (Region1)
    - Page2 (Region1, Button1)
    - Page2 (Region1, Items,....)
    AND so on.....basically depending on user....he will have access to certain TABS, Pages, Regions, Buttons, Items...
    I know, we have to create the Authorization Schema for this and then attach these Authorization Schema to the different Level we want.
    My Question is, what should be the TABLE structure to capture these info for each user...where we will say...this USER will have following access...AND then we create Authorization Schema from this table...
    Also what should be the FRONT end, we should have to enter these detail...
    SO, wondering, lot of people may already have implemented this feature....so if guys can provide the BEST Approach (re-usable for other APEX Application)....that will be really nice..
    Thanks,
    Deepak

    Hi Raghu,
    thanks for the detial info.
    so that means..I should have 2 table...
    master table (2 columns - username, password)
            username    password
       user1       xxxx
       user2       xxxx2nd table (2 columns - username, chq_disp_option)
    - In this table, we don't have Y/N Flag you mentioned..
    - If we have to enter all the regions/tabs/pages in the Applications here or just those regions/tabs/pages for which are conditionally diaplayed.
    - so that means in all the Pages/Regions/tabs/items in the entire Application, we have to call the Conditionally display..
    - suppose we have 3 tabs, 5 pages, 6 regions, 15 items..that means in this table we have to enter (3+5+6+15) = 29 records for each individual users..
              username    chq_disp_option
       user1       re_region1
       user1       re_region2
       user1       tb_main
       user1       Page1
       user1       Page5
       ----        ----     - how you are defining unique name for Regions..i mean in static ID or the Title
    - is the unique name for tab & item is same as the TAB_NAME (T_HOME) & Item Name (P1_ITEM1) or you are defining somewhere else.
    Thanks,
    Deepak

  • Problem in getting the application login page

    Hi Firends,
    I am facing problem in getting the application login page.
    http://localhost:7777/pls/apex/f?p=102:1
    when i am clicking this link it is not directing me to the login page for this application.please let me know what could be the reason behind this.
    Thanks in advance

    Hi Martin, many thanks for replying. Let me know how this could effect in not getting the login page. I have checked in my application,it is by default "No application authorization required " and other option is " must not be a public user " . Should i change it to " must not be a public user from no application authorization required"
    please put more light on it. Y i am saying this because it was working fine day b4r yesterday but today i am getting problem in finding the login page of my application aftr providing the url. i am following the SSO authentication scheme and under Home>Application Builder>Application 102>Shared Components>Edit Security Attributes , i have given f?p=&APP_ID.:1:&SESSION. as home link and under Home>Application Builder>Application 100>Page 101>Edit Page Process, this code i have provided
    wwv_flow_custom_auth_std.login(
    P_UNAME => v('P101_USERNAME'),
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':1'
    as a source code.
    i am really stucked into it, and i need to finish is ASAP. Please provide all possible reasons for this problem.

  • Generic Authorization Scheme for items?

    I have created a generic authorization scheme for our application pages, and I would like to extend that to items if possible.
    The page one was easy enough as I could identify the calling page through :APP_PAGE_ID in the authorization scheme. Unfortunately, I do not know of any built in variables that would identify a calling item on a page.
    Is there such a variable or some other way of identifying the item?
    thanks!
    John

    John,
    No, currently you cannot pass any parameters to an Authorization Scheme. I have requested that this be a new feature in a future release of APEX, as it makes all the sense in the world. It would be a lot easier to have 1 scheme that can take a parameter for 100 items vs. 100 schemes, one for each of 100 items.
    In the mean time, you'll have to default to using a condition to determine if an item should be rendered or not. The trick here is that conditions are often used for business rules (such as not showing the SAVE button when you're inserting). Thus, you'll have to account for that when creating your conditions, and thus check both.
    Hope this helps.
    Thanks,
    - Scott -
    http://spendolini.blogspot.com/
    http://sumnertechnologies.com/

  • Error while loading a 10.1.3 ADF application login page on JBoss EAP 6.0.1

    I have a 10.1.3 ADF application that runs well on Web Sphere and OC4J. I'm trying to run it on JBoss EAP 6.0.1. The ear file was deployed successfully to JBOSS and according to ADF logging the connection to Oracle database is established.
    But when I try to load the application login page, I obtain the following exception
    ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/cv].[Faces Servlet]] (http-/0.0.0.0:8080-1) Servlet.service() for servlet Faces Servlet threw exception: oracle.jbo.common.ampool.ApplicationPoolException:
    JBO-30003: The application pool (com.claimvantage.adf.root.Oracle) failed to checkout an application module due to the following exception:
            at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002) [bc4jct.jar:]
            at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) [bc4jct.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) [bc4jct.jar:]
            at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) [adfmweb.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) [bc4jct.jar:]
            at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) [bc4jct.jar:]
            at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536) [adfm.jar:]
            at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396) [adfm.jar:]
            at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) [adfm.jar:]
            at oracle.adf.model.BindingContext.get(BindingContext.java:457) [adfm.jar:]
            at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:308) [adfm.jar:]
            at com.claimvantage.web.bean.jsf.JhsPageLifecycle.getMessageHolder(JhsPageLifecycle.java:220) [cv-model.jar:]
            at com.claimvantage.web.bean.jsf.JhsPageLifecycle.reportErrors(JhsPageLifecycle.java:203) [cv-model.jar:]
            at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:99) [adf-controller.jar:]
            at oracle.jheadstart.controller.jsf.lifecycle.JhsPageLifecycle.prepareRender(JhsPageLifecycle.java:1080) [jhsadfrt-10.1.3.jar:]
            at oracle.adf.controller.v2.lifecycle.Lifecycle$1.execute(Lifecycle.java:297) [adf-controller.jar:]
            at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:426) [adf-controller.jar:]
            at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:77) [adf-controller.jar:]
            at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.13-redhat-1.jar:2.1.13-redhat-1]
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.0.7.Final-redhat-1.jar:2.0.7.Final-redhat-1]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) [adfm.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) [adf-faces-api.jar:10_1_3_2_0]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at com.claimvantage.web.sso.AuthenticationFilter.doFilter(AuthenticationFilter.java:272) [cv-model.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162) [adfm.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123) [adf-faces-impl-no-oracle-desktop-xss.jar:10_1_3_2_0]
            at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103) [adf-faces-api.jar:10_1_3_2_0]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.17.Final-redhat-1.jar:]
            at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_16]
    Any help would be really appreciated.
    Thanks

    Thanks Frank for your answer.
    I can't see where the exception states that DB connection was not established!
    In the log, I have:
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3011] Created root application module: 'com.claimvantage.adf.root.RootAppModule'
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3012] Locale is: 'en_US'
    21:49:06,874 INFO  [stdout] (http-/0.0.0.0:8080-1) [3013] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3014] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3015] import java.util.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3016] import java.sql.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3017] import java.io.*;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3018] public class JDBCCalls  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3019] {  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3020]    public Connection conn = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3021]    public CallableStatement cStmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3022]    public PreparedStatement pStmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3023]    public Statement stmt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3024]    public ResultSet rslt = null;  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3025]    public static void main(String argv[])  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3026]    {  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3027]       DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());  // JBO-JDBC-INTERACT
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3028] Creating a new pool resource
    21:49:06,890 INFO  [stdout] (http-/0.0.0.0:8080-1) [3029] Trying connection/2: url='jdbc:oracle:thin:@s1ora01s:1521:s1ora01a' ...
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3030]       conn = DriverManager.getConnection("jdbc:oracle:thin:@s1ora01s:1521:s1ora01a", /*properties*/);  // JBO-JDBC-INTERACT
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3031]       conn.setAutoCommit(false);  // JBO-JDBC-INTERACT
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3032] Successfully logged in
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3033] JDBCDriverVersion: 10.2.0.1.0XE
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3034] DatabaseProductName: Oracle
    21:49:07,093 INFO  [stdout] (http-/0.0.0.0:8080-1) [3035] DatabaseProductVersion: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Don't you think that it indicates that DB connection is well established?
    MBen

  • Create Authorization Scheme for LDAP Groups

    I have installed APEX 4.0 in my staging environment and got the LDAPS to finally work. I can now login to the application with my LAN user name and password. The only problem is so can everyone else on the LAN. So I wanted to create an authorization scheme that would only allow a certain group or groups of LDAP users into the application rather than everyone.
    I am at the Create Authorization Scheme page and am kind of stuck. Has anyone done this before and can share some SQL or knowledge?

    hi larosejh
    If you want to do that you must write your own procedures using the dbms_ldap package. I found some code a while back that searches the LDAP. Maybe you can use this to create a function for your authentication.
    DECLARE
    retval PLS_INTEGER;
    my_session DBMS_LDAP.session;
    my_attrs DBMS_LDAP.string_collection;
    my_message DBMS_LDAP.message;
    my_entry DBMS_LDAP.message;
    entry_index PLS_INTEGER;
    my_dn VARCHAR2(256);
    my_attr_name VARCHAR2(256);
    my_ber_elmt DBMS_LDAP.ber_element;
    attr_index PLS_INTEGER;
    i PLS_INTEGER;
    my_vals      DBMS_LDAP.STRING_COLLECTION ;
    ldap_host VARCHAR2(256);
    ldap_port VARCHAR2(256);
    ldap_user VARCHAR2(256);
    ldap_passwd VARCHAR2(256);
    ldap_base VARCHAR2(256);
    BEGIN
    retval := -1;
    -- Please customize the following variables as needed
    ldap_host := 'host';
    ldap_port := '389';
    -- In case of update/insert/delete need change ldap_user to other.
         -- ldap_user := 'cn=orcladmin';
         -- ldap_passwd:= 'welcome';
    -- set User and password to NULL for anonymous user.
    ldap_user := 'user';
    ldap_passwd:= 'password';
    ldap_base := 'CN=Users,DC=ee,DC=intern';
    -- end of customizable settings
    -- Start output Header--
    DBMS_OUTPUT.PUT_LINE('+++++++++++++++++++++++++++++++++++++++++++++++++++');
    DBMS_OUTPUT.PUT('> DBMS_LDAP Search Example ');
    DBMS_OUTPUT.PUT_LINE('');
    DBMS_OUTPUT.PUT_LINE(RPAD('> LDAP Host ',25,' ') || ': ' || ldap_host);
    DBMS_OUTPUT.PUT_LINE(RPAD('> LDAP Port ',25,' ') || ': ' || ldap_port);
    -- Choosing exceptions to be raised by DBMS_LDAP library.
    DBMS_LDAP.USE_EXCEPTION := TRUE;
    my_session := DBMS_LDAP.init(ldap_host,ldap_port);
    DBMS_OUTPUT.PUT_LINE (RPAD('> Ldap session ',25,' ') || ': ' ||
    RAWTOHEX(SUBSTR(my_session,1,8)) ||
    '(returned from init)');
    -- bind to the directory
    retval := DBMS_LDAP.simple_bind_s(my_session,
    ldap_user, ldap_passwd);
    DBMS_OUTPUT.PUT_LINE(RPAD('> simple_bind_s Returns ',25,' ') || ': '
    || TO_CHAR(retval));
    -- issue the search
    my_attrs(1) := 'dn'; -- retrieve all attributes
    retval := DBMS_LDAP.search_s(my_session, ldap_base,
    DBMS_LDAP.SCOPE_SUBTREE,
    'objectclass=*',
    my_attrs,
    0,
    my_message);
    DBMS_OUTPUT.PUT_LINE(RPAD('> search_s Returns ',25,' ') || ': '
    || TO_CHAR(retval));
    DBMS_OUTPUT.PUT_LINE (RPAD('> LDAP message ',25,' ') || ': ' ||
    RAWTOHEX(SUBSTR(my_message,1,8)) ||
    '(returned from search_s)');
    -- count the number of entries returned
    retval := DBMS_LDAP.count_entries(my_session, my_message);
    DBMS_OUTPUT.PUT_LINE(RPAD('> Number of Entries ',25,' ') || ': '
    || TO_CHAR(retval));
    DBMS_OUTPUT.PUT_LINE('+++++++++++++++++++++++++++++++++++++++++++++++++++');
    -- End output Heading --
    -- get the first entry
    my_entry := DBMS_LDAP.first_entry(my_session, my_message);
    entry_index := 1;
    -- Loop through each of the entries one by one
    while my_entry IS NOT NULL loop
    -- print the current entry
    my_dn := DBMS_LDAP.get_dn(my_session, my_entry);
    -- DBMS_OUTPUT.PUT_LINE (' entry #' || TO_CHAR(entry_index) ||
    -- ' entry ptr: ' || RAWTOHEX(SUBSTR(my_entry,1,8)));
    DBMS_OUTPUT.PUT_LINE (' dn: ' || my_dn);
    my_attr_name := DBMS_LDAP.first_attribute(my_session,my_entry,
    my_ber_elmt);
    attr_index := 1;
    while my_attr_name IS NOT NULL loop
    my_vals := DBMS_LDAP.get_values (my_session, my_entry,
    my_attr_name);
    if my_vals.COUNT > 0 then
    FOR i in my_vals.FIRST..my_vals.LAST loop
    DBMS_OUTPUT.PUT_LINE(' ' || my_attr_name || ' : ' ||
    SUBSTR(my_vals(i),1,200));
    end loop;
    end if;
    my_attr_name := DBMS_LDAP.next_attribute(my_session,my_entry,
    my_ber_elmt);
    attr_index := attr_index+1;
    end loop;
    my_entry := DBMS_LDAP.next_entry(my_session, my_entry);
    DBMS_OUTPUT.PUT_LINE(' --------------------------------------------------- ');
    entry_index := entry_index+1;
    end loop;
    -- unbind from the directory
    retval := DBMS_LDAP.unbind_s(my_session);
    DBMS_OUTPUT.PUT_LINE(RPAD('unbind_res Returns ',25,' ') || ': ' ||
    TO_CHAR(retval));
    -- Start Output Footer --
    DBMS_OUTPUT.PUT_LINE('Directory operation Successful .. exiting');
    -- Start Output Footer --
    -- Handle Exceptions
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(' Error code : ' || TO_CHAR(SQLCODE));
    DBMS_OUTPUT.PUT_LINE(' Error Message : ' || SQLERRM);
    DBMS_OUTPUT.PUT_LINE(' Exception encountered .. exiting');
    END;
    /

  • Order of evaluation - Authorization scheme or application computation

    APEX 4.2.2
    A page has a Evaluate for every page view authorizaton scheme of the type Value of item in Expression 1 = Expression 2 with Expression 1=G_ITEM and Expression 2=1. G_ITEM is set using  a Before-Header application computation conditioned to fire when G_ITEM is null.
    What I see is that the authorization scheme always returns false and the page is not rendered. Inspecting wwv_flow_data shows that G_ITEM is not there. So it would appear that the authorization scheme is evaluated before the application computation and since it returns false, the engine stops.
    Does that sound right? Is this order of evaluation of components documented anywhere? There is a Utilities > Page Events screen but that doesn't include Authorization schemes.
    Thanks

    Hi Christian - I am referring to a page-level authorization scheme set to be evaluated For each page view
    Here are some more details...the application has only one UI (Desktop) and Application XX > User Interfaces > User Interface Details > Home URL is set to f?p=&APP_ID.:30:&SESSION.
    When I launch the app using f?p=181::::LEVEL9 this is what I get in apex_debug_messages
    init cgi_var_name.count=>29
    CGI: PATH_INFO = /f
    HTTP://xxx/pls/xxx
    QUERY_STRING=p=181::::LEVEL9
    REQUEST_METHOD=GET
    REMOTE_ADDR=xx.xx.xx.xx
    REMOTE_USER=foobar
    APEX_LISTENER_VERSION=
    REFERER=
    Cookies:
    S H O W: application="181" page="" workspace="" request="" session=""
    Reset NLS settings
    alter session set NLS_LANGUAGE="AMERICAN"
    alter session set NLS_TERRITORY="AMERICA"
    alter session set NLS_CALENDAR="GREGORIAN"
    alter session set NLS_SORT="BINARY"
    alter session set NLS_COMP="BINARY"
    ...NLS: Set Decimal separator="."
    ...NLS: Set NLS Group separator=","
    ...NLS: Set g_nls_date_format="DD-MON-RR"
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    no characterset conversion needed
    ...Setting session time_zone to -04:00
    reset_nls_environment
    reset
    reset
    Processing page view with session ID = 0
    fetch_flow_info
    set_html_escaping_mode p_mode=>E
    Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    alter session set nls_language="AMERICAN"
    alter session set nls_territory="AMERICA"
    NLS: CSV charset=WE8MSWIN1252
    ...NLS: Set Decimal separator="."
    ...NLS: Set NLS Group separator=","
    ...NLS: Set g_nls_date_format="DD-MON-RR"
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    Setting NLS_DATE_FORMAT to application date format: mm/dd/yyyy
    ...NLS: Set g_nls_date_format="mm/dd/yyyy"
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    NLS: Language=en-us
    fetch_flow_info
    set_html_escaping_mode p_mode=>E
    Application 181, Authentication: PLUGIN, Page Template: 12902619543947292
    authenticate_and_init_session p_app_id=>181
    fetch_flow_info
    set_html_escaping_mode p_mode=>E
    set_g_security_group_id p_security_group_id=>634111608319703,p_check_host_prefix=>true
    does_host_prefix_match p_security_group_id=>634111608319703,p_host_prefix=>,c_path_info=>/f
    detect_user_interface p_application_id=>181
    ... "Desktop" is the only UI - no autodetection necessary
    ... setting ui to "DESKTOP"
    ... authentication id=252985691712777759, sgid=634111608319703, curr flow sgid=634111608319703
    ... page is public:null
    Authentication check: Login (NATIVE_CUSTOM)
    ... no page specified: failure
    ...fetch session state from database
    get_current
    ... DOES NOT EXIST - ignore
    fetch items (exact)
    Redirecting to f?p=181:30:
    Stop APEX Engine detected
    Final commit
    I am not sure why the engine stops rendering but I get the Access denied by Page security check error on the screen
    Next experiment...launch f?p=181:30:::LEVEL9:
    That gets me the following debug stack
    init cgi_var_name.count=>28
    CGI: PATH_INFO = /f
    HTTP://xxx/pls/xxx.xx
    QUERY_STRING=p=181:30:::LEVEL9:
    REQUEST_METHOD=GET
    REMOTE_ADDR=xx.xx.xx.xx
    REMOTE_USER=foobar
    APEX_LISTENER_VERSION=
    REFERER=
    Cookies:
    S H O W: application="181" page="30" workspace="" request="" session=""
    Reset NLS settings
    alter session set NLS_LANGUAGE="AMERICAN"
    alter session set NLS_TERRITORY="AMERICA"
    alter session set NLS_CALENDAR="GREGORIAN"
    alter session set NLS_SORT="BINARY"
    alter session set NLS_COMP="BINARY"
    ...NLS: Set Decimal separator="."
    ...NLS: Set NLS Group separator=","
    ...NLS: Set g_nls_date_format="DD-MON-RR"
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    no characterset conversion needed
    ...Setting session time_zone to -04:00
    reset_nls_environment
    reset
    reset
    Processing page view with session ID = 0
    fetch_flow_info
    set_html_escaping_mode p_mode=>E
    Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    alter session set nls_language="AMERICAN"
    alter session set nls_territory="AMERICA"
    NLS: CSV charset=WE8MSWIN1252
    ...NLS: Set Decimal separator="."
    ...NLS: Set NLS Group separator=","
    ...NLS: Set g_nls_date_format="DD-MON-RR"
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    Setting NLS_DATE_FORMAT to application date format: mm/dd/yyyy
    ...NLS: Set g_nls_date_format="mm/dd/yyyy"
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    NLS: Language=en-us
    fetch_flow_info
    set_html_escaping_mode p_mode=>E
    Application 181, Authentication: PLUGIN, Page Template: 12902619543947292
    authenticate_and_init_session p_app_id=>181
    fetch_flow_info
    set_html_escaping_mode p_mode=>E
    set_g_security_group_id p_security_group_id=>634111608319703,p_check_host_prefix=>true
    does_host_prefix_match p_security_group_id=>634111608319703,p_host_prefix=>,c_path_info=>/f
    get_login_url p_user_interface_id=>12942041779151719,p_application_id=>181,p_security_group_id=>634111608319703
    get_home_url p_user_interface_id=>12942041779151719,p_application_id=>181,p_security_group_id=>634111608319703
    ... authentication id=252985691712777759, sgid=634111608319703, curr flow sgid=634111608319703
    ... page is public:false
    Authentication check: Login (NATIVE_CUSTOM)
    get_current
    ... DOES NOT EXIST - ignore
    builtin_cookie_sentry p_cookie_name=>ORA_WWV_APP_181
    get_by_cookie_name p_cookie_name=>ORA_WWV_APP_181
    session cookie value for ORA_WWV_APP_181=
    ... cookie is not set
    ... failure, session not found
    set_db_session_info
    ...fetch session state from database
    get_current
    ... DOES NOT EXIST - ignore
    fetch items (exact)
    execute_native_session_sentry p_type=>NATIVE_CUSTOM
    ...Execute Statement: begin declare
    begin
    wwv_flow.g_boolean := htmldb_public_user.Modntlm_Page_Sentry;
    end;
    ~
    get_cookie_properties 181 -> ORA_WWV_APP_181, ,
    get_by_cookie_name p_cookie_name=>ORA_WWV_APP_181
    session cookie value for ORA_WWV_APP_181=
    ... cookie is not set
    get_cookie_properties 181 -> ORA_WWV_APP_181, ,
    get_by_cookie_name p_cookie_name=>ORA_WWV_APP_181
    session cookie value for ORA_WWV_APP_181=
    ... cookie is not set
    generate_unique_session_id
    remember_deep_link p_url=>f?p=181:30:::LEVEL9:
    get_current
    ... DOES NOT EXIST - ignore
    ... insert into wwv_flow_sessions$: 7781513768577
    create_new
    Session created: 7781513768577 user: foobar
    save_by_name p_item_name=>FSP_AFTER_LOGIN_URL,p_item_value=>***
    set_builtin_global_item_value p_item_name=>FSP_AFTER_LOGIN_URL,p_value=>f?p=181:30:7781513768577::LEVEL9:
    ...Session State: Saved Item "FSP_AFTER_LOGIN_URL" New Value="f?p=181:30:7781513768577::LEVEL9:"
    login p_uname=>foobar,p_password=>...,p_session_id=>7781513768577,p_flow_page=>181:30,p_entry_point=>POST-LOGIN,p_preserve_case=>false,p_use_secure_cookie=>false
    execute_login p_username=>foobar,p_password=>...,p_current_app_id=>181,p_next_app_id=>181,p_next_page_id=>30,p_post_login=>true,p_builder_login_for_workspace=>
    ...delaying unrecoverable error to the end of execute_login
    create_or_reuse_session
    get_current
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from db)
    ...Session ID 7781513768577 can be used
    ...New Instance Detected -
    get_current
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from cache)
    get_login_url p_user_interface_id=>12942041779151719,p_application_id=>181,p_security_group_id=>634111608319703
    get_home_url p_user_interface_id=>12942041779151719,p_application_id=>181,p_security_group_id=>634111608319703
    ... authentication id=252985691712777759, sgid=634111608319703, curr flow sgid=634111608319703
    ... page is public:false
    ... POST LOGIN shortcut, no pre-auth and auth process
    ... Authentication success
    ... running post_auth_240111674424380819
    ...Execute Statement: begin declare
    procedure post_auth_240111674424380819 is
    begin
    post_auth_240111674424380819;
    end;
    end;
    Collection - Begin create_collection_from_query_b, Collection Name: AD_GROUPS
    Collection - Begin Create Collection, Collection Name: EM_ROLES
    save_by_name p_item_name=>G_APP_USER,p_item_value=>***
    find_item_by_name p_name=>G_APP_USER
    set_substitution_cache p_id=>8993704979413505,p_value=>***,p_name=>G_APP_USER,p_filter=>Y,p_encrypted=>N
    ...Session State: Saved Item "G_APP_USER" New Value="foobar"
    get_item_value  p_item=>FSP_AFTER_LOGIN_URL,p_flow=>181,p_instance=>7781513768577
    ... l_instance=7781513768577,l_flow_id=181,l_sgid=634111608319703,p_item=FSP_AFTER_LOGIN_URL
    get_builtin_global_item_value p_item_name=>FSP_AFTER_LOGIN_URL,p_session_id=>7781513768577
    ...value="f?p=181:30:7781513768577::LEVEL9:"
    save_by_name p_item_name=>FSP_AFTER_LOGIN_URL,p_item_value=>***
    set_builtin_global_item_value p_item_name=>FSP_AFTER_LOGIN_URL,p_value=>
    ...Session State: Saved Item "FSP_AFTER_LOGIN_URL" New Value=""
    log_login p_username=>foobar,p_security_group_id=>634111608319703,p_owner=>foobar,p_application_id=>181,p_authentication_method=>Login,p_authentication_result=>0,p_custom_status_text=>
    ... update session user (foobar) and auth result ()
    reset_cache
    update_hashed_id -> ORA_WWV-PqmZTwhNdxkMTTqPlY88APZ1, sqlrowcount=1
    send name=>ORA_WWV_APP_181,value=>ORA_WWV-PqmZTwhNdxkMTTqPlY88APZ1,expires=>,path=>,domain=>,secure=>,httponly=>HTTPONLY
    Redirecting to f?p=181:30:7781513768577::LEVEL9:
    ...setting g_unrecoverable_error:=true again
    Stop APEX Engine detected
    Stop APEX Engine detected
    Final commit
    init cgi_var_name.count=>29
    CGI: PATH_INFO = /f
    HTTP://xxx/pls/xxx.xx
    QUERY_STRING=p=181:30:7781513768577::LEVEL9:
    REQUEST_METHOD=GET
    REMOTE_ADDR=xx.xx.xx.xx
    REMOTE_USER=foobar
    APEX_LISTENER_VERSION=
    REFERER=
    Cookies:
    S H O W: application="181" page="30" workspace="" request="" session="7781513768577"
    Reset NLS settings
    alter session set NLS_LANGUAGE="AMERICAN"
    alter session set NLS_TERRITORY="AMERICA"
    alter session set NLS_CALENDAR="GREGORIAN"
    alter session set NLS_SORT="BINARY"
    alter session set NLS_COMP="BINARY"
    ...NLS: Set Decimal separator="."
    ...NLS: Set NLS Group separator=","
    ...NLS: Set g_nls_date_format="DD-MON-RR"
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    no characterset conversion needed
    ...Setting session time_zone to -04:00
    reset_nls_environment
    reset
    reset
    fetch_flow_info
    set_html_escaping_mode p_mode=>E
    Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    alter session set nls_language="AMERICAN"
    alter session set nls_territory="AMERICA"
    NLS: CSV charset=WE8MSWIN1252
    ...NLS: Set Decimal separator="."
    ...NLS: Set NLS Group separator=","
    ...NLS: Set g_nls_date_format="DD-MON-RR"
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    Setting NLS_DATE_FORMAT to application date format: mm/dd/yyyy
    ...NLS: Set g_nls_date_format="mm/dd/yyyy"
    ...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
    ...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
    NLS: Language=en-us
    fetch_flow_info
    set_html_escaping_mode p_mode=>E
    Application 181, Authentication: PLUGIN, Page Template: 12902619543947292
    authenticate_and_init_session p_app_id=>181
    fetch_flow_info
    set_html_escaping_mode p_mode=>E
    set_g_security_group_id p_security_group_id=>634111608319703,p_check_host_prefix=>true
    does_host_prefix_match p_security_group_id=>634111608319703,p_host_prefix=>,c_path_info=>/f
    get_login_url p_user_interface_id=>12942041779151719,p_application_id=>181,p_security_group_id=>634111608319703
    get_home_url p_user_interface_id=>12942041779151719,p_application_id=>181,p_security_group_id=>634111608319703
    ... authentication id=252985691712777759, sgid=634111608319703, curr flow sgid=634111608319703
    ... page is public:false
    Authentication check: Login (NATIVE_CUSTOM)
    get_current
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from db)
    builtin_cookie_sentry p_cookie_name=>ORA_WWV_APP_181
    get_by_cookie_name p_cookie_name=>ORA_WWV_APP_181
    session cookie value for ORA_WWV_APP_181=ORA_WWV-PqmZTwhNdxkMTTqPlY88APZ1
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from cache)
    ... success, session id and security group id matches
    ... set user and session id in package globals
    set_g_security_group_id p_security_group_id=>634111608319703,p_check_host_prefix=>true
    does_host_prefix_match p_security_group_id=>634111608319703,p_host_prefix=>,c_path_info=>/f
    set_db_session_info
    ...fetch session state from database
    get_current
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from cache)
    fetch items (exact)
    ... fetched 8993704979413505: name=G_APP_USER, value=foobar
    execute_native_session_sentry p_type=>NATIVE_CUSTOM
    ...Execute Statement: begin declare
    begin
    wwv_flow.g_boolean := htmldb_public_user.Modntlm_Page_Sentry;
    end;
    ~
    get_cookie_properties 181 -> ORA_WWV_APP_181, ,
    get_by_cookie_name p_cookie_name=>ORA_WWV_APP_181
    session cookie value for ORA_WWV_APP_181=ORA_WWV-PqmZTwhNdxkMTTqPlY88APZ1
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from cache)
    get_cookie_properties 181 -> ORA_WWV_APP_181, ,
    get_by_cookie_name p_cookie_name=>ORA_WWV_APP_181
    session cookie value for ORA_WWV_APP_181=ORA_WWV-PqmZTwhNdxkMTTqPlY88APZ1
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from cache)
    get_current
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from cache)
    ... sentry success, no verification specified
    ... sentry+verification success
    create_or_reuse_session
    get_current
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from cache)
    ...Session ID 7781513768577 can be used
    ...New Instance Detected -
    get_by_cookie_name p_cookie_name=>ORA_WWV_USER_61814286625969
    session cookie value for ORA_WWV_USER_61814286625969=
    ... cookie is not set
    get_builder_session_id: builder session=null
    ...Setting session time_zone to -04:00
    ...Check for session expiration:
    get_current
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from cache)
    get_builtin_global_item_value p_item_name=>FSP_SESSION_TIME,p_session_id=>7781513768577
    NO_DATA_FOUND!
    set_builtin_global_item_value p_item_name=>FSP_SESSION_TIME,p_value=>20130925091227::
    ...Session State: Saved Item "FSP_SESSION_TIME" New Value="20130925091227::"
    Session: Fetch session header information
    get_current
    ... session=7781513768577, user=foobar, sgid=634111608319703 (from cache)
    fetch_step_info p_mode=>SHOW
    get_home_url p_user_interface_id=>12942041779151719,p_application_id=>181,p_security_group_id=>634111608319703
    get_login_url p_user_interface_id=>12942041779151719,p_application_id=>181,p_security_group_id=>634111608319703
    get_theme_id p_user_interface_id=>12942041779151719,p_application_id=>181,p_security_group_id=>634111608319703
    Branch point: Before Header
    Authorization Check: "Administrator" Caching: "BY_USER_BY_PAGE_VIEW" Component: "PAGE"
    ...  failed
    setting g_primary_language := en-us
    Add error onto error stack
    ...Error data:
    ......message: Must be Administrator
    ......additional_info: Access denied by Page security check
    ......display_location: ON_ERROR_PAGE
    ......is_internal_error: true
    ......apex_error_code: APEX.AUTHORIZATION.ACCESS_DENIED
    ......error_backtrace: ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    0x2d7325bc0       556  package body APEX_040200.WWV_FLOW_ERROR
    0x2d7325bc0       607  package body APEX_040200.WWV_FLOW_ERROR
    0x2d7325bc0       911  package body APEX_040200.WWV_FLOW_ERROR
    0x211e95470       488  package body APEX_040200.WWV_FLOW_AUTHORIZATION
    0x2dbf01138      6000  package body APEX_040200.WWV_FLOW
    0x2db632be8       249  procedure APEX_040200.F
    0x267d27130        31  anonymous block
    ......component.type: APEX_APPLICATION_AUTHORIZATION
    ......component.id: 19813621888498766
    ......component.name: Administrator
    ...Show Error on Error Page
    ......Performing rollback
    render_error_page
    wwv_flow_init_htp_buffer
    reset
    reset
    get_grid_template p_page_template_id=>12901127353947285
    emit_page_header
    Show page template header
    handle_common_placeholders p_placeholder=>#TITLE#
    get_title
    handle_common_placeholders p_placeholder=>#IMAGE_PREFIX#
    handle_common_placeholders p_placeholder=>#IMAGE_PREFIX#
    handle_common_placeholders p_placeholder=>#APEX_CSS#
    is_desktop_ui p_application_id=>181,p_page_id=>30,p_security_group_id=>634111608319703
    get_ui_type p_application_id=>181,p_page_id=>30,p_security_group_id=>634111608319703
    ...initialize cache
    ... ui type name=DESKTOP
    ... true
    handle_common_placeholders p_placeholder=>#TEMPLATE_CSS#
    handle_common_placeholders p_placeholder=>#THEME_CSS#
    handle_common_placeholders p_placeholder=>#PAGE_CSS#
    handle_common_placeholders p_placeholder=>#APEX_JAVASCRIPT#
    is_desktop_ui p_application_id=>181,p_page_id=>30,p_security_group_id=>634111608319703
    get_ui_type p_application_id=>181,p_page_id=>30,p_security_group_id=>634111608319703
    ...use cache
    ... ui type name=DESKTOP
    ... true
    handle_common_placeholders p_placeholder=>#TEMPLATE_JAVASCRIPT#
    handle_common_placeholders p_placeholder=>#APPLICATION_JAVASCRIPT#
    handle_common_placeholders p_placeholder=>#PAGE_JAVASCRIPT#
    handle_common_placeholders p_placeholder=>#IMAGE_PREFIX#
    handle_common_placeholders p_placeholder=>#IMAGE_PREFIX#
    handle_common_placeholders p_placeholder=>#ONLOAD#
    handle_common_placeholders p_placeholder=>#OUTDATED_BROWSER#
    handle_common_placeholders p_placeholder=>#FORM_OPEN#
    Rendering form open tag and internal values
    clear_page_checksum
    generate_unique_session_id
    perform p_process_point=>AFTER_ERROR_HEADER
    Processes - point: AFTER_ERROR_HEADER
    handle_common_placeholders p_placeholder=>#REGION_POSITION_07#
    handle_common_placeholders p_placeholder=>#HOME_LINK#
    handle_common_placeholders p_placeholder=>#LOGO#
    handle_common_placeholders p_placeholder=>#NAVIGATION_BAR#
    handle_common_placeholders p_placeholder=>#REGION_POSITION_08#
    handle_common_placeholders p_placeholder=>#REGION_POSITION_04#
    handle_common_placeholders p_placeholder=>#REGION_POSITION_01#
    handle_common_placeholders p_placeholder=>#SUCCESS_MESSAGE#
    handle_common_placeholders p_placeholder=>#NOTIFICATION_MESSAGE#
    handle_common_placeholders p_placeholder=>#GLOBAL_NOTIFICATION#
    handle_common_placeholders p_placeholder=>#REGION_POSITION_02#
    handle_common_placeholders p_placeholder=>#REGION_POSITION_03#
    perform p_process_point=>BEFORE_ERROR_FOOTER
    Processes - point: BEFORE_ERROR_FOOTER
    emit_footer
    Show page footer
    Show page tempate footer
    handle_common_placeholders p_placeholder=>#CUSTOMIZE#
    handle_common_placeholders p_placeholder=>#REGION_POSITION_05#
    handle_common_placeholders p_placeholder=>#APP_VERSION#
    handle_common_placeholders p_placeholder=>#REGION_POSITION_08#
    handle_common_placeholders p_placeholder=>#FORM_CLOSE#
    Rendering form close tag and page checksum
    handle_common_placeholders p_placeholder=>#DEVELOPER_TOOLBAR#
    handle_common_placeholders p_placeholder=>#GENERATED_CSS#
    handle_common_placeholders p_placeholder=>#GENERATED_JAVASCRIPT#
    emit_generated_javascript
    Logging exception in final_exception_handler:
    Sqlerrm: ORA-20987: APEX - Must be Administrator - Access denied by Page security check
    Backtrace: ORA-06512: at "APEX_040200.WWV_FLOW_ERROR", line 861
    ORA-06512: at "APEX_040200.WWV_FLOW_ERROR", line 896
    ORA-06512: at "APEX_040200.WWV_FLOW_AUTHORIZATION", line 501
    ORA-06512: at "APEX_040200.WWV_FLOW", line 6000
    Seems to me that the authorization scheme (which uses the value of the application item) is evaluated before the before-header/unconditional application computation sets the value of the application item and since the authorization scheme fails, show processing stops with an error.
    What say you?

  • Authorization Error on Peoplesoft Login Page

    Hi, this is related to the previous project we are still working on.
    Invoking a Java Method from Peoplecode
    While we have found that our approach have been successful in Dev and Test Environments, once we migrated the changes to Production, it seem to have stoppped working. Our client wants to test the link from Test Environment and would Single Sign On to the Production environment. But we are getting this eror, Authorization Error -- Contact your Security Administrator on the Peoplesoft login page when the link is clicked from the Third Party website.
    The node setup for Dev, Test and Prod environments under Node Definitions are using PSFT_CR as the default local node and are all working when ping'ed. The defaut user that is used for allowing public access in the Web Profile are setup'ed just the same in all three environments, and application/web servers have been restarted as well.
    One thing we noticed is that the url of the third party website is http and the url for the PS prod is https. Could this be the one causing the error, or have we missed something on the setup.
    Again, we appreciate your insights regarding this.
    Edited by: Jeremy Leung on Jul 9, 2012 11:50 PM

    Hello,
    Have you tried the steps suggested by
    Imtiaz Hussain in the
    previous thread you queried ?
    Is the error the same that you were previously encountering ?
    Regards,
    Neelesh.

  • Authorization scheme for display/read only conditions on item level

    Hi All,
    I have question. I want to use an authorization scheme to manage if users with a certain role have the permission to either update an item or have the persmission to only see the item or that they don't have permission to see it at all.
    So, the input for the scheme would be: 1. user role 2. the current page 3. the current item.
    The output would be: 0 (update) 1 (read only) 2 (not displayed).
    I think I can manage that.
    And I can attach this schema to the items.
    So far so good.
    But how can I make it so that the 0,1 and the 2 will actually do what they need to do?
    I have been thinking about making a function like GET_AUTHORISATON(ROLE,PAGE,ITEM) output: 0,1,2 but I still can't figure out how to connect this with the functionality I want to achieve.
    Can somebody give me a hint?
    Andre

    Thanks Hari,
    Thanks, it works, almost, but what if items are mandatory on a page, but not always mandatory?
    If a user has a certain role, some fields are manadatory, otherwise not.
    Again, a function would do the trick as far as the input and output information
    something like IS_MANDATORY(USER_ROLE, CURRENT_PAGE, CURRENT_ITEM) but how can I make it work?
    I guess a PL/SQL validation like:
    IF IS_MANDATORY(USER_ROLE, CURRENT_PAGE, CURRENT_ITEM) THEN ITEM IS NOT NULL
    END IF;
    Andre
    PS: personally I think item level security is not something you wish to implement in your system. I prefer different screens for different roles.
    Far more straightforeward. Easy for maintenance. When something disfunctions, it's far more easy to pinpoint the location of the cause.

  • How to change the font size of the header for a login page

    I am using theme 15. I want the header of my login page have a larger font size. Can anybody tell me how to do that?
    In HTML Header I put text like
    <a target="_blank" href="http://www.myweb.com"><img src="#WORKSPACE_IMAGES#my_header_logo_white.jpg" alt=http://www.myweb.com" title="Application" ></a> <center><b><font size="4">Web Management System</font></b></center>
    However, the font doesn't do anything.
    Any help is appreciated!!
    Edited by: user12048533 on Jun 14, 2010 8:19 AM

    In HTML Header I put textDid you mean Page Header Text? It wouldn't have done much of anything at all in the HTML Header...
    However, the font doesn't do anything.Yet another universal selector problem: see +{message:id=4184109}+
    How do I overwrite the style sheet? I am wondering if I change the default style sheet, does that also affect the other pages, which is not what I want. In that case you can just include the CSS inline, which will also get round the universal selector issue. You are also recommended to use a semantic HTML element instead of deprecated presentational elements like &lt;center&gt; and &lt;font&gt;. Assuming this text is the primary heading on the page, use &lt;h1&gt;:
    <img src="#WORKSPACE_IMAGES#my_header_logo_white.jpg" alt="" title="Application" />
    <h1 style="font-size: large; font-weight: bold; text-align: center;">Web Management System</h1>

  • While runing an OAF page , it opens up the Application Login Page first

    Hi,
    Whenever i run any simple OAF page from my machine it always opens up the login page and once I login by giving the application username /password , it then shows my OAF page.
    I have verified the run time connection and the user name password and the responsibilities are all correct.
    Please help me in getting rid of the login page everytime I am getting while running the page

    Did you copy the dbc file to local directory? Are you able to connect database from JDeveloper? Also, make sure that, the responsibility is of type 'Self-Service'. There could be something else, I'm just trying to troubleshoot.

  • Application Login Page is not opening.

    Hi DBA's
    After Applying the patch 7446888 11I.OTA.J.DELTA.3, I am not able to open the Application.
    Error_log showing
    [Thu Feb 12 15:25:03 2009] [error] OPM: ADM: Cannot terminate process 2644
    [Thu Feb 12 15:25:03 2009] [error] OPM: ADM: Cannot terminate process 2643
    [Thu Feb 12 15:25:03 2009] [error] OPM: ADM: Cannot terminate process 2645
    [Thu Feb 12 15:25:03 2009] [notice] FastCGI: process manager initialized (pid 4237)
    [Thu Feb 12 15:25:04 2009] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
    [Thu Feb 12 15:25:33 2009] [notice] caught SIGTERM, shutting down
    [Thu Feb 12 15:40:27 2009] [notice] FastCGI: process manager initialized (pid 30498)
    [Thu Feb 12 15:40:28 2009] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
    [Thu Feb 12 15:56:18 2009] [error] [client 192.168.120.33] File does not exist: /s01/prod/prodcomn/portal/VIS_aqherpdb/favicon.ico
    [Thu Feb 12 16:02:32 2009] [notice] caught SIGTERM, shutting down
    [Thu Feb 12 16:21:27 2009] [notice] FastCGI: process manager initialized (pid 17745)
    [Thu Feb 12 16:21:28 2009] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
    [Thu Feb 12 16:35:48 2009] [notice] caught SIGTERM, shutting down
    [Thu Feb 12 16:36:07 2009] [notice] FastCGI: process manager initialized (pid 24330)
    [Thu Feb 12 16:36:08 2009] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
    access_log showing
    192.168.120.33 - - [12/Feb/2009:16:24:18 +0400] "GET / HTTP/1.1" 200 2589 0
    192.168.120.33 - - [12/Feb/2009:16:24:18 +0400] "GET /apptitle.html HTTP/1.1" 200 1015 0
    192.168.120.33 - - [12/Feb/2009:16:24:18 +0400] "GET /applist.html HTTP/1.1" 200 1606 0
    192.168.120.33 - - [12/Feb/2009:16:24:18 +0400] "GET /appdet.html HTTP/1.1" 200 1009 0
    192.168.120.33 - - [12/Feb/2009:16:24:18 +0400] "GET /appsmed3.gif HTTP/1.1" 200 1981 0
    192.168.120.33 - - [12/Feb/2009:16:24:21 +0400] "GET /aplogon.html HTTP/1.1" 200 1962 0
    192.168.120.33 - - [12/Feb/2009:16:24:25 +0400] "GET /OA_HTML/AppsLocalLogin.jsp HTTP/1.1" 500 538 1
    aqherpdb.qudrah.com - - [12/Feb/2009:16:36:08 +0400] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=XmlSvcsGrp&port=19020 HTTP/1.1" 200 15 0
    aqherpdb.qudrah.com - - [12/Feb/2009:16:36:08 +0400] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=OACoreGroup&port=16020 HTTP/1.1" 200 15 0
    aqherpdb.qudrah.com - - [12/Feb/2009:16:36:08 +0400] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=DiscoGroup&port=17020 HTTP/1.1" 200 15 0
    mod_jserv
    [12/02/2009 15:22:53:132] (ERROR) ajp12: Servlet Error: OracleJSP: oracle.jsp.provider.JspCompileException: &lt;H3&gt;Errors compiling:/s01/prod/prodcomn/_pages/_oa__html//_AppsLocalLogin.java&lt;/H3&gt;&lt;TABLE BORDER=1 WIDTH=100%&gt;&lt;TR&gt;&lt;TH ALIGN=CENTER&gt;Line #&lt;/TH&gt;&lt;TH ALIGN=CENTER&gt;Error&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;48&lt;/TD&gt;&lt;TD&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: package sso import oracle.apps.fnd.sso.SSOAccessEnabler; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;968&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:847]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;976&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:855]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                     (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;
    [12/02/2009 15:22:53:132] (ERROR) an error returned handling request via protocol "ajpv12"
    [12/02/2009 15:22:53:133] (ERROR) balance: 2747 internal servlet error in server aqherpdb.qudrah.com:16020
    [12/02/2009 15:22:53:133] (ERROR) an error returned handling request via protocol "balance"
    [12/02/2009 15:23:19:070] (ERROR) ajp12: Servlet Error: OracleJSP: oracle.jsp.provider.JspCompileException: &lt;H3&gt;Errors compiling:/s01/prod/prodcomn/_pages/_oa__html//_AppsLocalLogin.java&lt;/H3&gt;&lt;TABLE BORDER=1 WIDTH=100%&gt;&lt;TR&gt;&lt;TH ALIGN=CENTER&gt;Line #&lt;/TH&gt;&lt;TH ALIGN=CENTER&gt;Error&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;48&lt;/TD&gt;&lt;TD&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: package sso import oracle.apps.fnd.sso.SSOAccessEnabler; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;968&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:847]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;976&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:855]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                     (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;
    [12/02/2009 15:23:19:070] (ERROR) an error returned handling request via protocol "ajpv12"
    [12/02/2009 15:23:19:070] (ERROR) balance: 2750 internal servlet error in server aqherpdb.qudrah.com:16020
    [12/02/2009 15:23:19:070] (ERROR) an error returned handling request via protocol "balance"
    [12/02/2009 15:40:48:338] (ERROR) ajp12: Servlet Error: OracleJSP: oracle.jsp.provider.JspCompileException: &lt;H3&gt;Errors compiling:/s01/prod/prodcomn/_pages/_oa__html//_AppsLocalLogin.java&lt;/H3&gt;&lt;TABLE BORDER=1 WIDTH=100%&gt;&lt;TR&gt;&lt;TH ALIGN=CENTER&gt;Line #&lt;/TH&gt;&lt;TH ALIGN=CENTER&gt;Error&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;48&lt;/TD&gt;&lt;TD&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: package sso import oracle.apps.fnd.sso.SSOAccessEnabler; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;968&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:847]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;976&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:855]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                     (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;
    [12/02/2009 15:40:48:341] (ERROR) an error returned handling request via protocol "ajpv12"
    [12/02/2009 15:40:48:341] (ERROR) balance: 30599 internal servlet error in server aqherpdb.qudrah.com:16020
    [12/02/2009 15:40:48:341] (ERROR) an error returned handling request via protocol "balance"
    [12/02/2009 15:41:10:566] (ERROR) ajp12: Servlet Error: OracleJSP: oracle.jsp.provider.JspCompileException: &lt;H3&gt;Errors compiling:/s01/prod/prodcomn/_pages/_oa__html//_AppsLocalLogin.java&lt;/H3&gt;&lt;TABLE BORDER=1 WIDTH=100%&gt;&lt;TR&gt;&lt;TH ALIGN=CENTER&gt;Line #&lt;/TH&gt;&lt;TH ALIGN=CENTER&gt;Error&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;48&lt;/TD&gt;&lt;TD&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: package sso import oracle.apps.fnd.sso.SSOAccessEnabler; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;968&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:847]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;976&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:855]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                     (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;
    [12/02/2009 15:41:10:566] (ERROR) an error returned handling request via protocol "ajpv12"
    [12/02/2009 15:41:10:566] (ERROR) balance: 30600 internal servlet error in server aqherpdb.qudrah.com:16020
    [12/02/2009 15:41:10:566] (ERROR) an error returned handling request via protocol "balance"
    [12/02/2009 15:56:22:888] (ERROR) ajp12: Servlet Error: OracleJSP: oracle.jsp.provider.JspCompileException: &lt;H3&gt;Errors compiling:/s01/prod/prodcomn/_pages/_oa__html//_AppsLocalLogin.java&lt;/H3&gt;&lt;TABLE BORDER=1 WIDTH=100%&gt;&lt;TR&gt;&lt;TH ALIGN=CENTER&gt;Line #&lt;/TH&gt;&lt;TH ALIGN=CENTER&gt;Error&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;48&lt;/TD&gt;&lt;TD&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: package sso import oracle.apps.fnd.sso.SSOAccessEnabler; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;968&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:847]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;976&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:855]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                     (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;
    [12/02/2009 15:56:22:888] (ERROR) an error returned handling request via protocol "ajpv12"
    [12/02/2009 15:56:22:888] (ERROR) balance: 30654 internal servlet error in server aqherpdb.qudrah.com:16020
    [12/02/2009 15:56:22:888] (ERROR) an error returned handling request via protocol "balance"
    [12/02/2009 16:24:25:302] (ERROR) ajp12: Servlet Error: OracleJSP: oracle.jsp.provider.JspCompileException: &lt;H3&gt;Errors compiling:/s01/prod/prodcomn/_pages/_oa__html//_AppsLocalLogin.java&lt;/H3&gt;&lt;TABLE BORDER=1 WIDTH=100%&gt;&lt;TR&gt;&lt;TH ALIGN=CENTER&gt;Line #&lt;/TH&gt;&lt;TH ALIGN=CENTER&gt;Error&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;48&lt;/TD&gt;&lt;TD&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: package sso import oracle.apps.fnd.sso.SSOAccessEnabler; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;196&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:80]&lt;br&gt; cannot resolve symbol symbol : class SSOAccessEnabler location: class oa_html._AppsLocalLogin SSOAccessEnabler sso = new SSOAccessEnabler(this); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;968&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:847]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD WIDTH=7% VALIGN=TOP&gt;&lt;P ALIGN=CENTER&gt;976&lt;/TD&gt;&lt;TD&gt;[jsp src:line #:855]&lt;br&gt; cannot resolve symbol symbol : method recalcSignature (java.lang.String,oracle.apps.fnd.common.WebAppsContext) location: class oracle.apps.fnd.sso.SSOManager                     (String)tmpVec.elementAt(2), SSOManager.recalcSignature((String)tmpVec.elementAt(3),wctx))); &lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;
    [12/02/2009 16:24:25:302] (ERROR) an error returned handling request via protocol "ajpv12"
    [12/02/2009 16:24:25:302] (ERROR) balance: 17852 internal servlet error in server aqherpdb.qudrah.com:16020
    [12/02/2009 16:24:25:302] (ERROR) an error returned handling request via protocol "balance"
    please guide me to resolve the above issue.
    Best Regards,
    SG

    Please review the following note and see if it helps in resolving the issue.
    Note: 433429.1 - Unable to Login to 11i Apps After Patching
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=433429.1
    Did AutoConfig complete successfully on the apps tier after applying the patch?

  • DNS error when launching Application login page after R12 installation

    Hi ,
    I installed R12.0.4 on windows server 2003.
    After installation when I launch the home page, its giving dns error saying that <domainname>.<hostname> cannot be loaded.
    I checked the apache alert log, it is trying to access an IP that is commented out in the host file. I am not sure where it is picking it up from. I installed loopback adapter before the installation and the entries in the host file also seem fine. Please help me out, this is the 2nd installation but the issue is still not resolved. Please let me know if you need anymore details.
    Thanks !

    Hi Dharmshila,
    Since you were not able to access the application URL using the IP Address then I believe it is an issue with the application/database services. To verify that all application services are up and running properly, please do the following:
    - Open a new DOS session
    - cd %INST_TOP%\apps\<SID>_<hostname>\admin\scripts
    - Issue "adopmnctl.sh status"
    - You should get something similar to the following:
    Checking status of OPMN managed processes...
    Processes in Instance: PROD_db2.db2.domain.com
    -------------------+--------------------+---------+---------
    ias-component      | process-type       |     pid | status
    -------------------+--------------------+---------+---------
    OC4J               | oafm               |    3800 | Alive
    OC4J               | forms              |    2528 | Alive
    OC4J               | oacore             |    3112 | Alive
    HTTP_Server        | HTTP_Server        |     172 | Alive
    exiting with status 0
    ERRORCODE = 0 ERRORCODE_ENDRegards,
    Hussein

  • What authorization-roles for user login (java stack)

    Hello SAP-Fans ,
    which authorization role needs to be assigned to the users for logging into a java-stack on port 50.000?
    We always get the error-message: "Error 403 forbidden, You are not authorized to view the requested resource."
    I know this is a beginner's question. Java is completely new to us.
    Thanks in advance
    Danny Winn

    Hi Danny,
    Welcome to SDN,
    Logon to the portal with the user Administrator, go to User Administartion and create a user for yourself by assigning Super Admin Role.
    portal Url must be http://<host.fqdn>:50XX0/irj/portal where XX is the system number in this case 00.
    You will able to see at the user admin tab all the SAP standard roles.
    regards
    Juan
    Please reward with points if helpful

Maybe you are looking for