User name & password to log on SBO Integration that comes with SBO 2007

Hi
I have installed the SBO 2007 Demo product. It istall the the b1i. I'm trying to log onto the Control Center. A web page comes up with fields to add user name and password. In the older version it was B1iadmin, but it doesn't do anything after typing it. Doesn't go in or say incorrect password.
Any assistnace greatly appreciated

Hi Louis,
I made the same mistake. In some part of a guide (don't have any document right now) says the user and password are the same of the database user.
HTH,
Ian

Similar Messages

  • What is the diff between SAP Netweaver B1i and B1i that comes with SBO 2007

    Hi
    There is SAP Netweaver B1i which is used for integration with SAP R3. But when you get SBO 2007 it also comes with B1i. Is there a difference or is it the same tool??
    Thank you for your time.

    Louis,
    B1i on the SAP Business One 2007A Preview release is the same as B1i 2005A as far as what it is and how it works with relation to integrating SAP Business One and R/3.  There are new features that are part of B1i 2007A of course that are not in 2005A such as integration with SAP BW, an updated Control Center as well as some other features such as the installation and upgrade routines.  You should have a look at the documentation in the ..\Documentation folder and specifically in the "Integration" and "PEP" folders on the preview media.  This is also, as mentioned, the PREVIEW version, so there will be updates to it forth coming before general release.
    HTH,
    Eddy

  • Upgrade to MaxDB 7.8 fails due to -4008,Unknown user name/password

    Hello,
    I have a strange problem. I try to update a MaxDB 7.7 instance to 7.8.
    I start ./DBUPDATE.SH:
    INFORMATION : This program upgrades the SAP MaxDB database instance
    Do you want to continue the upgrade [Y] :  Y
    Check installation of C++ runtime
    ...execution 12:08:59
    OK
    IndepProgPath : /sapdb/programs
    IndepDataPath : /sapdb/data
    Please enter SAP MaxDB Name    [SID] :  J93
    Please enter SAP System Name   [SID] :  J93
    Please enter DBM User Name [control] :  control
    Please enter DBM User Password       :
    INSTROOT        : /sapdb/J93/db
    Authorization successful
    DB KERNEL       : 64-BIT
    DB VERSION      : 7.7.04 Build 28
    Database instance version supported
    PrivateDataPath : NO
    Check availability of SAP users
    ...execution 12:09:05
    SAP System Administrator   : j93adm
    SAP Database Administrator : sqdj93
    OK
    SAP VERSION     : -4008,Unknown user name/password combination
    Please confirm the upgrade start [Y] :
    Obviously the DBM user and password have been accepted.
    Also I created the xuser entry according to SAP note 39439:
    xuser -U DEFAULT -u SAPJ93DB,password -d J93 -S SAPR3 -n minbbn30 -t 0 -I 0 set
    xuser list
    XUSER Entry  1
    Key           :DEFAULT
    Username      :SAPJ93DB
    UsernameUCS2  :S.A.P.J.9.3.D.B. . . . . . . . . . . . . . . . . . . . . . . . .
    Password      :?????????
    PasswordUCS2  :?????????
    Long Password :?????????
    Dbname        :J93
    Nodename      :minbbn30
    Sqlmode       :SAPR3
    Cachelimit    :-1
    Timeout       :0
    Isolation     :0
    Charset       :<unspecified>
    I can successfully connect to the database with SAPJ93DB:
    dbmcli -u control,password -d J93 sql_connect SAPJ93DB,password
    OK
    So why can't I simply upgrade this MaxDB instance? Is there any logfile of DBUPDATE.SH with more information available?
    Regards,
    Mark

    Hi Mark,
    this error can be ignored (see note 1353266, section IV "Errors during the upgrade").
    Continue the upgrade by answering the question
    SAP VERSION     : -4008,Unknown user name/password combination
    Please confirm the upgrade start [Y] :
    with Y.
    Regards,
    Steffen

  • Can not connect to MaxDB 'Unknown user name/password combination' returned

    Hi,
         I try to make a connection from NWDS 7.2 to MaxDB. So i use the url as 'jdbc:sapdb://127.0.0.1:7210/CE1' to make a connection (by wizard of data source explorer in NWDS).
    I try to entry username and password as below :
    User : 'Administrator' , Pass : 'admin123'
    User : 'SAPJ2EDB' , Pass : 'admin123'
    User : 'superdba' , Pass : 'admin123'
    User : 'control' , Pass : 'admin123'
    So i always got
    com.sap.dbtech.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException: [-4008]: Unknown user name/password combination
    returned
       I quite sure that 'admin123' is the password for MaxDB because when i try to uninstall the MaxDB it ask me to input password for 'superdba' and 'control'
    How should i do? I remember that when i installed the SAP CE7.2 i had entered just only one password.
    How can i reset the username and password or use default password?
    P.S i try to enter user and pass from this post MAXDB Server,Database,Username and pasword , but it still not work .
    Edited by: Thongie on Jul 14, 2011 2:48 PM

    Hi every one,
        I can solve it. I just restart DB and try agian.

  • Error: sql.SQLError: [-4008] (at 1) Unknown user name/password combination

    Hello Experts,
    After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
    Logical Command: DBMRFC
    Parameter: exec_lcinit register
    Name and Server     : LCQ - dusepierp12
    DBMRFC Function     : DBM_EXECUTE
    Command             : exec_lcinit register
    Error               : DBM Error
    Return Code         :     -24964
    Error Message       : ERR_EXECUTE: error in program execution#
    0,sap\lcinit LCQ  register -uDBM , -uDBA , -uSQL ,
    liveCache LCQ (register)
    The liveCache state is ONLINE
    DBMServer 7.6.04   Build 009-123-182-193
    Creating liveCache application procedures
    ERROR : liveCache LCQ not registered (see "s:\sapdb\data\wrk\LCQ\lcinit.log").
    START *****************************
    liveCache LCQ (register)
    Thu 07/30/2009
    10:26 PM
    installation path = S:\sapdb\LCQ\db
    OK
    DBMServer 7.6.04   Build 009-123-182-193
    Creating liveCache application procedures
    ERR
    -24964,ERR_EXECUTE: error in program execution
    1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
    Traceback----
    Error----
    sql.SQLError: [-4008] (at 1) Unknown user name/password combination
    Traceback (most recent call last):
      File "S:\sapdb\LCQ\db\env\lapps.py", line 38, in ?
        connectAndInstall (install, install.__doc__)
      File "S:\sapdb\LCQ\db\env\installib.py", line 398, in connectAndInstall
        session = connect (options)
      File "S:\sapdb\LCQ\db\env\installib.py", line 350, in connect
        alterUserNotExclusive(options)
      File "S:\sapdb\LCQ\db\env\installib.py", line 338, in alterUserNotExclusive
        session.release()
    AttributeError: 'NoneType' object has no attribute 'release'
    ERROR : liveCache LCQ not registered
    Thu 07/30/2009
    10:26 PM
    END ******************************
    Many Thanks,
    TIA,
    Nisch

    Nischal Mahakal wrote:>
    > Hello Experts,
    >
    > After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
    > -24964,ERR_EXECUTE: error in program execution
    > 1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
    > -
    Traceback----
    Hi there,
    looks like you entered "DBADMIN" when you created the liveCache instance in DBMGUI as the DBM Operator.
    For SAP installations, this user is always named "CONTROL".
    So, drop the instance again, recreate it with "CONTROL" and re-do the recovery of the liveCache backup.
    regards,
    Lars

  • User Name/Password for SQL*Plus

    I installed the Oracle 8i Personal Version in my PC.
    I have been trying to log on to the Oracle SQL*Plus screen, which asks me for the User Name, Password and the Host String.
    Does anybody out there know what I should use here to log on to this screen?
    Thanks in advance.
    Jay
    [email protected]

    Hi,
    Please check old mails and then forward questions.
    User scott/tiger
    DBA system/manager
    SYS sys /change_on_install
    with regards,
    Boby Jose Thekkanath,
    Dharma Computers(P) Ltd.
    Bangalore-India.
    www.dharma.com

  • Invalid user name password

    I am new to using databases and have just downloaded and installed oracle 11g XE to learn more about them, however, having started the database my problem is that I am unable to log in. I keep getting the message invalid user name/password
    Can any one in the community solve this problem as I would love to learn more about databases, as I find it an interesting field.

    set ORACLE_SID=<database name>
    sqlplus / as sysdba
    alter user <username> identified by <password>; -- change the password of the user and try connecting again with the new password

  • Unknown user name/password combination

    Hi SAPDBV Gurus,
    1. I did a full Live cache backup of system A  (LCZ)
    2. Did a restore with initialization to target. (LCR)
    3. I checked the system logs snm21 :- Unknown user name/password combination, and also in live cache logs
    4. When I tried to do a load systab with dbmcli> , I see the message :- -24907,ERR_DBAWRONG: wrong SYSDBA
    I could not create the DBADMIN user or reset the password, it gives a user_put error.
    I also found that in the source the sysdba user was DBADMIN (LCZ), and the target was SYSDBA (LCR)
    Thanks,
    Naren
    > Unknown user name/password combination
    Database error -4008 at CON

    Hello,
    Please update with additional information:
    -> What are the versions of the source & target liveCache instances?
    -> Please update with outputs of the following commands:
    dbmcli -u control,<controlpw> -d LCR
    <enter>
    Dbmcli on LCR>db_state
    Dbmcli on LCR>sql_connect
    Dbmcli on LCR>sql_execute select * from users
    Dbmcli on LCR>load_systab -u DBADMIN,DBADMIN -ud DBADMIN
    Dbmcli on LCR>exit
    -> What is the dbm users? < if the liveCache instances were not created with control user >
    -> Please overview the SAP note 877203.
    Thank you and best regards, Natalia Khlopina

  • -4008 Unknown user name/password combination

    Hi All,
    We are installing SAP NW 7.4 with MaxDB 7.8 on Windows server 2008 R2, When in the phase Create database schema for ABAP  its giving error like below.
    "[-4008] Unknown user name/password combination"
    Below is the output from SdbCmdOut.log
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.models.software.Software | Software object initialized Sucessfully
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.models.database.DatabaseParameter | Create new database parameter object with name: MCOD value:  and comment:
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | JDBC driver path: D:\sapdb\programs\runtime\jar\sapdbc.jar
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.powertoys.DBM loaded
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.jdbc.DriverSapDB loaded
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Use Java process call.
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Execute command:  D:\sapdb\programs\bin\x_server.exe start
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Establish dbmcli session
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Connect to database: SID on host: HOSTNAME
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Logon with user: control
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Run command: param_directget MCOD
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | MCOD NO
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Close dbmcli Session.
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.runtime.SdbLibInstance | End of command section: PARAM_GET
    Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.runtime.SdbLibInstance | *************************************************************
    Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.runtime.SdbLibInstance | Start new command section: GET_SQL_USERS
    Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.Dbmcli | Use Java process call.
    Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.Dbmcli | Execute command:  D:\sapdb\programs\pgm\dbmcli.exe -s dbm_version build
    Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.sdbregview.SdbRegviewIsolated | Use Java process call.
    Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.sdbregview.SdbRegviewIsolated | Execute command:  D:\sapdb\programs\bin\sdbregview.exe -l -delimiter -DELIM-
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.models.software.Software | Software object initialized Sucessfully
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | JDBC driver path: D:\sapdb\programs\runtime\jar\sapdbc.jar
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.powertoys.DBM loaded
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.jdbc.DriverSapDB loaded
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Use Java process call.
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Execute command:  D:\sapdb\programs\bin\x_server.exe start
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.SqlJdbcSession | Start new connection with URL: jdbc:sapdb://HOSTNAME/SID connect user: superdba
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.DbCommand | com.sap.dbtech.jdbc.exceptions.DatabaseException: [-4008]: Unknown user name/password combination
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.connection.JdbcDriver.createSqlSession(JdbcDriver.java:69)
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.DbCommand.getAllSqlUsers(DbCommand.java:2054)
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.cmd.ident.classes.GET_SQL_USERS.run(GET_SQL_USERS.java:26)
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.DbCommand.runCommand(DbCommand.java:3469)
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.core.main.cmd.SdbCmdMain.<init>(SdbCmdMain.java:67)
    Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.core.main.cmd.SdbCmdMain.main(SdbCmdMain.java:212)
    Kindly Suggest me to resolve.
    Regards,
    JD.S

    Hi Deepak,
    I have executed the below commands,
    xuser -U c -u CONTROL,<password> -d SID -n HOSTNAME -S INTERNAL set
    xuser -U w -u CONTROL,<password> -d SID -n HOSTNAME -S INTERNAL set
    After execution of the commands i have retry the same installation still i am getting same error.
    Kindly suggest,
    Regards,
    Sree

  • How can I find my user name password as I only remember the administrator password for the MacBook?

    How can I find my user name password as I only remember my administrator password?I don't want to lose things or content.

    If you have only one account, then your admin password is your user password. If you use another account that is not an admin account, then log into your admin account from which you can change the password on your user account.
    Forgot Your Account Password
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password,
         OS X- Changing or resetting an account password (Snow Leopard and earlier).
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself
        Reset OS X Password Without an OS X CD — Tech News and Analysis
        How To Create A New Administrator Account - Hack Mac

  • User name password

    i have a flash website and need to include a user name -
    password field with a submit button so clients can log on to a
    client page, so my cleint can log on and i can get paid. I've never
    done this in flash before, have tinkered with real basic stuff in
    asp and such, i've heard the most sucure way is using php. What i
    need to learn is how to make a simple log on in flash that when the
    user inputs the right information it will send them to the next
    page. So whats the best way to do this? is there a tutorial a
    beginner can understand somewhere, need this so i can set up a page
    so my cleints can log on and go to a page containing paypal links
    and possiably to include intitial links to cleints sample work and
    such, any ideas, need something quick.
    Currently you can see my problem at: www.designbytreitner.com
    At the top right it says payment, you click on that it brings
    you to a page, very tacky, very basic, and very unproffessional
    looking, not to mention unsucure. So how can i clean this up, with
    a simple user name password to access the client payment page to
    keep unwanted users out?

    Yes, i've heard there is a lot to know. I was leaning towards
    doing something with asp, php, text files or something simular
    because i have some knowledge of them. I have never done anything
    with mysql although my server does allow for it, and i beleive
    includes basic files, but i've never used or explored it. I won't
    be storing anything too sensative on the more secure log on section
    of my site . Just links to a paypal page were cleints can make
    payments to me, and some links to cliint work under development for
    them to reveiw. Although i'd like it as secure as possiable, my
    main purpose at this point is to keep out the average visitor,
    hackers can always find a way in, if they really want to. So my
    main goal at this point is to set up something that works, isn't to
    hard to do, and keeps the average visitor out unless they have the
    password. i'd like the basic stuff like buttons, text, and stuff in
    my flash movie, and the coding and password info and such in
    something like a text file, php, or something that can be put into
    a subfolder and used, so it's not out there with the main files and
    easily veiwable. so any ideas for a good tutorial, or method i
    could use, that isn't that hard to learn? I don't want to spend a
    month learning sql just to make a log buttons, i just want to use
    something i have a basic understanding of to make a clean usable
    set up in flash.

  • User Name/Password class for MySQL -- it almost works ... almost

    I'm working on creating a user name/password class called Login that will get the information that is required to log into a MySQL database (This program is not an applet, by the way).
    In brief this class does following:
    * It creates a JFrame with JTextFields and a JPasswordField and a login button. All compents have ActionListener.
    * I am able to read the info from the fields (I tested this using System.out.println)
    * Another program calls this Login class (see code at end of post)
    I want the program to close the frame (I figured that out) and return the values to the calling program. I can't figure out how to have it return a cat string ( of "host|port|username|password" ). If this was one large piece of java source code, it'd be a piece of cake, but the code is broken into several java source components and I'm trying to figure out how to get the ActionListener to return the string.
    One web page mentioned using an ejector but haven't been able to find any information about that. Another thought was maybe putting some kind of code in the windowClosing event for the Login class.
    Ex:
      public void windowClosing(WindowEvent e)
         setVisible(false);
         dispose();
         // return value to calling function somehow
      }Any help would be greatly appreciated. I'm teaching myself this so I'm sure there are better ways to do the JFrame formatting, but here's the code anyway. I'll post the additional changes (in context) when I get a working version of this.
    //Login.java
    import java.awt.*;
    import java.awt.event.*;
    import java.lang.Object;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import javax.swing.*;
    import javax.swing.border.TitledBorder;
    public class Login extends JFrame implements ActionListener
       JTextField serverHost;
       IntTextField port;
       JTextField userName;
       JPasswordField password;
       JButton login;
       Canvas canvas;
       String ServerHost_String;
       String Port_String;
       String UserName_String;
       String Password_String;
       String Login_String;
       Font ssb10 = new Font("Sans Serif", Font.BOLD,10);
       Font hb30 = new Font("Helvetica", Font.BOLD,30);
       Integer rc;
       //public void init()
       public Login()
          // Set up buttons
          login = new JButton("Login");
          serverHost = new JTextField("localhost",10);
          port = new IntTextField(3306, 4);
          userName = new JTextField("root",10);
          password = new JPasswordField(10);
          // Draw Screen
          Canvas horizontal_spacer1 = new Horizontal_Spacer(420,15);
          Canvas horizontal_spacer2 = new Horizontal_Spacer(420,15);
          Canvas horizontal_spacer3 = new Horizontal_Spacer(420,15);
          Canvas horizontal_spacerA = new Horizontal_Spacer(100,45);
          Canvas horizontal_spacerB = new Horizontal_Spacer(100,45);
          Canvas vertical_spacer1 = new Vertical_Spacer();
          Canvas vertical_spacer2 = new Vertical_Spacer();
          Canvas vertical_spacerA = new Vertical_Spacer();
          Canvas vertical_spacerB = new Vertical_Spacer();
           * Top
          canvas = new Top_Logo();
          JPanel top = new JPanel();
          top.add(canvas);
          //top.add(horizontal_spacer1);
          add(BorderLayout.NORTH,top);
           * Middle
          Box p1 = Box.createHorizontalBox();
          Box p2 = Box.createHorizontalBox();
          Box p3 = Box.createHorizontalBox();
          JPanel bp = new JPanel();
          JLabel rbp = new JLabel();
          p1.setFont(ssb10);
          p2.setFont(ssb10);
          p3.setFont(ssb10);
          p1.setAlignmentX(Component.LEFT_ALIGNMENT);
          bp.setAlignmentX(Component.LEFT_ALIGNMENT);
          p3.setAlignmentX(Component.LEFT_ALIGNMENT);
          rbp.setLayout(new BoxLayout(rbp,BoxLayout.X_AXIS));
          rbp.setBorder(new TitledBorder("Connection to MySQL Server Instance"));
          JLabel lString = new JLabel("Server Host: ");
          lString.setFont(ssb10);
          // Setup server Host and Port JPanel
          p1.add(lString);
          p1.add(serverHost);
          lString = new JLabel("  Port: ");
          lString.setFont(ssb10);
          p1.add(lString);
          p1.add(port);
          // Setup username JPanel
          lString = new JLabel("Username:    ");
          lString.setFont(ssb10);
          p2.add(lString);
          p2.add(userName);
          // Setup password JPanel
          lString = new JLabel("Password:    ");
          lString.setFont(ssb10);
          p3.add(lString);
          p3.add(password);
          // Draw the big Jpanel
          //bp.add(horizontal_spacerA);
          bp.add(p1);
          bp.add(p2);
          bp.add(p3);
          //bp.add(horizontal_spacerB);
          rbp.add(vertical_spacerA);
          rbp.add(bp);
          rbp.add(vertical_spacerB);
          add(BorderLayout.WEST,vertical_spacer1);
          add(BorderLayout.CENTER,rbp);
          add(BorderLayout.EAST,vertical_spacer2);
          // Bottom
          JPanel bot = new JPanel();
          bot.setLayout(new BoxLayout(bot,BoxLayout.Y_AXIS));
          bot.add(horizontal_spacer2);
          bot.add(login);
          bot.add(horizontal_spacer3);
          add(BorderLayout.SOUTH,bot);
          // Draw JFrame
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setSize(420,280);
          setResizable(false);
          setVisible(true);
          // Listen for buttons being clicked
          login.addActionListener(this);
          serverHost.addActionListener(this);
          userName.addActionListener(this);
          port.addActionListener(this);
          password.addActionListener(this);
       class Horizontal_Spacer extends Canvas
          Horizontal_Spacer(int X, int Y)
             setSize(X,Y);
             setVisible(true);
       class Vertical_Spacer extends Canvas
          Vertical_Spacer()
             setSize(25,10);
             setVisible(true);
       class Top_Logo extends Canvas
          Top_Logo()
             setBackground(Color.white);
             setSize(420,65);
             setVisible(true);
          public void paint(Graphics g)
               g.setFont(hb30);
               g.drawString("MySQL Login",20,45);
       public void actionPerformed(ActionEvent event)
          Object source = event.getSource();
          ServerHost_String=serverHost.getText();
          Port_String=port.getText();
          UserName_String=userName.getText();
          Password_String=new String(password.getPassword());
          if ((ServerHost_String.compareTo("")!=0) &&
              (Port_String.compareTo("")!=0) &&
              (UserName_String.compareTo("")!=0) &&
              (Password_String.compareTo("")!=0))
               Login_String=ServerHost_String + "|" +
                            Port_String + "|" +
                            UserName_String + "|" +
                            Password_String;
               setVisible(false);
               dispose();
          public void windowClosing(WindowEvent e)
            setVisible(false);
            dispose();
    //Login_Test.java
    import javax.swing.*;
    public class Login_Test extends JFrame
       //public void run()
       public static void main(String [] args)
          Login f = new Login();
    }Doc

    Let me get this clear.
    You want a login dialog.
    Some program calls the dialog and waits untile user respond
    once the user press ok or cancel it reutrn the users input to the caller.
    You can do this directly using JFrame
    but you can do it wil JDialog if you use it as aModal dialog.
    it will look like this
    class LogInDialog  extends JDialog implements ActionListener{
       String value;
       public LogInDialog(){
          setModel(true);
        // This is what you invoke
        public String loadDialog(){
            setVisible(true);
            return value;
        public void actionListener(..... e){
            if (e.getSource() == bCancel)
               value = null;
            else if (e.getSource() == bOk)
               value = //generate the string
            dispose();
    }

  • Question on how to Hide the User Name, Password, and Domain fields in the MDT Wizard

    MDT 2012 U1
    Deploying Windows 7 via Offline Media (ISO) to MS Virtual PC's
    I am looking on how to Hide the User Name, Password, and Domain fields which are prepopulated in the MDT wizard via the CS.ini (Not so concerned about the Domain field as I am User Name and Password)
    We do need the Computer Name and OU fields to be seen, so skipping the wizard is not a option
    The client just does not want these fields to be seen by the end users, they dont want them to even know the account name used for adding the machine to the domain, of course the password is not displayed but it must not be displayed either.
    But since we use the fields they must still  be fuctional just not seen.
    Thanks.....
    If this post is helpful please click "Mark for answer", thanks! Kind regards

    You shouldn't have to edit DeployWiz_Definition_ENU.xml. You should only need to add "SkipAdminPassword=YES" to the CS.ini file and your authentication information.
    Example:
    [Settings]
    Priority=Default
    Properties=MyCustomProperty
    [Default]
    OSInstall=Y
    SkipCapture=NO
    SkipAdminPassword=YES
    UserID=<MyUserID>
    UserPassword=<MyPassword>
    UserDomain=<MyDomain.com>
    SkipProductKey=NO
    SkipComputerBackup=YES
    SkipBitLocker=NO
    -Nick O.
    Nick,
    SkipAdminPassword=YES is for:
    You can skip the Administrator Password wizard page by using this property in the
    customsettings.ini.
    I am hidding the Username/Password/and domain field in the computer name Wizard pane which is read from the cs.iniDomainAdmin=xxxxx
    DomainAdminPassword=xxxxx
    DomainAdminDomain=xxxxxx
    JoinDomain=xxxxxx
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • HT1515 Will Airport Express work in hotels in China? They require user name/password to connect. Has anyone used one there?

    I will be traveling in China with my iPad2 and want to use hotel wireless. It requires a sign-in with user name/password.  Can I use an Airport Express for this purpose? How do I set it up for that? I have an old Express (pre-2007); can I use it or do I need to upgrade to the new model?

    OK - I have never been to China but the posts here say that it can be done - the cable from the hotel should be connected to the WAN port of the Express - the Express should be in bridge mode and set to create a wireless network with a name and password of your choice - you can do this with a computer before you leave for China or with the iPad if you have previously downloaded the Airport Utility app - you would then connect to your network and attempt to bring up a web page such as Google - the hotel should then intervene and ask you for the login info that they have provided.
    Charlie

  • File Adapter - anonymous login (or )User name ,password login - Efficient?

    Hi Folks,
    In File Adapter processing , anonymous login (or) proper user name password based login is recommended ?
    Because we have faced many issue while using username based login in File adapter  .
    Which one is best ?
    Regards.,
    Shiva

    Hi Shiva ,
    We will go one by one :
    You can go for the Anonymous login  but the problem is the any body can access the FTP server and it is not the secure one,that is why business generally don't allow the Anonymous login.
    Coming to Proper user name password login ,I would advice you to use this one as the connection is more secure in this case.But this also comes with a problem that the username password generally expires after some time as per security policy and you have to change the username password for the FTP server as well as in File adapter which you are using.But this problem can be solved by going for a permanent username and password.
    I would recommend you to go for Proper user name and password.
    Regards
    Ravi Anand
    Edited by: Ravi Anand@85 on Mar 12, 2010 7:56 AM

Maybe you are looking for