Ask a questionAsk a question
 

AnswerCustom FormLogin.xml

  • Thursday, November 05, 2009 8:40 PMThe SCE Group - Bryan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am trying to create a custom FormLogin.xml file to do credential forward into an oracle portal web application. I am not having any luck in getting this to work and was curious to know if anyone else has done this. If so, is there any way someone can point out the steps to do this? I have read the Advanced User Guide but it's not sinking in. 

Answers

  • Thursday, November 05, 2009 10:24 PMMark Resnik - MBR Security Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Whatever request actually results in teh RWS replying with the form is what you should put  as the URL.   Use httpwatch or silimar from the from client side and you should be able to see which url reults in a response including the form.    If you can;t figure it out, start with /.* and then try to get more specific once you know the formlogin is kicking in..

    Look for a form tag in that response.   Pretty likely it has a name attribute.  Use it if so, I guess leave blank if not.  The URL and the names of the form fields for username and password are typically the most important two values.  (well and the application type)

All Replies

  • Thursday, November 05, 2009 9:24 PMMark Resnik - MBR Security Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    DOne it dozens and dozens of times.   Copy the FormLogin.xml from the FormLogin directory to teh CustomUpdate directory.  Delete out all but one of the custom formlogins, say the one for "AllDomino".   Use this as template and just adjust the application type, url, & field names based on what you know about teh form for the application in questions.  
  • Thursday, November 05, 2009 9:43 PMThe SCE Group - Bryan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks! I think I got the basic idea of how it's done. Now I am running into some problems with specifics: 
    1) The application URL is this: 
    https://<server>:8016/pls/portal
    ... but, when you hit that URL, you are redirected to the following for login:
    https://<server>:8014/sso/pages/login.jsp
    The problem is that I can't just put that 2nd URL in the IAG as the app URL as direct access to it is not allowed. So, the question is what URL do I use for my primary host URL? Currently, I am using [/sso.*] but I don't see the IAG making any attempt to throw the credentials in there. 

    2) The form on the oracle portal doesnt have a name. Does that mean that I should just leave the <NAME> tag empty? 

    Thanks for your help. 
  • Thursday, November 05, 2009 10:24 PMMark Resnik - MBR Security Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Whatever request actually results in teh RWS replying with the form is what you should put  as the URL.   Use httpwatch or silimar from the from client side and you should be able to see which url reults in a response including the form.    If you can;t figure it out, start with /.* and then try to get more specific once you know the formlogin is kicking in..

    Look for a form tag in that response.   Pretty likely it has a name attribute.  Use it if so, I guess leave blank if not.  The URL and the names of the form fields for username and password are typically the most important two values.  (well and the application type)