Jbo.security.enforce and JHeadStart

i have web application on JHeadStart with FORM based auth.
when i change jbo.security.enforce = None to
jbo.security.enforce = Auth i ha exception:
Authentication failed:
User null does not exist in system.
why?

repost
i use web auth.

Similar Messages

  • Jbo.security.enforce and FORM Auth

    i have web application on JHeadStart with FORM based auth.
    when i change jbo.security.enforce = None to
    jbo.security.enforce = Auth i ha exception:
    Authentication failed:
    User null does not exist in system.
    why?

    This sounds like a OC4J/J2EE issue that is not related to JHeadstart. To simplify the test case, you could create a simple drag-and-drop ADF application without JHeadstart, use that as the 2nd application, and see if the same problem occurs there. Can you please log a TAR at MetaLink ( http://metalink.oracle.com/ ), or ask this question at the OC4J/J2EE forum at OC4J ? Thanks.
    kind regards,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Nescesary actions to make jbo.security.enforce=Must working

    Hi,
    We use JHeadstart 10.1.3 .3.75. Within the JHeadstart Application Definitions we configured the folowing security options:
    Authentication Type = JAAS
    Use Role-based Authorization? = true
    Authorization Type = JAAS and Custom
    Authorize Using Group Permission = true
    Everything worked fine but in the database we want to know which user modifies certain data(auditing). Therefore we implemented the "setting context feature" as described by Sandra in
    [JHeadstart Blog|http://blogs.oracle.com/jheadstart/2007/11/row_level_security_using_vpd_a.html#adfbc].
    Then we ran into the issue that the getUserPrincipalName() method and (SessionImpl)getDBTransaction().getSession().getUserPrincipalName() were null.
    In the ADF Developer guide , chapter 9.8, refers to setting the jbo.security.enforce property to Must or Auth.
    I followed the guide, which resulted in the following error:
    08/10/24 16:09:18 [554] Resetting AM=MedewerkersApp
    08/10/24 16:09:18 [555] AMPoolMessageBundle (language base) being initialized
    08/10/24 16:09:18 [556] Failed to create BindingContainer from reference :MedewerkersPageDef
    08/10/24 16:09:18 [557] JBO-30003: De applicatiegroep local.achmeavastgoed.avh.model.appl.MedewerkersAppLocal kon een applicatiemodule-instance vanwege de volgende uitzondering niet uitchecken.
    oracle.jbo.JboException: JBO-29000: JBO-33021: Verificatie van gebruiker null mislukt.
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1543)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1404)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)I saw some posts about this error but no solution was given.
    Could you give me some advise with this matter?
    Thanx,
    Romano

    Hi Ibrahim,
    1) Did you set jbo.security.enforce to Must or Auth
    I tried both. But the result was the same.
    2) Did you configure login and security in your web.xml, and how?
    I used the JHeadstart example.
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
        <description>Empty web.xml file for Web Application</description>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.CONFIG_FILES</param-name>
            <param-value>/WEB-INF/faces-config.xml,/WEB-INF/JhsCommon-beans.xml,/WEB-INF/MedewerkersApp-Breadcrumb-beans.xml,/WEB-INF/Medewerkers-beans.xml,/WEB-INF/faces-config-menu.xml,/menu/beanconfig/MenuAdminService-Breadcrumb-beans.xml,/menu/beanconfig/UserInterfaceSkins-beans.xml,/menu/beanconfig/JhsModules-beans.xml,/menu/beanconfig/JhsRootMenuItems-beans.xml,/menu/beanconfig/JhsChildMenuItems-beans.xml,/menu/beanconfig/MenuTranslationLov-beans.xml,/WEB-INF/faces-config-security.xml,/security/beanconfig/SecurityAdminService-Breadcrumb-beans.xml,/security/beanconfig/Users-beans.xml,/security/beanconfig/UserRoleGrants-beans.xml,/security/beanconfig/Roles-beans.xml,/security/beanconfig/RoleUserGrants-beans.xml,/security/beanconfig/RolePermissionGrants-beans.xml,/security/beanconfig/Permissions-beans.xml,/security/beanconfig/PermissionsLov-beans.xml</param-value>
        </context-param>
        <context-param>
            <param-name>CpxFileName</param-name>
            <param-value>local.achmeavastgoed.avh.view.DataBindings</param-value>
        </context-param>
        <filter>
            <filter-name>adfFaces</filter-name>
            <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
        </filter>
        <filter>
            <filter-name>adfBindings</filter-name>
            <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>ordDeliverMedia</servlet-name>
        </filter-mapping>
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet>
            <servlet-name>ordDeliverMedia</servlet-name>
            <servlet-class>oracle.jheadstart.ord.html.OrdPlayMediaServlet</servlet-class>
            <init-param>
                <param-name>releaseMode</param-name>
                <param-value>Stateful</param-value>
            </init-param>
        </servlet>
        <servlet>
            <servlet-name>resources</servlet-name>
            <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>JhsLoginErrorServlet</servlet-name>
            <servlet-class>oracle.jheadstart.controller.LoginErrorServlet</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>ordDeliverMedia</servlet-name>
            <url-pattern>ordDeliverMedia</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/adf/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>JhsLoginErrorServlet</servlet-name>
            <url-pattern>/loginErrorServlet</url-pattern>
        </servlet-mapping>
        <session-config>
            <session-timeout>35</session-timeout>
        </session-config>
        <mime-mapping>
            <extension>html</extension>
            <mime-type>text/html</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>txt</extension>
            <mime-type>text/plain</mime-type>
        </mime-mapping>
        <security-constraint>
            <web-resource-collection>
                <web-resource-name>AllPages</web-resource-name>
                <url-pattern>*.jspx</url-pattern>
            </web-resource-collection>
            <auth-constraint>
                <role-name>ADMIN</role-name>
                <role-name>USER</role-name>
            </auth-constraint>
        </security-constraint>
        <login-config>
            <auth-method>FORM</auth-method>
            <form-login-config>
                <form-login-page>/faces/security/pages/Login.jspx</form-login-page>
                <form-error-page>/loginErrorServlet</form-error-page>
            </form-login-config>
        </login-config>
        <security-role>
            <role-name>ADMIN</role-name>
        </security-role>
        <security-role>
            <role-name>USER</role-name>
        </security-role>
    </web-app>3) If you're running your app in the JDeveloper embedded OC4J, how is your system-jazn-data.xml configured for the local app?
    I am not sure what you mean by this question. However, the jazn-data.xml file is added to the META-INF source directory.
    Whithin that file the users SKING, AHUNOLD and some databaseusers are present.
    Within the embeded oc4j preferences, the users SKING and AHUNOLD are present in the Current Workspace section. In the global section the users anonymous, oc4jadmin and JtaAdmin are present.
    FYI: There seems nothing wrong with this configuration. When setting jbo.security.enforce to None, I am able to login with the SKING account.
    Regards,
    Romano

  • GPO enforced and Linked but not applied

    Hello,
    I am deploying Forefront Client Security by GPOs but I still not receive anything on the client:
    The keys to verify during the test are located in
    HKLM > Software > Policies > Microsoft > Microsoft Forefront > Client Security > 1.0 
    The GPO is enforced and OU is linked, it has been verified
    Inheritance not blocked
    Any idea?
    Thanks,
    Dom
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    Hi,
    Before going further, you should provide more details about the current issue. Would you please let me know how did you configure the GPO settings? As others mentioned, could you confirm if
    the GPO settings have applied to the target computers correctly? In order to narrow down the cause of the issue, please try to collect the following information for troubleshooting.
    GPMC.log
    ==================
    a. On domain controller, click Start -> Run, type GPMC.MSC, it will load the GPMC console.
    b. Right click on "Group Policy Result" and choose wizard to generate a report for the problematic computer and user account (please place appropriately). (Choose computer and select the proper
    user in the wizard)
    c. Right click the resulting group policy result and click the "Save Report…" => save report to save the report to a HTML file.
    Once we get the report, we could check if the settings were applied to the target without any issue.
    Regarding how to deploy Client Security to the client computers, please refer to the following article.
    Deploying Client Security to the client computers
    http://technet.microsoft.com/en-us/library/bb404232.aspx
    Hope this helps.
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • An alert message pops up upon opening saying could not initiate application security component, and it says to check to see if profile has no read/write restrictions.

    An alert message pops up upon opening saying could not initiate application security component, and it says to check to see if profile has no read/write restrictions. Than when it opens all of my saved passwords are gone, I use a master password and its disabled. When I try to enter in a new on e it says can't change password. I can't even open yahoo e-mail says that my ssl security is down but when I check it its clicked. I'm just very confused as to whats going on.
    == This happened ==
    Every time Firefox opened
    == 5/14/2010 ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5

    See [[Could not initialize the browser security component]]
    Rename (or delete) secmod.db (secmod.db.old) in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] in case there is a problem with the file.

  • I have no "Rescue email" contact in order to reset my security questions and I don't believe I ever answered any security questions when I created my Apple ID for Itunes.  Someone kindly sent me Apple support link but to no avail!  Please Help me!

    I have no "Rescue email" contact in order to reset my security questions!!  I've been trying now for 4 days to contact Apple/Itunes but I only get sent answers from a support team that say they cannot help me with my problem!! 
    The thing is that I can't ever remember answering any security questions and without a rescue email, I'm unable to reset them or even set them for the first time!!
    I can't believe that no-one from Apple/Itunes can help me with this simple problem but unfortunately that is the case - Incredible, isn't it!!!
    Would anyone know how I could solve this problem online???   Because each time I sign into Itunes, the same security questions reappear and reappear and reappear.  In fact I've got to the point where I feel like uninstalling Itunes and downloading an alternative.
    Many thanks

    You need to ask Apple to reset your security questions; this can be done by clicking here and picking a method, or if your country isn't listed, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (111154)

  • My iPod wont let me buy any apps becomes it needs the answers to my security question and I forgot the password and it won't send the email what do I do

    Please can someone help me

    From a Kappy  post
    The Three Best Alternatives for Security Questions and Rescue Mail
    Try # 2
       1. Use Apple's Express Lane.
    Go to https://expresslane.apple.com ; click 'See all products and services' at the
    bottom of the page. In the next page click 'More Products and Services, then
    'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
    ID security questions' and click 'Continue'. Please be patient waiting for the return
    phone call. It will come in time depending on how heavily the servers are being hit.
    2.  Call Apple Support in your country: Customer Service: Contact Apple support.
    3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • I am trying to use my account to purchase but i forget my security questions and also i gave the wrong email address. What can i do?

    i am trying to use my account to purchase but i forget my security questions and also i gave the wrong email address. What can i do?

    Apple ID security issues -
    Call Apple Care and ask for the Account Security Team. They can assist you with your issue.

  • I got a new iPhone and i am trying to buy songs but when I go to buy a song on iTunes it says I have to answer my security questions and I don't remember the answers. I pressed where it says for them to email you your answers but I haven't gotten an email

    I got a new iPhone and i am trying to buy songs but when I go to buy a song on iTunes it says I have to answer my security questions and I don't remember the answers. I pressed where it says for them to email you your answers but I haven't gotten an email.  Is there another way to change or get the answers for the security questions?

    If the email hasn't arrived after a few hours and isn't in a spam filter, you need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (106007)

  • I forgot all of the answers to my security questions and when I set up my apple id I did not add a rescue email, I recently got a new iphone and I cannot purchase anything on it because it asks me to answer my security questions which i can't reset, help!

    I forgot all of the answers to my security questions and when I set up my apple id I did not add a rescue email, I recently got a new iphone and I cannot purchase anything on it because it asks me to answer my security questions which i can't reset because I do not have a rescue email. what do I do?

    this does not help. I have forgotten ALL of the answers to my security questions. I can NOT reset the answers to my security questions without answering two of the three security questions. The other way to reset the answers to these questions is for apple to send me an email on my rescue email addres which I DO NOT HAVE.

  • HT201269 When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a serve

    When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a server error. Have no clue what to do... I've restarted the iPad and get the same message. But my internet works just fine.

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • HT5622 I keep getting a pop up about signing into an Icloud account. It won't take the password. I tried to log in on pc and sign in and screwed up on my security questions and it's kicked me out.. how long til I can try again?

    I am in iphone **** or better icloud ****. When I try to go ointo settings on the phone a signin prompt pops up continuously with one apple id. I think i've made it that i have a separate icloud and apple id. I am trying to delete the icloud id. I made all the passwords the same so that there should be no problem but the phone won't still take the password. So when i went in again, looking to see if I could delete the icloud, i screwed up answering my security questions and am now unable to enter that icloud id. How long til I can again? Secondly, since the phone won't accept any password, I have tried to delete it. When I do that, it come up with a request for that same password to shut of the locator service. What the heck? I'm frustrated. I just can't get the hang of apple software and itunes seems to be just as bad for me.  Any suggestions appreciated ( aside from stomping on it, I've considered it). Tried to take the battery out but not for me, mere mortal, thought might reset. Got sim card out. Whooopeeee.

    It sounds like you have the Find my iphone Activation lock for sure. Go to www.icloud.com/find and see if you put in that Apple ID that is coming up and yoru password to see if you are able to sign into the account that way to turn it off. If you are unable to, you will have to contact AppleCare by phone (chat cannot handle account lock outs or forgotten password due to not being able to verify your identity) and see if they can reset it. And are you sure the Apple ID that is coming up yours?

  • I can not purchase from the iTunes store because of the security question I am I do not know your security question and alternative mail has been hacked

    I can not purchase from the iTunes store because of the security question I am I do not know your security question and alternative mail has been hacked

    You need to contact Apple. Click here, phone them, and ask for the Account Security team.
    (87808)

  • Every time I try to purchase a song from itunes, it says I have to put in security questions and answer them, which it's never done before. Then after I do the questions, it says that an error occurred and my changes couldn't be saved. HELP!

    Every time I try to purchase a song from itunes, it says I have to put in security questions and answer them, which it's never done before. Then after I do the questions, it says that an error occurred and my changes couldn't be saved. It has been doing this for weeks, and I can't purchase anything! HELP!

    Hi mterry1723, one solution that might be worth trying is this:
    - Close iTunes, if it's open
    - Open Safari and got to 'Preferences'
    - Select 'Security' on the top
    - Untick all the security options in the menu
    - Click the 'Show Cookies' button and look for all the 'apple' entries in the left-hand column.
    - Highlight them (select them collectively) and press 'Remove'
    - Now open iTunes and buy the song as usual.
    - You may be asked to do the same security process as before, so do as asked.
    - Hopefully, the security check will now have accepted your answers and start downloading the song as normal.
    Remember to re-tick all the required security options you had just un-ticked in Safari preferences. You don't need to bother about opening the cookies again.
    I hope this has worked for you and my profoundest apologies if it has not. Worth a go, though!
    I did see this thread: https://discussions.apple.com/message/18259935#18259935 which may be of more help, mainly the last entry by 'c2boyd'
    Message was edited by: Bongomal

  • How do I change my security questions and answers without setting up a new account. I can't remember the answers to the questions that they ask.

    How do I change my security questions and answers without setting up a new account. I can't remember the answers to the questions that they ask.

    1. See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities.
    2. Here are two different but direct methods:
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contacting Apple for support
            and service.
    3. For other queries about Apple ID see Frequently asked questions about Apple ID.
    4. Rescue email address and how to reset Apple ID security questions
    5. For online assistance use Apple - Support - Express Lane

Maybe you are looking for

  • Error when double clicking any field in Alv grid

    Hi All, I have created a custom container. To that custom container I am displaying an alv grid with all editable fields using oops concept. Hence when I am double clicking on any on the field of the table I am getting a dump " an exception condition

  • How to restrict unwanted customer in Rebate.

    Hi Friends, When Rebate Agreement is created, in the Sales Volume Screen, few other customers other than the Rebate Recipients are also featuring. How can I restrict the other customer (other than the Rebate recepient in the Agreement) in the Sales v

  • Authorization information not retained in Windows Vista

    Hello, Recently I purchased a new computer with Windows Vista on it. I moved my music collection from my old machine to this new one. I entered the authorization information when I was asked, but when I restarted the computer the following day and tr

  • Insert live video feed in Keynote

    Hello, How could I insert a live video feed in a running Keynote presentation ? Source could be webcam, iPhone video output, etc. I'd like to keep the background of the Keynote presentation while the live video plays on top. Thx for your help. Benoit

  • Multiple Places for Event Folder?

    I have a Christmas 2008 Event Folder - I went to 2 cities for this christmas - my family in Smithville, GA and my husbands family in Jonesville, GA... All the photos inside the folder are labeled according to each city, but... I would like to just ha