DoSuccessAuth method is not being called

I extended weblogic class AuthFilter and i overwrited the
following method: public boolean doSuccessAuth(ServletRequest
req, ServletResponse res)
I have 2 war files. When i login successfully into the first war
file the function doSucessAuth is called. Then i have a link
(URL) in the jsp page in the first war file that takes me to the
another other JSP page in the second war app. When i am in the
second war the doSucessAuth is not been called at all. When i go
back to the first war file; it is being called.
But i am sure that the second war is authenticating the user.
Why this doSucessAuth methos is not been called by WL 6 sp1 on
NT when the user is accessing the jsp pages of the 2nd war app.
PS. I included the following tag <auth-filter> in both
weblogic.xml for the 2 app war.
Thanks

{color:#ff0000}{size:20px}CROSS POSTED{size}{color}
[http://forums.sun.com/thread.jspa?threadID=5334750]
[http://forums.sun.com/thread.jspa?threadID=5334748]
Cross posting is rude.
db

Similar Messages

  • Repaint() method is not being called?

    Hi...experts
    I have appended the unicode characters to the StringBuffer .and i draw it on canvas.
    now i want to delete these unicode characters from last index of StringBuffer with the command "Clear" .
    i m using the following code for doing this....
    StringBuffer sb=new StringBuffer();
    sb.append('\u093E');
    sb.append('\u093F');
    sb.append('\u0940');
    sb.deleteCharAt(sb.length()-1);But the StringBuffer is as it is.
    please suggest me how repaint() method works.
    Edited by: RavindraDiwakar on Sep 25, 2008 7:46 AM

    {color:#ff0000}{size:20px}CROSS POSTED{size}{color}
    [http://forums.sun.com/thread.jspa?threadID=5334750]
    [http://forums.sun.com/thread.jspa?threadID=5334748]
    Cross posting is rude.
    db

  • Newbie question: dataOfType not being called

    Hi, I'm new to Cocoa and GUI programming. I'm working my way through the Hillegass book, and I'm trying to do the challenge at the end of chapter 18. It involves saving, which was covered earlier in the book, but for some reason I can't get "dataOfType" to work. I've put in a NSLog line at the beginning, so I know the method is not being called when I save. I have it as a method of the MyDocument class, but I haven't done anything special to it. Can anyone tell me what I need to do to get it to be called? Did I miss a link in interface builder?

    I see you haven't gotten any responses, and I don't know enough to help you with this, but I just wanted to recommend that it might help if you posted the code that you're dealing with (or at least the relevant parts of it) -- I think that will often help the devs around here get an idea of how to help. You can post the code between two {code} tags and it will format it nicely for you.

  • JSF: Method not being called

    Hi i've a problem that is grieving me. A method reference by a commandButton is not being called. Here's the code:
    JSP:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@page contentType="application/xhtml+xml"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <title></title>
    </head>
    <body bgcolor="white">
    <f:view>
            <f:loadBundle basename="sisard.maqueta.web.resources.ApplicationMessages" var="messages"/>
         <h:form id="newBookForm">
                <h2><h:outputText value="#{messages.welcomeMessage}" />:</h2>
                <h3><h:outputText value="#{messages.insertnewbook}" />:</h3>
                    <table>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.code}" />:
                            </td>
                            <td>
                                <h:inputText id="code" value="#{GestionLibros.code}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.example}" />:
                            </td>
                            <td>
                                <h:inputText id="example" value="#{GestionLibros.example}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.title}" />:
                            </td>
                            <td>
                                <h:inputText id="title" value="#{GestionLibros.title}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.yearpublication}" />:
                            </td>
                            <td>
                                <h:inputText id="datePublication" value="#{GestionLibros.datePublication}">
                                </h:inputText>                       
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.isbn}" />:
                            </td>
                            <td>
                                <h:inputText id="isbn" value="#{GestionLibros.isbn}">
                                </h:inputText>                       
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.cifeditorial}" />:
                            </td>
                            <td>
                                <h:inputText id="cifeditorial" value="#{GestionLibros.cifEditorial}">
                                </h:inputText>                       
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h:outputText value="#{messages.nifautor}" />:
                            </td>
                            <td>
                                <h:inputText id="nifautor" value="#{GestionLibros.nifAutor}">
                                </h:inputText>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                            </td>                       
                        </tr>
                    </table>
                    <h:commandButton id="submit" action="#{GestionLibros.insertNewBook}" value="Inserir"/>               
            </h:form>
    </f:view>
    </body>
    </html>The backing bean:
    package sisard.maqueta.web.cases.case01.view;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import sisard.maqueta.sgl.model.exception.SGLException;
    import sisard.maqueta.sgs.model.exception.StockException;
    import sisard.maqueta.web.com.SGLManagedBean;
    import sisard.maqueta.web.com.ExceptionUtil;
    import sisard.maqueta.web.factory.DelegateFactory;
    public class GestionLibroManagedBean extends SGLManagedBean{
        private String code;
        private Long example;
        private String title;
        private Calendar datePublication;
        private String isbn;
        private String cifEditorial;
        private String nifAutor;
        public GestionLibroManagedBean() {
        public String insertNewBook() throws SGLException, StockException,
                                             Exception {
            DelegateFactory.getInstance().getLibroDelegate().insertarLibro(
                code,
                example,
                datePublication,
                isbn,
                title,
                cifEditorial,
                nifAutor);
                return "showBooksFound";
        public void setCode(String code) {
            this.code = code;
        public String getCode() {
            return code;
        public void setExample(Long example) {
            this.example = example;
        public Long getExample() {
            return example;
        public void setTitle(String title) {
            this.title = title;
        public String getTitle() {
            return title;
        public void setDatePublication(Date datePublication) {
            Calendar gregorianCalendar = new GregorianCalendar();
            gregorianCalendar.setTimeInMillis(datePublication.getTime());
            this.datePublication = gregorianCalendar;
        public Date getDatePublication() {
            return datePublication != null ? datePublication.getTime() : null;
        public void setIsbn(String isbn) {
            this.isbn = isbn;
        public String getIsbn() {
            return isbn;
        public void setCifEditorial(String cifEditorial) {
            this.cifEditorial = cifEditorial;
        public String getCifEditorial() {
            return cifEditorial;
        public void setNifAutor(String nifAutor) {
            this.nifAutor = nifAutor;
        public String getNifAutor() {
            return nifAutor;
    }faces-config.xml
    <?xml version="1.0" encoding="windows-1252"?>
    <!DOCTYPE faces-config PUBLIC
      "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
      "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
      <!-- ##################################################### -->
      <!-- MANAGED BEANS CASO DE USO 01- LIBROS -->
      <!-- ##################################################### -->
      <managed-bean>
        <managed-bean-name>BuscarLibros</managed-bean-name>
        <managed-bean-class>sisard.maqueta.web.cases.case01.view.BuscarLibroManagedBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
      <managed-bean>
        <managed-bean-name>GestionLibros</managed-bean-name>
        <managed-bean-class>sisard.maqueta.web.cases.case01.view.GestionLibroManagedBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
        <!-- ######################################## -->
        <!-- NAVIGATION RULES CASO DE USO A01-DATOS ADMINISTRATIVOS DE USUARIO -->
        <!-- ####################################################### -->
        <navigation-rule>
            <from-view-id>/searchBooks.jsp</from-view-id>
            <navigation-case>
                <from-outcome>showBooksFound</from-outcome>
                <to-view-id>/searchBooks.jsp</to-view-id>
            </navigation-case>
            <navigation-case>
                <from-outcome>insertNewBook</from-outcome>
                <to-view-id>/insertNewBook.jsp</to-view-id>
            </navigation-case>       
        </navigation-rule>
        <navigation-rule>
            <from-view-id>/insertNewBook.jsp</from-view-id>
            <navigation-case>
                <from-outcome>showBooksFound</from-outcome>
                <to-view-id>/searchBooks.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>   
    </faces-config>Thanks in advance.

    Thanks for your reply. The problem was with Date datePublicacion. It was missing a converter.
    java.util.Date is deprecated. Is there a chance to use java.util.Calendar?

  • JSF 1.2 Rendered decode method not being called

    I've been banging my head about this one, I have a custom component with:
    TagClass
    RendererClass
    ComponentClass
    The encodeBegin is running fine in the renderer class, but the decode method is never being called - and it does properly over ride the super class method:
    public class UIRendererClass extends Renderer {
    public void decode(FacesContext context, UIComponent component) {
    // Do some stuff
    The output always renders correctly - but it never calls the decode method (which updates some other page components), proved with logging and forced exceptions.
    I'm using SJAS 9.0 FCS and Facelets 1.1.11, anybody any ideas?

    Hi,
    I can't use my own components with JSF 1.2 and facelets and Tomcat 5.0.28, so I will be very grateful if you can send to a small working example (i.e. project) of using custom components.
    Thanks in advance

  • Purchase order ME_PROCESS_PO_CUST  not being called

    Hello,
    I've created an implementation of  ME_PROCESS_PO_CUST, which is automatically migrated to Enhancement (I'm in Netweaver 2004s).
    Then I go to ME21n and the badi is not being called. It is active, I have breakpoints inside the various methods, and I can create a PO from start to finished without opening debug mode.
    Is there any problem with ME_PROCESS_PO_CUST in ECC 6.0?

    hi,
    goto se18 and give definition name and click display button.
    if "multiple use" check box is  not checked means  it is a single use.
    that means for the standard badi definition can any number of implementations,
    but only one will be in active state others in inactive mode.
    u can check all the detail by goingin se18 -> implentation menu->overview
    if implementation is active it will glow in yellow color.all other inactive in blue color (description color).if u want u code to execute go to  others and press(shiftf8) to make others inactive then come to ur code and make it active ctrlf3.
    then it will work.this is for single use.
    for multiple use system will predict its sequences. we abaper no need to worry of the sequences.because if it is multiple use all implementation are in  active stage .so all the code will work in some sort of order.
    thanx
    zenthil

  • BUG: Return listener not being called for manually launched dialog

    Hello all,
    I have found a bug in the dialog framework. To set the stage, I have a ADF Faces page with a command button on it. The partial submit property is set to "true" and the use window property is also set to "true." I also have the returnListener property set to a method in the backing bean. When I set the Action property of the command button to a global navigation rule that launches a dialog, the return listener is being called correctly when I dismiss the dialog.
    However, when I launch the dialog from an action listener, the return listener is not being called. Here is my action listener code:
      public void al (ActionEvent ae)
        FacesContext context = FacesContext.getCurrentInstance();
        ViewHandler vh = context.getApplication().getViewHandler();
        UIViewRoot dialog = vh.createView(context, "/infrastructure/ICConfirmDelete.jspx");
        HashMap properties = new HashMap();
        properties.put("width", new Integer(300));
        properties.put("height", new Integer(300));
        AdfFacesContext.getCurrentInstance().launchDialog(dialog, null, ae.getComponent(), true, properties);
      }and here is my return listener:
      public void rl(ReturnEvent re)
        System.out.println("in return");
        System.out.println((String) re.getReturnValue());
      }OK - here's an update. If the command button is in the Actions facet of the page, everything works as expected. However, if the button is in the selection facet of a table (inside of afTableSelectOne) - it does not work properly as documented here. It also works correctly if the button is in the actions facet of the table. I think that this is a bug and needs to work - my use case (as you might tell from my code) is to do a delete confirmation dialog. My short-term workaround is to use the Action instead of ActionListener property on the command button, but the issue I have is that the pop-up dialog is just a tad too small, and is showing scrollbars.
    Regards,
    John
    Message was edited by:
    John Stegeman
    Added additional information about tableSelectOne

    Gabrielle,
    Sorry for the confusion.
    What does not work:
    Initiating a dialog from the ActionListener attached to a command button (where the command button is inside an afSelectTableOne) will not fire the returnListener when the dialog is closed.
    What does work:
    Initiating a dialog by returning a dialog-based navigation rule (e.g. a string starting with "dialog:") from the Action attached to a command button (even if the command button is inside an afSelectTableOne) - the return listener is called when the dialog is closed
    What also does work:
    Initiating a dialog with either method (Action or ActionListener) when the command button is elsewhere on the Page (e.g. in the Actions facet)
    Hope this clarifies the bug. I could send a test case if desired.
    Kind regards,
    John

  • Classic BADi not being called

    Hello Experts... Your kind and expert advice is deeply appreciated...
    We had implemented a BADi in CRM4.0 and that is being called and working alright.
    We are now upgrading CRM4.0 to CRM7.0. With this change classic BADis is not being called.
    Difference I noticed in calling program is that in CRM 4.0 BADIs were pulled/instantiated by factory method. However in CRM 7.0 it uses "GET BADI" command. But since "GET BADI" does not fetch implemented BADi, it throws BADI not found exception.
    - I searched and learnt that "Get BADI" can fetch classic BADIs and there is no need to migrate classic BADIs to new BADIs ...(if I am not wrong)..
    - Also that I re-activated classic BADi in CRM 7.0 but still "Get BADI" does not pulled/instantiate BADi.
    - Also I search to have report "ENH_BADI_ADD_MIGR_INFO" run to create link between Classic and new BADi. Will this work?
    Kindly advice to call classic BADi in CRM 7.0? Appreciate it. Thanks!
    Warm Regards,
    Kalpit

    Hi,
    Check if this BADI is migrated to enhancement spot (In attributes TAB). If yes, you need create an enhancement implementation for
    this BADI.
    Thanks,
    SKJ

  • MethodBinding from commandLink not being called

    Hello,
    I am building a dynamic datatable and everything is being rendered fine. However, now I want to implement row selection on the table and am doing so by rendering a commandLink on each row that the user can click to select the row. I would like to bind this to an action method in my bean and have so far been unable to invoke the action method when I click on the link. Here is my code:
    UICommand comm = new UICommand();
    MethodBinding mbButton = app.createMethodBinding("#{myBB.buildModel}", null);
    comm.setAction(mbButton);
    code]
    And my backing bean is defined in faces-config as myBB.  In that backing bean, I have:      public String buildModel() {
         logger.info("BuildModel invoked");
         return "stay";
    But buildModel is not being called at all when I click the link on the page. What am I missing?

    Figured it out.
    You need to set an ID for each comm, also. Adding a call to comm.setId(<unique ID>) fixed the problem.

  • BADI FI_INT_CUS01 method INT_PRINT_OPTIONS not getting called in RFINTITAR

    Hi,
    I have implemented the BADI FI_INT_CUS01 to set the Print archive mode (Storage mode) to '3' (print & archive) for the FINT transaction (program name: RFINTITAR), using the method INT_PRINT_OPTIONS. But the method INT_PRINT_OPTIONS is not being called in  the program RFINTITAR anywhere. So the BADI implementation is not being called up, so not able to change the Print archive mode to '3'. Please let me know if I'm missing anything.
    Thank you..
    Lakshmi

    Carin,
    Using the method INT_ADD_ITEMS is possible to filter, displaying only the items required.
    See also SAP note 736223 .
    Regards,
    Fabrício Fernandes Aguiar

  • One Method is not getting called from of one BADI Customer_add_data

    Hi,
    I am Implementing one method BUILD_TEXT_FOR_CHANGE_DETAIL
    I have done coding part also and set breakpoint to check the data.
    I went to transaction XD01 and created one customer and check the execution but it didnt reach to the step where i placed the break point.
    I checked the  program    SAPMF02D from transaction x01   and searched for the method where its being called . But search for unsuccessful as no reaults has been found.
    Please help me in rectifing this issue.
    Thanks,
    Izaz.

    if the question is not clear please tell me i ll write it in detail

  • This method should not be called anymore. The client was already released i

    Hi,
    while configuring Business Packager for Projects 50.3 fo, we made few changes in R/3 side as per the documentation. after that we are getting following error in portal
    "This method should not be called anymore. The client was already released into the pool or the pool entry was deleted"
    all the chages were reverted in R/3 system still we are getting the same error.
    Can any one help on this issue....
    Thanks in advance and for early responce higher marks would be awarded!!!..     
    Regards
    Ravi Sankar Karri

    Hi,
    Well there were errors in how stop works:
    "Stopping a thread with Thread.stop causes it to
    unlock all of the monitors that it has locked (as a
    natural consequence of the unchecked ThreadDeath
    exception propagating up the stack). If any of the
    objects previously protected by these monitors were in
    an inconsistent state, the damaged objects become
    visible to other threads, potentially resulting in
    arbitrary behavior. "
    I do understand that you want to have something like
    killTheTreadIDontCareAboutConcequences-method, but
    it's better to let all your methods that you want to
    be able to terminate take a timeout argument, and deal
    with the termination in the method. (Close the
    sockets/streams etc that you are blocking on).
    /KajThe point is, it is not always possible to make those blocking methods stop, via some magic "timeout" thingamabob. The bottom line is still that the blocking methods were written incorrectly to begin with (to possibly block indefinitely), so one cannot come up with an across-the-board solution, other than getting the root cause fixed in the first place. However, one is not always in control of fixing the root cause.

  • Listeners keyDown are not being called when keyDown in an popup l

    For some reason the listeners titleWindow_keyDown are not being called when keyDown in an popup like so:
    <?xml version="1.0" encoding="utf-8"?>
    <s:SkinnablePopUpContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                               xmlns:s="library://ns.adobe.com/flex/spark"
                               xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300"  keyDown="titleWindow_keyDown(event);" >
        <s:TitleWindow title="Edit Complaint" close="close()">
    private function titleWindow_keyDown(evt:KeyboardEvent):void {
                        if (evt.charCode == Keyboard.ESCAPE) {
                            close();
    Any ideas friends??

    But in my code it is a child inside SkinnablePopUpContainer:
    <s:SkinnablePopUpContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                               xmlns:s="library://ns.adobe.com/flex/spark"
                               xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300"  keyDown="titleWindow_keyDown(event);" >
        <s:TitleWindow title="Edit Complaint" close="close()">

  • Why is FmsDestroyFileAdaptor not being called when FMSCore exits

    I'm developing a file-io plug-in and the FmsDestroyFileAdaptor or FmsDestroyFileAdaptor2 functions are not being called for my dll when the FMSCore process exits. I built the and tested the sample plug-in that comes with FMIS 3.5 and the same problem exists with it as well.
    Any clues? Is this a bug?
    Thanks,
    George

    This issue has been fixed in 3.5.2 release. See http://www.adobe.com/support/documentation/en/flashmediaserver/releasenotes.html

  • What is the reason of window not being called

    Hello,
    I am working with a copied form YY_MEDRUCK. This form is to produce purchase order details ouput. there are about 9 windows on First page which are in following orders.
    1MAIN
    2 ADDRESS
    3 CONSGNE
    4 DELDATE
    5 FOOTER
    6 HEADER
    7 INFO
    8 INFO1
    9 LOGO
    Problem is that window CONSGNE is not called. I know it because first of all it was not showing the address on the desired position on the first page, then for the confirmation I debugged the form when ME23N was called and when I tried to see the print preview.
    I found the while debugging the form, all the windows got called off but CONSGNE window was not called.
    Could someone let me know if window is defined in a form the the page then why window is not called. Any suggestion for this ?
    Thanks,
    Mark

    I am really kind of getting confused over here. Previously changes were done by some other guy. Now though the form is a copied form but the same form is working in productive system and values are coming when I debugged in productive system there CONSGNE window was getting called.
    print program for this is SAPFM06P for ouput type Y009, same output type is also used in productive system.
    Now I donot know as this is a standard print program and even if I debug the print program i do not know where to put the break point so that I can actually see why window is not being called. The problem is i am not supposed to make changes in the standard program and only in YY_MEDRUCK form.
    Can you give me some suggestion to go in a right direction to fix up this problem.
    Thanks,
    Mark

Maybe you are looking for