How to display custom error message when JAAS authentication fails

Hi all
I use JDEV 11 g TP4 and have the following problem:

I have a web application with custom, connection module that is called by the container.

When authentication fails, I take a "javax.security.auth.login.FailedLoginException" with the error in detail inside.

The point is, how to display the exact error on login error page, who transmits container automatically


Kind regards
Krasimir

We have implemented several custom, but never used connection modules JAZNContextCallback. I think it's depracticed JPS... and pay attention to the point made by Frank that this should be changed to WLS in JDev version coming soon. Even in TP4 there has many parts unfinished of JPS where JAZN is always used but does not not as expected.

I suggest you only use reminder managers JAAS standard or implementation you container own login module standards in order to support any migration. Unfortunately, the javax.security.auth does not provide reminder to catch the request context.

You can try to use the new oracle.security.jps.callback.HttpRequestCallback)

I think it should work even with WLS.

Kind regards

PaKo

Tags: Oracle

Similar Questions

  • "Cannot display page" error message when you try to download 2010 professional

    Original title:

    Error message on Internet download from trusted sites?

    I am trying to download 2010 Professional on my computer.  Yes, I have a product key.  Whenever I try to download, I get an error message "cannot display the page.  This often happens to me.  Any suggestions?

    Hello

    Thank you for giving us the opportunity to help you with your concern for Windows!

    I see from the description of your post, that you are unable to download Microsoft Office Professional 2010.

    If you get the error message in Internet Explorer , then this might be the cause:

    For performance reasons, where Internet Explorer cannot establish a connection to a proxy server, the proxy server is added to a list of proxy servers bad so that it is not reused for a period of time. This period is 30 minutes by default. If a proxy auto-configuration script returns a PROXY list that specifies several proxy servers, a connection to the proxy in the list will be attempted. If the connection fails, the process is repeated until a connection is established, or the list is exhausted. If the list is exhausted and no connection is established, the user will receive a "Cannot display Page" error message in Internet Explorer.

    We would like to get more information about you to help solve your problem. You better, please answer the following questions.

    1. What is the full error message?

    2 are you able to download other files without any problem?

    3. what web browser do you use to download?

    4. what version of Windows are you using? What service pack is installed on the computer?

    5. based on what site are you trying to download?

    You can check the following link to learn more about the error message "cannot display the Page":

    "Internet Explorer cannot display the webpage" error in Internet Explorer

    http://support.Microsoft.com/kb/956196

    Warning: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Warning: him reset Internet Explorer settings feature might reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before using thfeature reset the settings of Internet Explorer e.

    Note:

    If the question is limited to Microsoft Office Professional 2010 then please post your question here for assistance:

    http://answers.Microsoft.com/en-us/Office

    Hope the information is useful.

    If you need help on this issue or any problem related to Windows, please keep us informed. We will be happy to help you!

  • Displays the error message when download itunes and other updates, not microsoft... says mode without failure or installer problem

    Error code is displayed. indicates the mode without failure or installation problem, contact shop etc. where purchased.

    Hi PeterLloyd,

    (1) what is the complete error message you receive?

    (2) what version of Windows you are using on the computer?

    (3) updates are you referring?

    Method 1: Try to install the program as an administrator do a right click on the program installation files and select run as administrator, click on continue if you are prompted to confirm.

    Method 2:  Select the boot and then check if the problem persists

    Follow step 1 in the link below,
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Important: n ' forget not to put the computer to a normal startup follow step 7 in the link.

  • How to display the error messages from sql/pls call

    Hello

    How can I display error messages from pl/sql calls on application pages?

    Current situation:

    If I specify "Error message" in the process - well, that's what I'm going to get on the page.

    What I want:

    I would like to have the specified aka "user friendly" message with the actual pl/sql routine. so it helps me to understand where the error occurred.

    Hi AZZ.

    AZZ says:

    How can I display error messages from pl/sql calls on application pages?

    Current situation:

    If I specify "Error message" in the process - well, that's what I'm going to get on the page.

    What I want:

    I would like to have the specified aka "user friendly" message with the actual pl/sql routine. so it helps me to understand where the error occurred.

    Yes, agree with orpheus4192. Use the APEX_ERROR. ADD_ERROR API.

    Reference:

    Kind regards

    Kiran

  • A pdf file exported from InDesign, but displays various error messages when the same file is downloaded on the same laptop from the company's Web site

    Hello

    I'm having a problem with a pdf file created for my business. It exports without problems and displays correctly on my computer, but once it is transferred to the Web site and you download from here, pages randomly displayed not correctly, images and pieces of text go missing and different "internal error" messages pop up, such as:

    "An internal error has occurred."

    "There is an error on this page. Acrobat may not display the page correctly. Please contact the person who created the pdf document to correct the problem.

    "Failed to retrieve the embedded police"LICYDR + GaramondMT". Some characters may not display or print correctly.
    "Insufficient for an image.

    And when I close the pdf file it asks if I want to save even if I did not bring any changes to the document. It seems that everyone has problems with pages and receive different error messages. It is exported using the smallest file size preset in InDesign. Any idea what could be the cause? Any help would be greatly appreciated!


    Thank you

    Sarah

    One thing to check is if BINARY is used in the FTP client. If a client FTP ASCII is used, it may corrupt PDF files.

    Here's another thing to check yourself for you. Find the size in bytes of your original PDF. Now, look at the size of the uploaded file in bytes. Are they the same? If this is not the case, ask your colleague the size in bytes of the PDF file on the server. Is this the same as the original, or bad file?

  • 0x8100000A error message when the backup fails.

    When my system tries to make a regular scheduled backup, I get the following error message:

    The backup has failed.

    An error has occurred. The following information can help you to resolve the error:

    The last backup set cannot be found. Make sure it is accessible and it has not been deleted. Otherwise, create a new full backup. (0x8100000A)

    How can I fix it?

    I use Windows Vista Home Premium on an HP computer. Thank you.

    http://www.Microsoft.com/Windows/Windows-Vista/features/backup.aspx

    Unlike what you said here, Vista Home Premium does NOT have a backup of the computer.
    Read the info in the link above from Ms.

    You need Vista Business or Vista Ultimate or Enterprise Vista for backing up the computer.

    Make the backup file.

    See you soon.
    Mick Murphy - Microsoft partner

  • Display custom jquery message when the responsible for the page?

    Hi all

    I use: Apex5

    I want to use jQuery custom message

    like: http://www.jqueryrain.com/?koLHvt8W

    My not...

    I put @ level page < link rel = "" #APP_IMAGES #notifyme.css "type =" text/css"/ > / / in the section of the css file "

                                       <script src=" http://code.jQuery.com/jQuery-1.11.1.min.js "> < / script > . / / in the URL of a JavaScript file /

    < script type = "#APP_IMAGES #notifyme.js" > < / script > / / in the URL of a JavaScript file /


    And I put the function:

    $(window).load( function() {
        $(this).notifyMe(
            'bottom', // Position
            'error', // Type
            'Lorem Ipsum Text', // Title
            'Lorem Ipsum is simply dummy text of the printing', // Description
            200 // Velocity of notification
        2000 // (optional) Time of delay to close automatically
        );
    });
    

    in the section run when the Page loads does not!

    try to insert it in the function and the declaration of global variables ... does not!

    and try to create on load dynamic action of javascript code... But not work absolutely ... Why?

    Please help me...

    Thank you.

    Hi Amr Abdeen,

    AMR Abdeen wrote:

    Please check...

    https://Apex.Oracle.com/pls/Apex/f?p=38695:36:1719887121161:

    WS: voll

    User: [email protected]

    Pass: 1

    I modified your application. It works now, please check.

    Past under Page attributes-> 'CSS'-> 'File URLs' section:

    #APP_IMAGES#notifyme.js
    

    TO

    #APP_IMAGES#notifyme.css
    

    Kind regards

    Kiran

  • Windows 7 displays the error message when you exit + cursor problem

    Two issues here. Phoshop CS5 on Wind 7 64-bit.

    Number of physical processors: 8
    Processor speed: 3073 MHz
    Built-in memory: 12279 MB
    Free memory: 9577 MB
    Memory available to Photoshop: 10934 MB
    Memory used by Photoshop: 80%
    Tile image size: 128K

    First issue is since the last update automatic Adobe (why fix what is not broken?) Whenever I go out now Photoshop I get the message "Server QT Adobe has stoped working" and sometimes when I go out the bridge. InDesign behaves as evil. I can no longer start a previous document in the file without ID Manager crashing on.

    The other is the sliders in the Clone and delete lose their advantage (become invisable) without any reason - well not quite. Noise Ninja crashed in Photoshop when I tried to use it. I reinstalled it and all is well. The issue of cursor seems to be intermittent but came back (for no reason), after that I reinstalled NN. I can't seem to change the cursor, no matter what I do. The problem now seriously affect how I work. Almost any return to Win XP, who ran perfectly in Photoshop CS5.

    Any help will be accepted with gratitude.

    Doug

    Cursor problems are known to be caused by outdated video drivers (nVidia).

    Assuming you have a nVidia (which model?) video card, go to their web site and download and install the latest video drivers for your card.

    Also, this could very well solve your crash.

    Don't forget the video drivers to apply the OpenGL system, on which Photoshop relies heavily.

    -Christmas

  • W220 Vodafone: phone displays "pending" error message when you try to send TEXT Messages

    Hi, I have the W220 on Vodafone PAYG. When I try to send messages to anyone I just get back 'pending' followed by the destination phone number. I wish I had more details, but that's all he says! I understand there are several possible reasons for this if someone could tell me the most common resolutions?

    Oh, and Yes, I have a lot of credit!

    Rachel

    Rach

    You please mark this thread as answered. Helping to keep order with the forum community.

    Thank you

    Poko

  • How to display a warning message when someone tries to stop .vi?

    I have an instrument that generates at the rate of several per second .dat files.  The device stores the files on a PC.  The PC has a LabVIEW .vi which checks the new .dat files.  If a file is found, the .vi reads data, calculates a value, then deletes the file.  If the LV application is stopped by a person until the unit is off, the hard drive fills up within hours.

    The .vi is configured to run at the opening, but I need a pop up warning message in case someone tries to stop the vi.

    Any suggestions?

    Hi epster,

    No, the button abandon won't get caught by it. But you must hide the toolbar in any case when the vi is running...

  • How to display the error message by supporting the bean class - Jdev 10.1.3.4

    Hi people.
    I have a page with a form of adf and some text entry fields
    A text entry field is based on a transitional attribute.
    I created a validation in a bean class of support to do some calculations. If the user type a wrong number in this field, I need to validate the number in my support bean method (which is ok)
    and show a validation error, like this validations of EO. Is this possible?
    Willian thanks

    Hello

    Yes, it is, try something like the following:

    FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, "some message summary", "some message detail");
    FacesContext.getCurrentInstance().addMessage(null, message); // Null for global message
    

    Kind regards

    ~ Simon

  • How to solve the error message reported applicable license failed

    How can I correct a failure of applicable license

    Hello

    your question has already been answered

    Click on the link below

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_install/error-code-says-software-lisensing-service/f198f8c0-7c7a-4BDB-883f-d689b131b58c

  • Unable to display the error message using the controller extension

    Hello

    I am trying to extend standard iproc CheckoutDistsCO. I have to display the error message when the quantity entered is '0 '. So I wrote logical when you click on the apply"" button. I created an extension CheckoutDistsCOEx & written logic here... but I am able to see messages in the log file, but no error message on screen.

    After having many forums I place super.processFormRequest (pageContext, webBean); at the end. It start always error message.

    Standard CheckoutDistsCO has a logic in the button apply. I think it is the substitution of the extension code... How can I fix? Pointers appreciated please

    package xxtr.oracle.apps.icx.por.req.webui;

    Import oracle.apps.fnd.framework.OAApplicationModule;

    Import oracle.apps.fnd.framework.OAException;

    Import oracle.apps.fnd.framework.OAFwkConstants;

    Import oracle.apps.fnd.framework.OARow;

    Import oracle.apps.fnd.framework.OAViewObject;

    Import oracle.apps.fnd.framework.webui.OAPageContext;

    Import oracle.apps.fnd.framework.webui.beans.OAWebBean;

    Import oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean;

    Import oracle.apps.icx.por.req.webui.CheckoutDistsCO;

    Import oracle.jbo.domain.Number;

    java.lang.String import;

    public class CheckoutDistsCOEx

    extends from {CheckoutDistsCO}

    {} public processRequest Sub (pageContext OAPageContext, OAWebBean webBean)

    super.processRequest (pageContext, webBean);

    }

    {public processFormRequest (pageContext OAPageContext, OAWebBean webBean) Sub

    super.processFormRequest (pageContext, webBean);

    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    pageContext.writeDiagnostics (this, 'seized in PFR method", OAFwkConstants.STATEMENT);

    If (pageContext.getParameter ("Return")! = null) {}

    String applyevent = pageContext.getParameter (EVENT_PARAM);

    If (applyevent.equalsIgnoreCase ("return")) {}

    pageContext.writeDiagnostics (this, "clicked the Apply-back button" + applyevent, OAFwkConstants.STATEMENT ");

    OAException message = new OAException ("clicked on Apply-back put the message in the dialog box" + applyevent, OAException.INFORMATION);

    pageContext.putDialogMessage (message);

    OAViewObject poreqdistvo = (OAViewObject) am.findViewObject ("PoReqDistributionsVO");

    pageContext.writeDiagnostics (this, "display object = >" + poreqdistvo, OAFwkConstants.STATEMENT);

    OAAdvancedTableBean xxProjectDistsAdvTable = (OAAdvancedTableBean) webBean.findChildRecursive("ProjectDistsAdvTable");

    Line OARow = (OARow) poreqdistvo.getCurrentRow ();

    If (line! = null) {}

    pageContext.writeDiagnostics (this, "line Found"+ row, OAFwkConstants.STATEMENT);

    Number of xxtrqty = (Number) row.getAttribute ("ReqLineQuantity");

    pageContext.writeDiagnostics (Thi, "get attribute reqlinequantity" + xxtrqty, OAFwkConstants.STATEMENT);

    If (xxtrqty.intValue () == 0) {}

    pageContext.writeDiagnostics (this, "in comparing to 0 xxtrqty" + xxtrqty.intValue (), OAFwkConstants.STATEMENT);

    throw new OAException ("Enter valid amount", OAException.ERROR);

    }

    }

    else {}

    throw new OAException ("no line Found Else", OAException.ERROR);

    }

    }

    else {}

    throw new OAException ("not in"apply button", OAException.ERROR);

    }

    super.processFormRequest (pageContext, webBean);

    }

    }

    Thank you

    TR

    For example, when you comment on the super. PFR, you receive the error message on the right of the screen?

    Can you try this code and paste the debug log.

    public class CheckoutDistsCOEx extends CheckoutDistsCO {
        public void processRequest(OAPageContext pageContext, OAWebBean webBean) {
            super.processRequest(pageContext, webBean);
        }
    
       public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) {
      //super.processFormRequest(pageContext, webBean);
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            pageContext.writeDiagnostics(this, " ----> Entered into PFR Method", OAFwkConstants.STATEMENT);
            String applyevent = pageContext.getParameter(EVENT_PARAM);
      pageContext.writeDiagnostics(this, " ----> applyevent: " + applyevent, OAFwkConstants.STATEMENT);
            if (applyevent.equalsIgnoreCase("return")){
      pageContext.writeDiagnostics(this, " ----> Inside If", OAFwkConstants.STATEMENT);
                OAViewObject poreqdistvo = (OAViewObject)am.findViewObject("PoReqDistributionsVO");
                OARow row = (OARow)poreqdistvo.getCurrentRow();
      pageContext.writeDiagnostics(this, " ----> row : "+ row, OAFwkConstants.STATEMENT);
                if (row != null) {
      Number xxgesqty = (Number)row.getAttribute("ReqLineQuantity");
      pageContext.writeDiagnostics(this, " ----> xxgesqty : "+ xxgesqty, OAFwkConstants.STATEMENT);
                    if (xxgesqty.intValue() == 0) {
      pageContext.writeDiagnostics(this, " ----> throwing errro : ", OAFwkConstants.STATEMENT);
      throw new OAException("Enter Valid Quantity ",OAException.ERROR);
      }
      }
                else {
      pageContext.writeDiagnostics(this, " ----> No Row Error", OAFwkConstants.STATEMENT);
      throw new OAException("No Row Found Else ",OAException.ERROR);
      }
      }
      pageContext.writeDiagnostics(this, " ----> Calling Super", OAFwkConstants.STATEMENT);
            super.processFormRequest(pageContext, webBean);
        }
    }
    

    See you soon

    AJ

  • C00D11C8 error message when you use Windows Media Player

    How to fix C00D11C8 error messages when you use Windows Media Player.

    I've recreated the error on another computer running the same level of the OS and SP but received a more explicit error message telling me to get the codex of GoToMeeting.

    I downloaded the GoToMeeting codex and the problem was solved.

  • Need help: display several Error Messages

    Hi refugees,

    How are you?

    I try to view a list of the following error Messages in LICS...

    ArrayList errMsg = New ArrayList();

    errMsg.add (new OAException ("ERROR 1"));
    errMsg.add (new OAException ("ERROR 2"));
    errMsg.add (new OAException ("ERROR 3"));

    OAException.raiseBundledOAException (errMsg);


    Source: OA - learning: several Error Messages in the OPS

    I am getting error while increasing the error that

    raiseBundledOAException (ArrayList) cannot call...

    He suggested that instead of the ArrayList list

    How to handle this?

    (or)  How to display several Error Message

    Please give your valuable suggestions...


    Thank you

    Kind regards

    Jaya


    Make sure that you have followed imports

    import com.sun.java.util.collections.ArrayList;

    Import oracle.apps.fnd.framework.OAException;

Maybe you are looking for