Newbie: Login page how to ?

Hello,
How do I create a login page in apex and link it with some custom defined db table of user/pswd?
Thanks,
John

Follow the steps:
1. Select Custom authentication (+built 'from scratch' option+) [Shared Components>Authentication Schemes>Create]
2. Let everything as it is, but change only one place (Credentials Verification Method:) Select "Use my custom function to authenticate." And type as "return auth_on_custom;"
3. The function auth_on_custom can take two input parameters (username, password) and returns boolean.
4. Finallise with 'Create Scheme' and you are done.
Make sure you have the function ready in database.
Hope this helps.

Similar Messages

  • Firefox doesn't open facebook's login page,how can I do?

    from a day to another,firefox doesn't even open the facebook's login page!I don't know what to do!! it opens all the other websites ,but not facebook!
    == URL of affected sites ==
    http://www.facebook.com

    Hello Laura.
    Does this also happen on other browsers? If it's only Firefox, try clearing your cache: http://support.mozilla.com/en-US/kb/How+to+clear+the+cache
    If that doesn't work, try deleting your Facebook cookies (no data will be lost): https://support.mozilla.com/en-US/kb/Deleting+cookies
    If that doesn't help, it's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.

  • Login page how

    I know...
    Many people have posted these questions over and over again, but i'm a relatively new iWeb user.
    Most of all it's because i can't get the **** page to work.
    Is it possible to make such a page?
    -nfxnru

    Not really no.
    If you want to do something like this, then you would need to get hosting with either GoDaddy or HostExcellence that offer secure page options and take it from there.
    iWeb is not set up for something like this and you won't be able to do this if you are publishing to MobileMe either.

  • After a minute or so of not moving the mouse, the screen will go to a blank desktop and then to the login page, how do I stop that from happening?

    this happens whether I am online or offline. I could be playing a game and if I stop for a minute or so, it will do the above.
    HELP it is making me nuts!

    The easiest way is to use the Status-4-Evar add-on. With it you can choose to not display any of the status messages, or display them in the add-ons bar or location bar instead.
    https://addons.mozilla.org/firefox/addon/status-4-evar

  • How to change header and footer in login page in oracle apps r12

    Hi all,
    how to change header and footer in login page in oracle apps r12 and login button background color, please help me
    thanks
    saran

    how to change header and footer in login page in oracle apps r12 and login button background color, please help meTips For Personalizing The E-Business Suite R12 Login Page (MainLoginPG) [ID 741459.1]
    How to Personalize Login page in R12? [ID 579917.1]
    R12 Login Page: How to Personalize the Logo ? [ID 849752.1]
    Thanks,
    Hussein

  • How to init the login page in JSF?

    I should receive the cookie data, if the cookie exists, then redirect to another page, and if not, just turn to the login page.
    how can i do all these init operation in JSF?
    P.S maybe my English is poor, i am sorry.......

    Just implement a Filter which listens on /*. No need to do this simple redirection task in JSF.

  • How to edit webvpn login page with 7.2 version in ASA5510?

    Dear guys,
    As a solution for business, I have deployed webvpn with 7.2 version in ASA5510(Version 8.0 cannot be used in this case). Could you share some experiences in customizating login page of webvpn manually(not use ASDM)? for example, if I want to add some system tips or links in login page, how to do?
    Appreciate your kindly help and suggestion.
    Best Regards,
    David Wu

    Customizing login page of webvpn with 7.2 version of ASA is easy to be done and the following Url contains the dcument for customizing the webvpn login page for ASA version 7.2:
    http://www.cisco.com/en/US/docs/security/asa/asa72/configuration/guide/webvpn.html#wp1031868
    This document contains the step-by-step procedure for customizing the login page.

  • Create a login page that does not link to database

    Hi,
    I am really new to muse and would like to seek some help....sorry if any similar questions have been asked.
    I am making a website interface for my assignment, and i need to create a login page,
    how can i make a text box for entering the login ID and the password? and how can i add a login button?
    By the way, this does not have to link to a database, it is just  a template........so the solution using codes may not help i guess

    Hi,
    check this thread Re: Can I create a login/password protection in Muse for a HTML5 page or two?

  • Changing the default layout , theme for the default login page

    Hi All,
    I am new to the Portal development.
    I would like to change the default themes , and layout of the portal login page,
    How to do it. Required to Add or display  some News or FAQ's to the  unauthenticated users before login itself.Can any body tell me , what is the procedure, How to implement these above functionality
    Regards
    Vijay

    Hi,
    Now that the anonymous access solution has been provided, you may like to refer to these links for changing the logon screen and the themes.
    Talking about the login page, it depends on what kind of customization do you want to do.
    1) Do you want to change it entirely ?
    2) Or you want to keep the same layout but change the images ?
    Incase you wan to change it entirely, then refer to this weblog : Modifying The Logon Par(or customising the Logon Screen)
    And incase you want to change just the images, then go to System Administration -> System Configuration -> UM Configuration -> Direct Editing and change the following paramaters:
    ume.logon.branding_image
    ume.logon.branding_text
    To change the themes and applying them, refer to this document:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8d9d9c90-0201-0010-e9a4-ed82031e1908
    Hope this helps.
    Cheers,
    Sunil
    PS: Reward points for helpful answers.

  • Problem closing Skillbuilders modal page when using Login page 101

    Trying to setup website with the Login page opening in a modal window instead of normal Apex window.
    Have a Global Page (0) which has a Login button defined - that has a dynamic action defined on it
    Login Clicked
         True
              SkillBuilders Modal Page(2.0.0) [Plug-in]
    Fire When Event Result is True
    Dialog Title:  Login
    URL Location:  Statically Defined
    Static URL:  f?p=&APP_ID.:101:&APP_SESSION.:::1:::
    Auto-close On Element Selector:  div#success-message
    Created a branch page 102 called Close Modal
    Have tried putting the following javascripts into Page 102 and also without - but cannot get the modal window to close out.
    Dynamic Action on page 102  Close Modal Window - Event is On Page Load.  No condition set
    Execute Javascript Code
    Fire When Event Result is True
    Fire On Page Load - checked
    Code: 
    javascript:parent.$(parent.document).apex_modal_page('close');
    Any ideas which might help ?
    Thanks - Jonathan

    I can't say. I have not successfully tried this in any version of Apex (until just now).
    Ignore my suggestions regarding page 0 from earlier.
    If the user is on a page in your application and they have an invalid session, when they get that valid session in the login page how are you going to pass along that information to the parent/calling page? This just doesn't seem to be only about the authentication scheme.
    A simple test I set up right now has me at page 1. I click a button and I get the login page modal. I login and the modal window displays a logged in version of page 1.  But if I manually close that modal window and then refresh page 1 in the main parent window, I am still not logged in. A little further digging and I see it is in part due to the URL and the session id within.
    If my URL is http://apex.oracle.com/pls/apex/apex/f?p=18025:1 then this refresh will not work.
    If my URL is http://apex.oracle.com/pls/apex/apex/f?p=18025:1:123456 and 123456 is not a valid session then this refresh will not work.
    You'd need to follow Jorge's suggestion to use some javascript like top.location.href="&FSP_AFTER_LOGIN_URL." to set the parent window to use the correct url containing the session id.
    You would have to control when that code is placed on a page. I have a working example now at the above URL that uses a dynamic action on page 0.
    Event = Page Load
    Condition = Page != 101
    Action = Execute Javascript Code
    JS Code =
    if (window.location != window.parent.location)
      parent.location.href="&FSP_AFTER_LOGIN_URL."
    So if I am loading page 101 do nothing. If I am loading another page, check if the parent and iframe are different source locations (indicating this is an iframe because even a non-iframe window will have a value for parent.location) and if so then set the parent page location to that of the iframe. In effect the redirect that happens in the modal is transferred to the parent.
    This will break any other modal page instances you use though. But you could add them to the condition of the dynamic action on page 0 so you have something like "page not in 101, 1020, etc."
    It seems to work but it feels like a hack to me. Perhaps a specific template for the modal window with some version of this javascript would at least keep you from running this script on every page load.
    Greg

  • NEWBIE - creating a simple JSP login page

    Hi guys,
    I am really really stuck, and I would be so grateful if you guys could help me in any way. I am creating a simple application, but as part of the application i have to create a login / logout sub-application. It needs to verify the username and password by looking up a database in mySQL. I've had a look around on the internet to see if there is any simple way of doing it, but i can't understand most of it. I'm really new to JSP and only know how to do simple statement like <c:choose> and stuff like that. If anyone can help me in any way to create as simple a login / logout application that verifies the username and password from a database, I would be ever so grateful, thank you!
    Just to let you know, the security-roles and all that stuff together with the <tomcat-users> stuff has already been set up.
    I found this code by the author brain.compression, which seems to very useful, I've not tried it out yet, but was wondering, if somebody could help me split the code up into the separate JSP pages i will need, as I am not too sure which bits of the code need to go on what pages.
    Thank you to anyone that can help me out and thanks for brain.compression for providing this code. I'm sorry for posting this in a forum not related to JSP, its just that I am a complete newbie to JSP and nobody in that forum is helping me.
    brain.compression's code starts here...
    First for the page you are requesting you would need a verify if the user is logged in or not:
    <c:if test="${existingUser==null}">
    <jsp:forward page="login.jsp">
    <jsp:param name="origURL" value="${pageContext.request.requestURL}"/>
    <jsp:param name="errorMsg" value="Please log in first" />
    </jsp:forward>
    </c:if>
    This will redirect you to the login page:
    <font color="red">
    ${fn:escapeXml(param.errorMsg)}
    </p>
    </font>
    <form method="post" action="authenticate.jsp">
    <table>
    <tr>
    <td>Please Enter the following information to log in:</td>
    </tr>
    </table>
    <table>
    <tr>
    <td>User ID:</td>
    <td><input name="userid" value="${fn:escapeXml(cookie.userid.value)}"></td>
    </tr>
    <tr>
    <td>Password:</td>
    <td><input type="password" name="password" value="${fn:escapeXml(cookie.password.value)}"></td>
    </tr>
    </table>
    After that you have to verify with your DB if the login info provided is correct:
    %-- Removing any scoped variables --%>
    <c:remove var="existingUser" />
    <c:if test ="${empty param.userid || empty param.password}" >
    <c:redirect url="login.jsp">
    <c:param name="errorMsg" value="Please enter a User Id and Password." />
    </c:redirect>
    </c:if>
    <%-- Checking if User Id and Password are valid --%>
    <sql:query var="anyvariable" dataSource="${data}">
    SELECT * FROM table WHERE user_id = ? AND pass = ?
    <sql:param value="${param.userid}"/>
    <sql:param value="${param.password}"/>
    </sql:query>
    <c:if test="${anyvariable.rowCount == 0}">
    <c:redirect url="login.jsp">
    <c:param name="errorMsg" value="Invalid User Id or Password"/>
    </c:redirect>
    </c:if>
    Also can somebody tell me if i am right. Do I need to create a page called login.jsp to put the actual form on, and a page called authenticate.jsp to verify the username and password are correct? Finally i see that brain.compression has used a variable called existingUser but has he actually declared it anywhere. Thanks again for anybody that can help me out!

    i am still a jsp noobie but i have done some applications using html javascript php asp and other languages. What you want to do is take the data from the login form then compare that to the db see if it actually exist and has the correct info. From there you want to write a cookie to the users computer to hold the username and password, which will be checked for at the begining of every page verifying it in the database. This is how i have done password verification in the past and it works fairly well and unless your server gets hacked your pages should be secure.

  • How to change the behaviour of the Cancel-Button of SSO-Login-Page (Forms)?

    Hi Folks,
    we use SSO-Login to authenticate users using Forms. How do I change the URL which is opened when a user clicks on the cancel button on the SSO Login page?
    In the formsweg.cfg file there is a parameter named ssoCancelUrl, but if I define it, it doesn't work anyway. Seems like it has something to do with ssoDynamicResourceCreate, but I don't exactly understand what.
    Can't I simply change the URL which is opened (globally), when a user hits the cancel button on any SSO-Loginpage.
    Thanks in advance.
    Regards.

    Exactly this does not work! Please watch my settings:
    Global Setting in formsweb.cfg
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=false
    # 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
    App-Specific settings in formsweb.cfg
    [proz]
    envFile=proz.env
    form=proz.fmx
    title=proz
    separateFrame=true
    width=1280
    height=960
    ssoMode=true
    ssoDynamicResourceCreate=false
    ssoCancelURL=http://machinename:port/zugangsportal/
    otherparams=useSDI=yes P_SERVER_URL=machinename:port P_REP_SERVERNAME=machinename_proz ZP_TARGET_ID=%ZP_TARGET_ID%
    When I now access http://machinename:port/forms/frmservlet?config=proz I got redirected to the SSO-Login-Page but the Cancel-Button still links to Middletier Home. Why?
    Regards.

  • My Macbook Pro is frozen on the login page with a white screen and only my login picture. How do I fix this? I can't turn it off and I closed it and let it charge but it's still not working.

    My Macbook Pro is frozen on the login page with a white screen and only my login picture. How do I fix this? I can't turn it off and I closed it and let it charge but it's still not working. It's only 3 months old and was working perfectly fine 30min before this happened.

    Hello Kierasully,
    I would start your troubleshooting with the article below for issues of not being able to log in to your Mac. Start with booting up in to Safe Boot as well as resetting PRAM on your Mac. If that does not work, then verify the hard drive with booting to the Recover HD and go to Disk Utility to verify it.
    Mac OS X: Gray screen appears during startup
    http://support.apple.com/en-us/ts2570
    Regards,
    -Norm G. 

  • When I choose a photo to share on face book a drop down box appears with the message, Face book didn't recognise the information you entered for the account this is my Face book login information I use to access my face book page how can I overcome the b

    when I choose a photo to share on face book a drop down box appears with the message, Face book didn't recognise the information you entered for the account this is my Face book login information I use to access my face book page how can I overcome this.

    Delete abd re-enter your Facebook account information jnder the accounts tab in the iPhoto preferences
    You may also want to take a look at the user tip for Facebook problems
    LN

  • How can I open the EP login page in the same pop-up window?

    is it possible for me to using / only one window(Browser) pop-up to EP Page(Login or iView...).
    In the firs general html page I create a EP login page link action[eg. "window.open('url', 'target_name')"],
    but always launching new pop-up window(Browser).
    How can I open the EP login page in the only one window(pop-up)?
    Could anybody help me by giving suggestion and codding?
    Thanks,
    jin.

    Hi,
    if you want to redirect the root of portal system (http://portal/) to the login page, edit the
    file and change the body tag as follow:
    \usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\index.html
    <body onload="location.replace('irj/portal' + document.location.search)"></body>

Maybe you are looking for

  • Dump while executing SAP Script

    Hello, My program is throwing a dump while executing this script. Request you all to please help me in removing this. /E   MAIN_DATA /:    BOX FRAME 10 TW PA To,  ,,Invoice No. & Date,,  &JVBRK-VBELN&  &JVBRK-FKDAT& PA M/s  &JKNA1-NAME1(35)&,,Your P.

  • Converting word 2003 document to pdf

    I need to convert a word document to pdf to load to the lulu web site which is a book publishing site. They have specific settings like embedd fonts but no subset embedding. For images use zip compression and 300 dpi. I have set all of these in the d

  • How to delete pictures that downloaded from laptop?

    How do I delete pictures that downloaded from laptop? Thanks :-)

  • COOIS - Saving Object Overview WIP Status layouts

    COOIS - Would like to be able to save the layout of an Object Overview - WIP Status report.  There is currently NO icons for "choose layout" , "export" or "views" available while in Object Overview.   I need to be able to create a report showing the

  • Is there a way to import a library to a existing library?

    Hellow, Is there a possibility to import a library to a existing library? I have created a new library from a book buth I want to transfer all the photo's and the book to the "master" library. Thanks!