Problem creating login page in portal webapplication

Hi all,
I have been working with ADF for quite some years. Now, I have found webcenter portal on my path.
I'm telling you this is square one all over again.......trying to figure out why the most simple things do not work like they should. like this one
I'm on a project that has to build a new portal application. when you start it, you should be taken to a page where you have to log in.
This is the only public page in the portal app. after logging in, you will see the start page of the portal app. From here you can go to other pages through a menu tree on the left side of the page (=within the page template).
Anyway, I seem to no even get this to work........
I have made two pages. a loginPage and a landingPage. I know you get a login.jspx and a home.jspx for free, but I want to make my own since I had problems attaching my custom pagetemplate. Some other thing that doesn't work........
Anyway, I have made these two pages within the faces-config.xml I have tied the login_success action to my landingPage and the logout_success to the loginPage. I have also altered the login.html to redirect to my loginPage.jspx instead of the login.jspx On the loginPage Ideally, I would like to drag a login taskflow with a page-fragment where I have two inputfields and a button, which are connected to the o_w_s_l_LoginBackingBean. But that is for later, since it doesn't even work when I have put those two inputfields and button directly on my loginPage.jspx
I have tried several different configurations using both the pages.xml file and the jazn-data.xml, but to no avail.
What am I doing wrong? in the pages.xml, what should be the one with home as it's id? should both the loginPage and the landingPage be in there?
Even when I manage to get the loginPage first at startup, the button (who's action is pointing to the doLogin of the o_w_s_l_LoginBackingBean) does nothing. Also nothing in the logs.
Can anyone please tell me how I can get this to work?
thanks a lot in advance.....

Hi fisherman,
custom login page can be created and it can be used in your custom template by simply creating your own login class :o_w_s_l_LoginBackingBean instead of using the default one.
otherwise the second type of solution is :
create a subform and write the following type of code in your jspx/jsff page.
<af:subform id="sub_id">
<af:panelFormLayout id="pt_pfl1" >
<af:panelGroupLayout id="pgl1" layout="vertical" >
<table>
<tr>
<td width="50%">
<af:activeOutputText value="username"
id="aot199"/>
</td>
</tr>
<tr>
<td width="50%">
<af:inputText id="pt_it1" simple="true"
value="#{o_w_s_l_LoginBackingBean.userName}"
/>
</td>
</tr><tr>
<td width="50%">
<af:activeOutputText value="password"
id="aot198"/>
</td>
</tr>
<tr>
<td width="50%">
<af:inputText id="pt_it2" simple="true"
value="#{o_w_s_l_LoginBackingBean.password}"
columns="30" secret="true"
/>
</td>
</tr>
</table>
</af:panelGroupLayout>
</af:panelFormLayout>
<af:spacer width="3" height="3" id="pt_s2"/>
<af:panelGroupLayout id="pt_pgl14" layout="horizontal" halign="end" >
<af:commandButton id="pt_logincb"
action="#{o_w_s_l_LoginBackingBean.doLogin}"
>
</af:commandButton>
this is a sample code,may be some errors are present.but it should work definity if you mention the login success page in faces-config.xml.
Hope ,it will help you.
Regards,
Hoque

Similar Messages

  • How to get rid of the Login page in Portal?

    Hi Guys,
    I have a newly developed intranet portal project for my company which does not need login no more. I hope you can help me how to get rid of the login page in portal which is I know in every application you create, there should be a login. Is this possible that I can just simply type in to the URL address bar my application then it will no longer ask for any logins? Please help! Many thanks!
    Russel

    Hi Russel,
    You can give public access to pages, applications etc. Users won't need to supply a username/password then, while you still can hide some of the pages to authorized people.
    Check the access tab for pages and the manage tab for applications.

  • SAP brand Image change in Login Page of portal

    Hi All,
    Currently we are using Portal 7.0 SP6 version.
    we have a requirement to change the SAP standard brand image in the login page of portal with the our customer logo,
    We have the only requirement to change the sap brand image ( which is -the person is writing something on standing- this is sap brand image-at left side of login page) in the login page, which we need to change to our customer image
    Please provide supported documents and links for the same then it would be great help to me.
    Thanks in advance
    Regards,
    PortalUser100
    Edited by: PortalUser100 on Apr 19, 2011 5:46 PM

    Hi Shanti,
    Thanks for your reply.
    Can we able to change brandimage of sap portal 7.0 login screen as mentioned below?
    Is it possible to change in the same manner?
    Go to the file path
    \usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com
    2. Open the folder
    a. com.sap.security.core.admin
    b. Navigate Till root folder through servlet-jsp/logon
    c. Inside the root go to Layout folder
    d. In the Layout folder there exists those branding images
    e. Replace the branding Image (Keeping the same name of ur image as that of the existing one ).
    3. Restart the J2ee engine and the Portal .
    are the above steps will work out to change just the brand image in the logon screen
    Thanks,
    PortalUser100

  • How to create wiki pages in portal

    Is there any way available to create wiki pages in portal? All the users logged in portal can be able to create the pages. The users can have the option to search for the wiki's.
                How can we achieve this? Help us to drive this.

    Hi Parvathy,
    Please check the blog in below to have an idea.
    Wiki Wiki World and Portals
    Please do not forget reward points for good answers...
    Regards,

  • How to Create HTML page from portal

    Hi
    I have a requirement to create html pages from portal.
    There will be an author who can choose document type as HTML
    and then he will write html codes on saving it should be saved as HTML doc in UCM.
    and publisher should be able to display it on portal(may be using content presenter).
    please help me in this. I know there is rich text editor task flow which can save a doc as doc file.
    and in spaces we have option of creating HTLM file but i don't know how to do it for my portal.
    Thanks

    A better way would be to create the page using approach in this blog:
    https://blogs.oracle.com/ATEAM_WEBCENTER/entry/content_presenter_cmis_complete
    That way the page can be edited inline and the html author need not upload html to ucm everytime.

  • Unable to create login page

    i m trying to create login page for oracle adf (HTML) but while compile the application i am getting below error message
    [01:58:01 PM] ERROR: Unable to create user "oracleadf". Reason: MBean invoke failed: weblogic.management.utils.InvalidParameterException: [Security:090282]password cannot be null
    i m using below reference
    http://www.youtube.com/watch?v=C14FmuhTt8I
    please help me out.

    Hi arun,
    yes i provided but i found one strange this,
    when i entered my password in password then in the confirm password field.
    then confirm password field get frezzed then i click on save button after that both the password field get null automatically.

  • How to create Login page in Jdev11.1.1.4

    Hi All,
    can anyone please share how to create Login Page in Jdev11.1.1.4
    TIA,
    Bob
    Edited by: Bob on Feb 18, 2011 12:40 AM

    Bob,
    [url http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/adding_security.htm#BABDEICH]The documentation tells you how.
    John

  • Create login page using jsp, servlet  & Oracle

    hi,
    i need the sample application for creating login page using jsp, servlet & Oracle,can you please post one sample application.
    thanks
    sona

    See
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adfstrutsj2eesec.pdf
    Frank

  • There are two iMacs connected through same router in my house but one refuses to login to facebook and other logged in sites. local techies are bemused, I have just reinstalled OSX and still have the problem. Login page recycles and no errors reported.

    There are two iMacs connected through same router in my house but one refuses to login to facebook and other logged in sites. Local techies are bemused, I have just reinstalled OSX and still have the problem. Login page recycles, I get no further and no errors reported. Safari, Opera and Firefox. Deleted cookies and chain but still no action.

    If you have not already done so, read the router's user manual troubleshooting section and/or contact its customer service department/forums. 
    If still having problems, post back w/details of all you have tried to resolve the problems along w/the troubleshooting solutions that the "local techies" had you try.
     

  • Problems with the login page in Portal release 2

    Hi,
    I have problems logging into portal, release 2 on Linux. I get the following error message when clicking the login link:
    Forbidden
    You don't have permission to access /pls/orasso/orasso.wwsso_app_admin.ls_login on this server.
    This used to work until I changes the password for the orasso user using 9IAS Enterprise Manager. The portal home page works fine. I've tryed to run the ssooconf.sql script, but this didn't help me much.
    Does anyone have any solution to this problem?
    Kjetil

    That's just a display of the license agreement. The login page is always at:
    http://127.0.0.1:8000/apex
    (You have to put the directory on there)
    ~Jer

  • Adding !Doctype at top of page in login page of portal

    Hi Experts,
    I need guidance on how we can put <!doctype> tag on top of page ie before <HTML> tag.
    I have a requirement to build custom logon screens which i have build but when i put it in sap , it opens in Quirks mode in IE9 .
    I have seen that when i changed its mode to standard mode 9 then it looks perfect, also it works properly in Chrome and mozilla browsers,
    I have refer some SCN links which says to create java api to add <!doctype> , if we can follow the same then let me know it step by step as i am not that good in java.
    Kindly guide me ASAP .

    Hi Amit,
    This is not supported currently. See my answer in Re: doctype tag for external facing portal logon application (NWP 7.3) and also the referred SAP-Note.
    @Andrew: The question was about the login page, and this has not yet a portal desktop!
    Anyhow, even if Dani Cohens explanation made sense at that point in time, meanwhile http://service.sap.com/sap/support/notes/1713259 could be a good reason to change this. I would suggest to open an OSS message and ask for clarification, as with note 1713259 there is the possibility that also a HTML5 login page could be rendered successfully within a HTML5 portal.
    It should be the responsibility of the customer (and this can be stretched in the note about the HTML5 support for the login page) that if he uses an HTML5 login page for the portal that in this case the portal itself should be completely HTML5, too, as otherwise a login page within the portal might lead to issues.
    Hope it helps
    Detlev

  • Creating login page - direct users to a unique file based on unique id?

    Hello - I am in the process of creating a login page that will direct users to a unique page based on their unique id.  I would normally go to Server Behaviors>User Auth>Log In User, but that gives me the option of browsing only one file for all usernames and that's not what I need.  So basically, if the user logs in with the Caterpillars username, it takes them directly to the Caterpillars page and if they log in with the Butterflies username, it takes them to the Butterflies page (yes, it's a preschool with goofy classroom names!).  If it matters, I'm using MySql and the page is .php.  I tried to upload the php, but it gave me an error "the content type of this attachment is not allowed" - not sure what that's all about - sorry.
    Thanks in advance!!

    I was trying to do the latter - store the path for each individual file (catepillars.html, butterflies.html, etc) in the database with the login info.
    My problem is that I can't get it to direct to that page in the code.  My understanding is that I have to tell it in within this code <?php echo $row_MM_Username['login']; ?> that if username is caterpillars then they go directly to caterpillars.html...
    For your desire you don't need extra database fields, recordsets, session variables or anything else if you want to direct username to a static username.html file
    Instead use a dynamic META redirect in <head> of success.php page based on session variable for Username and append .html to the username.
    <META http-equiv="refresh" content="0;URL=http://example.com/<?php echo $SESSION['MM_Username']; ?>.html">
    You could add the show if users is logged in server behavior to success.php and wrap the meta redirect in it so that if the user is logged in then you are redirected to username.html or just add a restrict access SB so that you can not visit success.php (and be redirected to username.html) unless you are logged in.
    Does that solve your problem?
    It may have been easier to explain if your original inquiry mentioned that you wanted logged in users to go to a static .html page based on their username like username.html (sighs). FWIW I would still follow my original recommendation of using one dynamic file to display different users info on one page because as mentioned you only have to maintain one file vs. multiple static files.

  • Creating Login Pages - Server Behavior Issues

    Hello,
    I been trying to find a solution to this problem for this
    past week.
    I'm having issues with creating a login page. First, I get
    the page created with a username text box, password text box, save
    username checkbox, etc. Next, I add the server behavior for 'User
    Auth' - 'Login User'. Now..here's the problem. When I complete
    that, I get this error (SEE BELOW). Somehow the server behavior
    duplicates. I can't go on until I make one of them unique from the
    other. I tried every which way to delete it, but I can't. Any
    suggestions?
    SERVER BEHAVIOR ERROR
    "The server behavior panel cannot determine whether "Log In
    User" or "Log In User" is applied to your page. Please select Edit
    Server Behaviors and change one of the 2 behaviors to ensure that
    each is uniquely identifiable."
    NOTE: By using the "-" sign above the panel, I can't remove
    the duplicate.
    Also, when I create a login page, I do need to insert a form
    first("form1") and then place the username, password, checkbox
    inside that "form1" form I just created, correct?
    Thanks for all your help!
    Craig

    GD WebDev wrote:
    > Hi,
    >
    > I have set-up up a database based upon username,
    password and security access
    > level, the access level contains 3 types of groups.
    group 1, group 2 and group
    > 3.
    >
    > I've used the dreamweaver login user server behavior.
    Looking at this it only
    > allows you to go to one succeed page.
    > Because i have got three user access levels, i'm looking
    for it to send each
    > set of users from each access level to three different
    succeed pages.
    > In other words, group 1 is sent to one succeed page,
    group 2 is sent to a
    > different and group 3 to another.
    >
    > Is there away of doing this?
    >
    You could do a redirect on the page that they do land on once
    succeeded.
    My personal preference would be to make one page, and only
    show the user
    groups parts of the page that they are allowed to see.
    Steve

  • How to create login page for application with jheadstart

    Is there a how to section for jheadstart?
    After reviewing the jheadstart developer's guide. I am still left with lot of questions:
    1. how to create a login page to allow access to an application using username/password from a database table
    2. how to change the title graphic (jheadstart demo) to (my application)
    3. how to execute a query by hitting enter instead of a mouse clicking a button
    Any suggestion to search for such practical questions in this forum or other blogs and such is appreciated.

    Mahin,
    You can set Authentication Schemes for your applications. If you are using Application Express Authentication, you can create additional users from here:
    1. From Application Express home, click Manage Application Express users.
    2. Click Create to create users. To create end user, select "no" to developer and admin.
    - Christina

  • Customize login page in portal 3.0.8

    To customize the login page you can put an url which points to a database procedure in the table wwsso_ls_configuration_info$. The procedure will then use this url/database procedure to draw the login screen.
    In Portal 3.0.8 the table wwsso_ls_configuration_info$ doesn't seem to exist anymore. Instead there is a wwsso_ls_configuration_info_t table, but when I put an url in this table it doesn't work.
    Where do I have to put the url to make it work.
    arny
    null

    When you update the first table, second one (ending with _T) is updated automatically in Release 2
    regards

Maybe you are looking for

  • Issue with FCOST (no FCOST document created)

    Hi All, I have activated FCOST for Production Orders in the settings. A trigger point has been set for the last operation in the routing, which triggers the creation of a rework order when there is a rework qty. I confirm the rework order with CO11n,

  • Restricting Authorizations to Variants at User level

    Hi SAPians, Can you help me to know how can I restrict variants to be displayed for particular users.? Example: I am creating 5 variants in EMMACL transaction and give authorizations for the users only to particular Variants as below: 1. Variant1 -->

  • Safari 6 and proxy

    updated MBP to 10.8.2, and ISO6 on iPad3, safari on both device started having problems behind proxy server. 1st, 10.8.2 desnot remember proxy user name and password anymore. every time i put in my username and password, it wil be gone(got erased its

  • How to Debug the Driver Pgm and Smartform while Invoice Creation(VF01)

    Hello All, I've configured the Driver Pgm and Smart Form in NACE for the output type RD00. I would like to debug the Driver Pgm and Smartform while creation of invoice using VF01. I've set the break points in the Driver Pgm and Smart form, but its no

  • It doesn't recognize my ipod.

    I plug in the USB after opening Itunes and nothing happens. I run the diagnostic and everything is fine, but it says the ipod is not connected.