How to design a login page

Hi all,
I need to design a login page which will allow the user to enter his email id and password and upon authentication it will move on to the next page.
The email id and password are stored in the database.
Password is encrypted using SHA 512 algorithm
so what ever the user types has to match with the value in the database.
Is there any corresponding examples with i could make use of?
My JDEV version is 11g Release 2

For creating a custom login page, refer the following in developer's guide:
http://docs.oracle.com/cd/E14571_01/web.1111/b31974/adding_security.htm#BABDEICH
For using database tables as authentication provider, check
http://biemond.blogspot.com/2008/12/using-database-tables-as-authentication.html
Thanks,
Navaneeth

Similar Messages

  • Does anyone here knows how to create a login page thru JDBC?

    Anyone here knows how to create a login page which connect to database thru JDBC but not JDBC-ODBC bridge?

    Hi..pls you'll do people here a great good if you could explain yourself better..!
    Anyway if you are trying to connect to an Oracle Database you dont need the jdbc-odbc bridge as oracle provides a special driver for java applets/applications that is "the thin driver" and the "oci driver"..so if you are connecting to Oracle your connection will look like this:
    Class.forName("oracle.jdbc.driver.OracleDriver"); //not sun.jdbc.odbc.JdbcOdbcDriver
    Connection con = DriverManager.getConnection ("blah blah, blah");
    no need for the jdbc-odbc bridge.
    I hope i've answered your question.
    Thanks.

  • Designing a login page

    hello experts,
    i want to design a login page so that user could preserve his authentication during the session,although I've logic for this in my mind but even though i want use the best way given by you.
    where should i store login information to verify the the correctness of the login data entered by user, in database? or elsewhere?

    BalusC wrote:
    Depends on your requirements and environment. Which type of authentication are you using? HTTP based? Form based? Custom web form? Which type of users? JAAS? Realm? Custom?
    would you please explain in brief what is http based, form based.....?
    I still dont know which catagery my reqierement falls in .
    regards
    san

  • How to customize default login page of FBA

    Hi,
    I have implemented a SharePoint 2013 Portal with Form Based Authentication.
    I want to customize the look and feel of default login page.
    How could i do that?

    Hi,
    For your requirement, you can take a look at the three links below for a quick start:
    http://sivarajan.me/post/SharePoint-2013-Enabling-Custom-Login-Page-and-Mixed-Contents-Part-2
    http://blogs.msdn.com/b/kaevans/archive/2010/07/09/creating-a-custom-login-page-for-sharepoint-2010.aspx
    http://mysharepointsolution.wordpress.com/tag/custom-login-page/
    What’s more, The deafult login page is located here: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\IDENTITYMODEL\LOGIN\default.aspx, you can
    make a copy and modify it.
    Thanks
    Patrick Liang
    TechNet Community Support

  • Can anyone tell me how to do a login page?(Urgent!Please help me!Thank You)

    I need to do a login page by using the JSP...which as normal->capture the username and password in text box on webpage....then compare them in the record in a table called Users in a SQL Server Database...How can I connect to the database?is it like ASP which using the DSN as database connection?Or other thing. Then how do i write the jsp code?

    Hi..lots and lots of such questions have been asked in this forum...be patient and carryout a search in this forum and u'll be suprised at the results u'll get.
    use a simple phrase like "login page"
    Thanks.

  • How to: create a Login page with data tags

    hi, how could i create a jsp login page using the data tags.. and how to associate it with the other jsp pages that should be displayed in case of the correct insertion of the password .

    http://technet.oracle.com:89/ubb/Forum2/HTML/006025.html

  • How to submit the login Page by pressing enter key.

    Hi,
    I am using JDev 11g TP3,JBoss 4.2.1, Trinidad 1.2.4.
    I have a login page in my project.I have a Submit button on the page.After filling in the details when I hit on the enter key my page doesn't get submitted.The submit butto does not get activated.I have to click on the submit button separately to submit the page. How should I get this working??

    Hi,
    If your page is built using ADF Faces / Trinidad, you can specify the "defaultCommand" attribute on the form component setting it to the client id of the default command component. For example:
    <af:form defaultCommand="SubmitCommandButtonId">If it is pure html (may be in a <f:verbatim /> tag), then simply having a submit button will do the trick.
    Olivier
    Message was edited by:
    Olivier Lafontaine

  • 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.

  • How to create a login page....

    Hey guys....i am working on a erm applocation....i want to create a pop up login page for my application....please tell me how to do it....

    J2EE allows you to declaratively manage security. And you're mixing up two different things, either you want a dialog box for logging in ( known as BASIC authentication ) or you want a login page ( known as FORM based authentication ). Both are easily swappable with minimum effort.
    Take a look at Chapter 32 here: https://java.sun.com/j2ee/1.4/docs/tutorial/doc/
    And Google J2EE security example/ tutorial/ whatever, you'll find lots of resources. If you have specific queries, you can always post it here in the forums

  • Plz help! How to create a login page

    Hi!
    is there anyone who knows to create a login page from java

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>login1.html</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
    <SCRIPT LANGUAGE="JavaScript">
    function validate(){
    if(document.form1.text1.value.length<1){
    alert("Please enter UserName");
    return false;
    if (document.form1.pwdtext.value.length<3){
    alert("please enter the Password");
    return false;
    return true;
    </SCRIPT>
    </head>
    <body>  <br>
    <form method="get" name="form1" style="" action="./logdb1" enctype ="text/plain" onSubmit = "return validate(this);">
    <p> </p><p> UserName:    <input type="text" maxlength="20" name="text1"></p><p> Password:      <input type="password" maxlength="20" name="pwdtext"></p><p>            <input type="submit" value="Login" name="loginbutton">    <input type="reset" value="Cancel" name="cancelbutton"></p><p> ForgotPassword?     SignUp</p>
    </form>
    </body>
    </html>

  • How to create a login page for my client and a form so he can add/edit or delete information ?

    I have a real state client and one of the pages is to show all the houses he is selling with their information.
    And he wants to have a login page so that only him have permission to add, edit or delete a house from his web page.
    Also when adding a new house i want to have a form(kinda like craigslist, ebay,amazon) so he can chose type of house,price,adress,  floor, used , new, etc...?
    I hope i was specif enough.
    thanks

    If this was me, I would just create a log in page. Set the users default access level to 0 and then go into the database and set your's to 1. From there, I would have a page that only is accessable to people with a user access level > 0 .
    On this second page, make a table where you can insert picture(s) of the house, as well as information about the house. Have this page insert records into a database.
    Finally, you will have your house listing on a page that is a dynamic table, which populates itself from the database of housing pictures and information.
    It involves some database work, but with the built in functions of Dreamweaver, it is simple. I would suggest however, that you store links to the pictures in your database as opposed to storing the actual picture, but that's more up to you.
    By doing all this, you have made it so at any time, your admin, and only the admin, can log in, upload pictures and information about a listing, and have it go live to the site.

  • How to design a registration page

    Hi,
    I want to design a registration page for oracle EBS R12. Can you guide me to step by step docs for that?
    Thanks

    Hi ,
    For creating a page you can refer this link : https://blogs.oracle.com/prajkumar/entry/oaf_hello_world_tutorial
    For deployment , the link is : https://blogs.oracle.com/prajkumar/entry/deploy_oaf_page
    or
    http://www.focusthread.com/apps_tutorials/oa_framework/OA_Framework_Tutorial_Deployment_in_APPS_Environment.pdf
    There are many other you can go ahead and google for it .
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to make a Login Page with JFrame

    Hi,
    I have a to make a login page and to check the user name and password
    and also to check the user permission and then check the permission
    for which group...he had acess...
    like i had 3 tables...
    user table, permission tabel , and access tabel.
    so plz can any one help me out with some codes

    Hi Ranjan,
    Run this demo and if it is ok then we could move to tree view.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class Frame1 extends JFrame {
    private static final String text = "<html> <center><b><font size=+3>Central</font></b> <br><b><font size=+3>Manager</font></b></center> </html>";
    JPanel jPanel1 = new JPanel();
    BorderLayout borderLayout1 = new BorderLayout();
    JLabel jLabel1 = new JLabel();
    JPanel jPanel2 = new JPanel();
    GridBagLayout gridBagLayout1 = new GridBagLayout();
    JLabel jLabel2 = new JLabel();
    JLabel jLabel3 = new JLabel();
    JTextField loginTextField = new JTextField(20);
    JPasswordField passwordTextField = new JPasswordField(20);
    JPanel jPanel3 = new JPanel();
    JButton exitButton = new JButton();
    JButton enterButton = new JButton();
    FlowLayout flowLayout1 = new FlowLayout();
    public Frame1() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void login(ActionEvent e) {
    String login = loginTextField.getText();
    String password = new String(passwordTextField.getPassword());
    //validate login and password here. validity will be done by sending login/password to the server
    if (login.equals("ranjan") && password.equals("ranjan")) {
    System.out.println("login successfull");
    showTreeView();
    } else {
    JOptionPane.showMessageDialog(this,"Incorrect login or password","Error",JOptionPane.ERROR_MESSAGE);
    loginTextField.setText("");
    passwordTextField.setText("");
    loginTextField.requestFocusInWindow();
    private void showTreeView() {
    getContentPane().removeAll();
    TreeViewPanel treeview = new TreeViewPanel();
    getContentPane().add(treeview);
    getContentPane().validate();
    private void exit(ActionEvent e) {
    setVisible(false);
    public static void main(String[] args) {
    Frame1 f = new Frame1();
    f.setLocation(200,200);
    f.pack();
    f.show();
    private void jbInit() throws Exception {
    jPanel1.setLayout(borderLayout1);
    jLabel1.setHorizontalAlignment(SwingConstants.CENTER);
    jLabel1.setText(text);
    jPanel2.setLayout(gridBagLayout1);
    jLabel2.setText("Password:");
    jLabel3.setText("Login:");
    exitButton.setText("Exit");
    exitButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    exit(e);
    enterButton.setText("Enter");
    enterButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    login(e);
    jPanel3.setLayout(flowLayout1);
    flowLayout1.setAlignment(FlowLayout.RIGHT);
    this.getContentPane().add(jPanel1, BorderLayout.CENTER);
    jPanel1.add(jLabel1, BorderLayout.NORTH);
    jPanel1.add(jPanel2, BorderLayout.CENTER);
    jPanel2.add(loginTextField, new GridBagConstraints(2, 1, 1, 1, 0.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 11, 0, 0), 0, 0));
    jPanel2.add(jLabel2, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(11, 0, 0, 0), 0, 0));
    jPanel2.add(passwordTextField, new GridBagConstraints(2, 2, 1, 1, 0.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(11, 11, 0, 0), 0, 0));
    jPanel2.add(jLabel3, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0
    ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
    jPanel1.add(jPanel3, BorderLayout.SOUTH);
    jPanel3.add(enterButton, null);
    jPanel3.add(exitButton, null);
    import java.awt.*;
    import javax.swing.*;
    public class TreeViewPanel extends JPanel {
    BorderLayout borderLayout1 = new BorderLayout();
    JScrollPane jScrollPane1 = new JScrollPane();
    JTree tree = new JTree();
    JPanel jPanel1 = new JPanel();
    JButton jButton1 = new JButton();
    public TreeViewPanel() {
    try {
    jbInit();
    catch(Exception ex) {
    ex.printStackTrace();
    void jbInit() throws Exception {
    this.setLayout(borderLayout1);
    jButton1.setText("Manage Group");
    this.add(jScrollPane1, BorderLayout.CENTER);
    jScrollPane1.getViewport().add(tree, null);
    this.add(jPanel1, BorderLayout.SOUTH);
    jPanel1.add(jButton1, null);
    }

  • In the ECM .How to change default login page.

    Now,my default login page is search page .I want to make home page into workflow page. thanks.
    Edited by: 976375 on 2013-1-31 下午5:57

    Take a look here: Re: Customize Login Page
    As for
    I want to make home page into workflow page.I'm afraid it is impossible - for workflow a user has to authenticate first.
    Maybe rather than change default login page you want redirect to a different page? This is also possible - see Re: Custom page to log in

Maybe you are looking for

  • Display getting clipped when using 26" TV as monitor

    HELP! I recently connected my Sony LCD TV to my single G5 PowerMac as a monitor with a DVI to DVI cable. The resolution is excellent, but the margins of the desktop are getting clipped. So for instance, the menu bar at the top of the screen is NOT vi

  • Add initial line to dropdown listbox

    Hi colleagues, I want to add a initial line to a drop down list box, which I am filling by my own. Its an bsp_wd_dropdown_table. I already tried 3 ways to get this done: INSERT INITIAL LINE INTO lt_ddlb INDEX 1 APPEND INITIAL LINE TO lt_ddlb. ls_ddlb

  • 2010 15" HiRes Anti-Glare video and photo viewing issues

    In January 2012 I bought my MBP through Apple's refurb dept. After some weird glitchy things, which a recent format may have fixed, and some overall speed issues that i cant figure out, my monitor seems to suck. Movies are WAY too dark, and while I c

  • Retain exact format of XML Document

    Hi I am trying to search for a particular value in an XML Document and replace with the value given by the user and write back the XML document, using xerces parser with jdk1.4. I am successfull in doing this. But i am losing the exact format of my o

  • Error while creating Infotype 29

    Hi all,      While trying to create info type 29 we are getting an error as shown in the attachment.      Kindly help me out to resolve this issue. Thanks & Regards, Sakthi