J_security_check skipping?

Hi all,
I am using resin form based authentication (j_security_check).
I want to lock the user account after N invalid login attempts.
Now, before validating the user, i want to check no of attempts for a particular username, so i want to skip the submission to j_security_check and submit it to someother page and then forward it to j_security_check.
Any insights?

Anthony,
I take it you are using form authentication. Are you sure your login and
error files are set properly? Make sure you send the user to the page to
be authenticated not to the login page. Make sure you invalidate your
session if the user has previously logged in correctly before trying to
log in again.
Good luck
Anthony banda wrote:
>
When using j_security_check and Netscape 4.7 I have found that when a user logs
in incorrectly the Netscape authorization popup happens, asking for a username
and password. Even if you supply the correct username and password in the popup
authentication does not happen. Is there a way to keep the popup from poing up?

Similar Messages

  • How to redirect to j_security_check without the form based authentication

    Hi,
    I am trying to integrate my application authentication to a backend system with the ibm websphere form based authentication. Below is the scenario:
    1. when the user clicks on a protected url, the container will redirect the user to the login page.
    2. instead of displaying the login page, i would like to automatically redirect the user to j_security_check action. which means that instead of displaying the login.jsp page, the user will automatically be redirected to j_security_check to perform some user authentication, and if successful, the application pages will be displayed.
    The reason i want to auto redirect the user to j_security_check is because i am implementing some integration work with a backend system. the user will key in the username/password from another system. once the user is authenticated, the user information will be passed to my system. The login page of my system will not be displayed again, and by using the username value, my system will assume that the user has successfully been authenticated (authentication done by the backend system), and therefore automatically gain authorization to login into my application.
    i hope that clarifies my problem.
    anyone out there has any solution to my problem?
    thanks a lot in advance.

    Hi Darren,
    Let me explain the whole authentication environment.
    There are actually 2 systems in this environment. Let;s call it system A and system B.
    System B is actually using the authentication mechanism that i described in my previous message.
    A login page will be presented to the user (within system A). User credential is collected and passed to system A to be authenticated. System A will use its own mechanism to authenticate the user.
    Once the user is authenticated, system A will pass the user ID to system B. At this point, system B will assume that the user is authenticated and grant authorization to access the application. (system B global security is enabled and implements the form based authentication mechanism) Therefore, at this point, the redirect page (so called login page) will not be displayed to the user, instead it will be automatically redirected to the j_security_check action to execute the customer Ldap Registry class. (ps : eventhough authentication is no longer needed, the flow will still go to Ldap Registry class. A check is done in the Ldap Registry class to skip the authentication, if it is not boot strap login. Only first and only time authentication is done for boot strap login).
    In the case a protected url is clicked or invoked by the user directly, the application will redirect the user to the initial login of system A. Otherwise (the url link originates from system A, during the passing of user token to system B), system B will redirect to j_security_check and execute the customer Ldap Registry class.
    Based on the above explained scenario, in your opinion, is there any security loopholes? consider that system B no longer perform authentication but only to grant authorization to the user.
    Appreciate your advice. Thanks in advance
    Anyway, i am using the ibm websphere server. :)

  • Skip to content in JSF page

    I have developed a very simple JSF page and sometimes it doesn't get rendered properly instead it displays a link "Skip to Content" and gets refreshed infinitely and automatically. I don't find anything wrong in the code.
    Can you please let me know if this is a known issue and solution to this, if any.
    Thanks
    Raza

    I get this error intermittently. I have developed a very simple JSPX with two labels and two images. The page renders fine sometime but sometimes, it gets skewed, functionality doesn't work and the link "Skip to Content" displays on the top-left of page. My JSPX code is mentioned below
    Please help!
    Regards
    Raza
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document>
    <form action="j_security_check" method="POST">
    <af:panelFormLayout>
    <table valign="center" align="center" width="400px" height="255px"
    style="border-width:1px; border-color:Black; border-style:solid;">
    <tr>
    <td>
    <af:image source="http://localhost:8888/ContentServer/Logo.JPG"/>
    </td>
    </tr>
    <tr>
    <td style="color:Black; font-size:18pt; font-family:tahoma; font-weight:bold; text-align:left; vertical-align:middle;">
    <af:outputText value="Application Name"/>
    </td>
    </tr>
    <tr>
    <td>
    <input style="color:Black; font-size:8pt; font-family:tahoma; vertical-align:middle;"
    type="text" name="j_username" id="j_username"/>
    </td>
    </tr>
    <tr>
    <td>
    <input style="color:Black; font-size:8pt; font-family:tahoma; vertical-align:middle;"
    type="password" name="j_password" id="j_password"/>
    </td>
    </tr>
    <tr>
    <td>
    <input style="color:Black; font-size:8pt; font-family:tahoma; vertical-align:middle;"
    type="reset" name="Reset" value="Cancel"/>
    <input style="color:Black; font-size:8pt; font-family:tahoma; vertical-align:middle;"
    type="submit" name="Submit" value="Login"/>
    </td>
    </tr>
    <tr>
    <td>
    <af:image source="http://localhost:8888/ContentServer/Footer.JPG"/>
    </td>
    </tr>
    <tr>
    <td style="color:Black; font-size:8pt; font-family:tahoma; vertical-align:middle; text-align:justify;">
    <af:outputText value="Copyright Message"/>
    </td>
    </tr>
    </table>
    </af:panelFormLayout>
    </form>
    </af:document>
    </f:view>
    </jsp:root>

  • Depot Excise Invoice number skipped ???

    Hi Everyone
    For Ex. say our depot excise invoice number range is from 1to 100, assuming the current number is 51. Some day back there was a jump in the depot excise invoice number range. In between 1 and 51 the number "25" is missing.
    So the excise department has asked the company as to why we have skipped the number 25.
    I have checked the table J_1IRG23D, but the skipped excise invoice number is not appearing in the tables, I mean it says "No table entries found for the specified key"
    Our Company wants to know the exact reason as to why the system has skipped the depot excise invoice number "25".
    Whether it is the system mistake or user mistake or some body else fiddling with the system.
    Please offer you valuable suggestions to solve this problem
    Thanks & regards
    satish

    Hi,
    SAP 99.9 % will never skip the number range on its own.
    As per my understanding:
    1.Some one has manually deleted the Depot Excise Invoice number after creation (due to the user mistake at selecting the 
      appropriate Incoming Excise invoice, Price , material or etc reason. And while creating the New Depot excise Invoice Number  
      he forget to adjust the number range at object 'J_1IDEPINV' for corresponding Series Group. This u can confirm by checking
      the entry at Item level, instead of Header at it will not show that entry.
    2.May be due to the Depot Sales Returns for respective Depot Invoice canceled and Deleted by the user.
       Here, deleting the excise Invoice is not Valid practice as per Excise Tax rules of GOI.
    3. Kindly check, whether Number Range Changes happend for respective Series Group between the Fiscal Year 2010-11.
    Please feel free to correct me and It will be a value addition if you find any other solution.
    Thank You,
    RB

  • Call tranasaction with skip first screen in ecc6

    Hi,
    We are doing upgrade from 4.7 to ecc 6. We are getting an error while running a report( The addition "AND SKIP FIRST SCREEN" can't be used with "CALL TRANSACTION .. USING".  ) in ecc6. This is not showing error in 4.7. Call transaction with skip first screen is fine in 4.7. But it is throwing an error in ecc6.
    Could anybody provide me the pointers to rectify this error.
    Regards,
    Ramesh

    Hi
    Did you pass all the mandatory field values to the calling transaction , Because when you use this addition you need to pass all the mandatory field values then only it works fine. Check out whether you are passing all the mandatory field values.
    Regards
    Pavan

  • Songs skipping like scratched cd in iTunes 10.6 why and what is the fix

    Hi, I use my MacBook pro to play backing tracks for my live show. I am working in Greece in the outdoors at night. Since the beginning of the summer iTunes has been skipping like mad during gigs Not Good. I don't remember when I upgraded my iTunes but don't recall having the problem last year when I started using the MacBook. I have searched the net and have found many a kindred soul suffering skipping songs.
    What gives?
    What I have tried:
    1- I have disabled the sudden movenmt sensor thinking it might be a Bass Response issue. However, still does it.
    2- bought a DJ rack to elevate the computer thinking it might be a heat issue. Nope.
    3- got rid of all start up items, closed airport, netshred, etc.
    4- changed the setting on Perian from Dolby stereo to stereo, and then I uninstalled it. Nope
    5- I use the apogee duet live and I get skips. Tried it without the duet and it's worse.
    What I am running-
    MacBook Pro
    Lion X 10.7.4
    Processor- 2.66 Ghz Intel Core i7
    Memory- 8GB 1067 MHz DDR3
    1TB SATA HD
    I hope someone can help. I spent a lot of money for my MacBook and don't want to go back to the PC.
    Thanks
    [email protected]

    Hi, Clinton,
    Now I think that I have officially tried everything short of taking out the HD and replacing it..
    I have used the removable drive and still got the problem.. However, I noticed that the skipping only happens on my Backing Tracks and the same ones, which then told me that the tracks became corrupted. So I re-encoded 2 of the tracks using Garageband and Others I just replaced with new versions..
    It worked great for 2 gigs and I was chuffed to bits.. However, I needed the third gig to make it a go and then BLAMMO one of the re-encoded songs skips... My 4th gig I get a new addition to the skipping...
    Something is wrong and it is doing my head in.. Do you have any other suggestions aside from going back to my Cheapie Windows Notebook that never skipped?

  • Installed a new printer and one line on the top is skipped

    Appreciate your inputs.
    We have been using the 'Check Printing report' for quite a while; We recently installed a new printer and we see that the alignment has gone wrong.
    The checks are printing from one line below as it is skipping one line. Where do we adjust the setting so that the printing starts from the place where we want?
    Thanks in advance

    Hi
    Im no expert but I doubt its a template issue more likely to be the control escape sequence on the printer diriver set up. Check your printer manual and the current set up you have.
    Regards
    Tim

  • Can I Select from table skipping extents linked with lost datafiles?

    Hi~,
    I need your help to recover my database.
    I'm using oracle 9.2.0.8 at Fedora 3 with no-archive mode.
    and I don't have any backup.
    Last night, I experenced hard disk failure.
    I tried OS-level recovery, but I lost some datafiles of tablespace.
    anyway, I wanted to recover my database without data of lost datafiles.
    so, I issued "alter database datafile offline drop" and
    start oracle instance.
    But, datafiles were not removed from dba_data_files view and
    extents linked with lost datafiles were not removed from dba_extents view!
    Selecting query of some table containing extents linked with lost data files,
    I got "ORA-00376: file xxx cannot be read at this time" message.
    So, my question is that..
    HOW CAN I SELECT FROM THAT TABLE WITHOUT SCANNING EXTENTS LINKED WITH LOST DATA FILES?
    Thanks.

    Hi,
    Without being in archivelog and without backup, one can't do any sort of recovery. That's why backups and archivelog are so so important.
    The offline data file command never does actually drop the datafile. It merely indicates to the control file that now the said tablespace will also be dropped. This won't update any view that the files are not supposed to be used or shown to you anymore.
    This is what documentation says about the recovery of the database in the NoARch mode,
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osrecov.htm#i1007937
    You do need a backup in order to get those tables being read. Oracle doesn't have any feature which can offline/skip the missing extents for you and let you read the data without them.
    HTH
    Aman....

  • GRC 10 - XML de "Skipped NF-e" não disponivel para download.

    Boa tarde a todos,
    Instalamos o GRC 10 e fizemos um teste de SKIP de uma NF-e que foi rejeitada pelo próprio validador do GRC. O Skip foi aprovado e o status voltou para o R/3 corretamente, porém, ao tentar fazer o download do xml de skipped NF-e ele não está disponível no portal para download.
    Quando fazemos o Skip de uma nota que foi rejeitada pela SEFAZ, neste caso, tanto o xml que foi rejeitado como o de Skipped NF-e ficam disponíveis para download.
    Na versão 1.0 do GRC o xml de Skip está disponível nas duas situações para download, ou seja, algo está faltando no GRC 10 que está impossibilitando fazer o download no primeiro cenário apresentado.
    Alguém já passou por este problema?
    Desde já agradeço,
    Juliano Costa

    Ainda não abri o chamado porque antes disso gostaria de saber de vocês se realmente isso não é algo que fosse um problema de configuração, etc.
    Irei abrir o chamado conforme orientação.
    Obrigado a todos,
    Juliano Costa

  • Skip NFE com erro de validação

    Oi tudo,
    Tenho uma pergunta sobre a funcionalidade de saltar uma NF-e com erro de validação.
    Eu apliquei notas SAP
    1298283 - NF-e: Passar para a NF-e com erro de validação
    1376324 - NF-e: Passar para a NF-e com erro de validação
    1376901 - Passar para o erro de validação
    Mas ainda assim o processo não funciona completamente.
    Em nota 1298283 do texto;
    Os novos valores definidos no J_1BNFE_MESSAGE_TYPE domínio deve ser usado
    do sistema de mensagens ao chamar as funções interface de entrada
    u2022 J_1B_NFE_XML_IN ou
    u2022 J_1B_NFE_XML_IN_TAB
    de ERP para corrigir o ajuste siga em stati do processo de
    NF-es com erros de validação, dependendo da resposta da SEFAZ.
    NF-e autorizada para o cancelamento são cancelados e da etapa do processo é
    definido como C (completo).
    Eu tenho definido os novos tipos de mensagens de acordo com as instruções de nota, mas como estes podem ser implementados e ser utilizado em GRC - sistema de NFe?
    O tipo de mensagem autorizado para pular com o erro de validação em GRC agora é '5 ', mas deve ter o valor "8" de acordo com notas acima.
    Incluir / XNFE / DB_CONSTANTS em GRC não contém os novos tipos de mensagens
        8 Autorização para Passar uma NF-e com erro de validação
        9 Rejeição Passar para uma NF-e com erro de validação
    Alguém sabe como o resolver isso?
    BR
    Honey

    Olá Fernando,
    Obrigado pela sua resposta!
    Temos também notas 1296515 e 1252567 instalado.
    O teste que eu fiz antes de começar a depurar é que eu deliberadamente criada uma NF-e com um valor em falta, de modo que a resposta do GRC seria erro de validação. O exigido quando eu pressionar "Definir Número de NF-e" processo passo status muda para "8" = erro de validação interna do sistema de mensagens. Enviar novamente!
    Agora eu enviar um pedido de pular para esta NF-e e as alterações do estado de acção para "Em processamento".
    Em GRC Ignorando o pedido for aprovado, mas o processo nunca é completado em R / 3. No log eu posso ver J1B_NFE007 mensagem de erro;
    Nova SCS-status "Rejeitado & Skipping (Cancelar) Autorizado" não é permitida para SCS anterior "Erro de validação e Skipping solicitadas".
    Quando a depuração vejo que isso acontece em função J_1B_NFE_CHECK_NEXT_SCSSTATUS módulo na declaração
    WHEN c_authorized_for_skip.                                                                  "1152140
          IF is_acttab-scssta NA '3'.                                                                  "1152140
            PERFORM get_domain_text USING c_scssta                                   "1152140
                                          i_newscsstat                                                      "1152140
                                          c_scssta                                                             "1152140
                                          is_acttab-scssta                                                 "1152140
                                    CHANGING gv_msgtxt1                                            "1152140
                                             gv_msgtxt2.                                                     "1152140
                                                                                    "1152140
            MESSAGE e007 WITH gv_msgtxt1        "i_newscsstat                    "1152140
                              gv_msgtxt2        "is_acttab-scssta                                 "1152140
                              RAISING scs_status_not_allowed.                                "1152140
          ENDIF.                                                                                "1152140
    Neste ponto, o valor em is_acttab-scssta igual '9 '.
    Lamento, mas eu não entendo o significado de "V" na descrição:
    (NF-novo e rejeição RESET + + V + + V + SEND Skip Request)
    Eu testei:
    1. Novo NF-e
    2. Definir NF-e número & enviar às autoridades
    3. Rejeição devido a erro de validação
    4. Enviar pedido de cancelamento de NF-e
    Existe algum outro procedimento que eu devo testar?
    Se eu tentar redefinir a NF-e após receber a primeira rejeição devido a um erro de validação, R / 3, não me permitem enviar pedido de cancelamento.
    Eu penso que este comportamento é muito estranho, já que temos seguido as recomendações na execução notas SAP.
    Você recomendaria o próximo passo é registrar um bilhete em relação a este?
    obrigada &
    atenciosamente!

  • Is it possible to skip the screen in BDC using IF statement.

    Hi Friends,
    I have written a report using BDC for tcode CO11 thru recording using CALL TRANSACTION.
    Case 1:
    If I go to transaction CO11 (screen number 100) and give the  order number which has more than 1 operations to be partially confirmed and press ENTER a pop-up screen (screen number 140) appears where in I need to select the operation number and after selecting the required operation number it automatically takes me to another screen (screen number 150).
    Case 2:
    If I go to transaction CO11 (screen number 100) and give the  order number which has only 1 operation to be partially confirmed and press ENTER it directly takes me to screen 150 skiping screen 140.
    When I enter the order number which has more than 1 operations to be partially confirmed on my selection screen, my code is working fine as needed.
    But, when I enter the order number which has 1 operation to be partially confirmed on my selection screen, it is giving me error in my BDCMSGCOLL saying that the screen 140 doesn't exist.
    Is there any way, Can I skip screen 140 using IF statement?
    My thoughts:
    1. calling screen 100.
          After calling screen 100, I have put the pop-up operation numbers in an ITAB.
          DESCRIBE table lines ITAB <variable>.
          At NEW <order-field>.
          IF <variable> = 1.
    2. calling screen 140. "I need some help here to skip the screen 140
                                        " Will this logic work?
          ENDIF.
          ENDAT.
    3. calling screen 150.
    Rest everything is working fine.
    Will my above logic works correctly? I would appreciate if someone could help me with this.
    Thanks in Advance.

    Hi,
    Try something like this:
    1. Call Screen 100.
    Check if screen 140 needs to be called depending on your custom logic. Lets say you populate a variable as 'X' if it needs to be called.
    Then write:
    if valiable = 'X'.
      Call screen 140.
      Enter Screen 140 details.
    endif.
    Call screen 150.
    Here the 'Call Screen' is nothing but the code you extracted after BDC recording.
    Thanks.
    Ravi'

  • Native Music Application Stuck on Skip

    I looked for a better location to start this discussion, but I can't seem to find a place already started to discuss the native music app that comes with the iPhone.
    While there are applications listed such as iTunes U, iBooks, iPhoto, etc under iOS apps, the music app is not there.
    Moving on to my predicament:
    When the new ios7 came out, one feature I was excited to start playing with was the new iTunes Radio. At first it worked, I added a chanel, listened to it, thumbed up a couple songs, etc.
    The next day I go to continue listening to my added channel. It will not play. Instead, it scrolls through (right to left) song name after song name, not stoping no matter what I press. I tried restarting app and phone alike. This was the first day...I gave up and tried a day later. Now it scrolls through and stops after 6 songs (as though I myself were skipping the songs and it had reached its limit.
    It does this every time I add a station, and if I play a station without adding it, it plays the first song and then skips by 6 song titles incredibly fast.
    I wanted to bring this up here in case it was happening to anyone else.
    Thanks for reading, and thanks in advance for any recomendations and/or feedback.

    Thank you Rod for the clarification.
    As an added note. I finally got a response from Oracle Support regarding my question and posted below:
    "Yes. You can skip to section 7 not step 7
    Correct one is section 7. as in Note - 417558.1 (but internal note,not published)
    It should be
    If you have only migrated your existing 4i End User Layers to Discoverer 10.1.2
    without patching new eex files, you can skip the remaining steps in this
    section and proceed with Section 7 ( as in Note - 417558.1 )
    There was a remark on the Note 313418.1 to change this.

  • How to Skip SSO Username and passowrd.

    i just installed Oracle Application Server .2.0.2 on Windows 2003.
    Before i can view report i have to give SSO Username and password i want to skip this step and report can be executed directly from my Forms.
    i have already commented the SSO lines from my formsweb.cfg file. as shown below
    #ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    #ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    #ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    #ssoMode=false
    Thanx in advance

    I assume you are not using Oracle's Portal or otherwise already using OID as an SSO server.
    There are two big steps you'll need to do this
    Enable and configure SSO for Forms
    http://www.oracle.com/technology/sample_code/products/forms/viewlets/10g/frmsso/frmsso_viewlet_swf.html
    Enable WNA for OAS : Read Metalink doc 345025.1. It is not a simple process.
    WNA will log into the SSO server via Kerberos. When the Forms connection fires off, it is from the Forms server, so Kerberos is not an option. Instead the Forms server will use a Resource Access Descriptor (RAD) to retrieve username/password/sid logon information from the OID server stored in the OID SSO account that your authenticated into via WNA
    If you are already using Portal & have users sign, then WNA is not needed & just go with the SSO for Forms.

  • IOS8.1 Music App won't play "Skip When Shuffling" songs at all

    iTunes has two options for skipping a song during shuffle:  the first column with the tick box (let's call this the "Play Column"), and the "Skip When Shuffling" tick box in the Options tab of the song info.
    For songs in iTunes where the Play Column is unticked but Skip When Shuffling box is also unticked, this works as it should when synced to the iPhone:  ie the song doesn't come up in shuffle, but it can still be selected & played directly on Music app.
    But when the Skip When Shuffling box is ticked (regardless of whether the Play Column is ticked or not), the song can't even be selected & played directly on the Music app.  When selected, it just picks another random song from my playlist to start shuffling from.
    It's like the Skip When Shuffling option overrides the Play Column (no idea why iTunes should have two different options to do the same thing anyway), but has also now stopped the App from playing the song at all.  I've tested this by unticking the Skip When Shuffling box in iTunes & re-syncing to the iPhone, and the Music app now plays the songs when selected directly.
    My iPhone 4S using iOS8 always played these songs with no problem, so this is a new issue/bug/feature with either iO8.1 or the app in the iPhone 6 itself.

    What kind of Music App are you using?
    Maybe some Apps they have bugs when using iOS7.
    I'm using MVDIO and zingmp3, it's still okay here.

  • IPhone 4S skipping songs/won't play some

    I recently updated my iPhone 4S, in doing so, I had to reset it and restore it from my back up. Now that I've done that, when I'm playing music from my iTunes, it wil skip the most recently added songs and won't play them at all if you try and click on them manually to play them. It shows them as on my phone in my iTunes on the computer, but won't play them. HELP! Alot are for my wedding and I can't figure out how to fix this!!

    Hi, In my case I had a memory space problem. Some songs were on the phone and some not.
    - Gain space on your phone (copy alle the photos to hard drive before, then delete them)
    - Sync your phone again with iTunes, he will copy the songs on your phone

Maybe you are looking for