Complex login dialog

I am developing an online shopping center where the user needs to login if he wants to purchase any item. So login window should be shown for this. I am not getting any idea about this login screen. My login screen should do the following.
text fields to get user name & password, there should be 4 buttons
1.Sign in
2. Cancel
3. Forgot password
4. Create account.
if the login details are correct then the login dialog should be disposed & the control should return to the application. If the login details entered doesn't exist in database then an error dialog should be shown & after pressing the ok of the error dialog the control should return to the login dialog with all empty fields.
Forgot password should take the username which is the email id of the user & send a mail to the user with the password. create account should open a new window with all the details necessary for the account.
please tell me how should i go about in this. i had done a login dialog before but that only contains a yes_no option only. that time i created a jpanel with all fields then a joptonpane with this jpanel & i put the joptionpane in a jdialog's contentpane.
any help would be appreciated. even if you don't know how to do the complete problem just share whatever knowledge you have on this.

We use something like this... :
private void showLoginPopUp() {
     JTextField nameField = new JTextField();
     JPasswordField passField = new JPasswordField();
     int option = JOptionPane.showOptionDialog(null, new Object[] {"Name", nameField, "Password",
                    passField}
                    , "Login", JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, null);
     if ((option == JOptionPane.CLOSED_OPTION) || (option == JOptionPane.CANCEL_OPTION)) {
          System.exit(0);
     userID = nameField.getText();
     password = new String(passField.getPassword());
     if (!isValidLogin(userID, password)) {
          showLoginPopUp();
As you can see, passing an array of objects as the message allows for a more customizable... look. Of course, this does not handle 'Forgot Password'... good luck. (if its not already too late).

Similar Messages

  • Problem description: Computer takes a long time to fire up. Spinning ball is seen during start up, sometimes when login dialog box, and sometimes after entering login password. My mac freeze often, especially when using Lightroom-.

    Problem description:
    Computer takes a long time to fire up. Spinning ball is seen during start up, sometimes when login dialog box, and sometimes after entering login password. My mac freeze often, especially when using Lightroom….     Help is much appreciated!
    EtreCheck version: 2.0.11 (98)
    Report generated 3. november 2014 kl. 01.23.41 CET
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Mid 2010) (Verified)
      MacBook Pro - model: MacBookPro7,1
      1 2.4 GHz Intel Core 2 Duo CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      NVIDIA GeForce 320M - VRAM: 256 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 2:49:19
    Disk Information: ℹ️
      Samsung SSD 840 EVO 500GB disk0 : (500,11 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 499.25 GB (260.35 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
      Apple Inc. Built-in iSight
      Apple Internal Memory Card Reader
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
      Apple Inc. Apple Internal Keyboard / Trackpad
    Configuration files: ℹ️
      /etc/sysctl.conf - Exists
      /etc/hosts - Count: 15
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/IPVanish.app
      [not loaded] foo.tap (1.0) Support
      [not loaded] foo.tun (1.0) Support
      /Applications/LaCie Desktop Manager.app
      [not loaded] com.LaCie.ScsiType00 (1.2.13 - SDK 10.5) Support
      [not loaded] com.jmicron.driver.jmPeripheralDevice (2.0.4) Support
      [not loaded] com.lacie.driver.LaCie_RemoteComms (1.0.1 - SDK 10.5) Support
      [not loaded] com.oxsemi.driver.OxsemiDeviceType00 (1.28.13 - SDK 10.5) Support
      /Applications/Private Eye.app
      [loaded] com.radiosilenceapp.nke.PrivateEye (1 - SDK 10.7) Support
      /Library/Application Support/HASP/kexts
      [not loaded] com.aladdin.kext.aksfridge (1.0.2) Support
      /System/Library/Extensions
      [loaded] com.hzsystems.terminus.driver (4) Support
      [not loaded] com.nvidia.CUDA (1.1.0) Support
      [not loaded] com.roxio.BluRaySupport (1.1.6) Support
      [not loaded] com.sony.filesystem.prodisc_fs (2.3.0) Support
      [not loaded] com.sony.protocol.prodisc (2.3.0) Support
      /Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
      [not loaded] com.roxio.TDIXController (2.0) Support
    Startup Items: ℹ️
      CUDA: Path: /System/Library/StartupItems/CUDA
      ProTec6b: Path: /Library/StartupItems/ProTec6b
      Startup items are obsolete and will not work in future versions of OS X
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [running] com.adobe.AdobeCreativeCloud.plist Support
      [loaded] com.adobe.CS5ServiceManager.plist Support
      [running] com.digitalrebellion.EditmoteListener.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [loaded] com.intego.backupassistant.agent.plist Support
      [running] com.mcafee.menulet.plist Support
      [invalid?] com.mcafee.reporter.plist Support
      [loaded] com.nvidia.CUDASoftwareUpdate.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
      [running] com.orbicule.WitnessUserAgent.plist Support
      [loaded] com.xrite.device.softwareupdate.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [invalid?] com.adobe.SwitchBoard.plist Support
      [running] com.aladdin.aksusbd.plist Support
      [failed] com.aladdin.hasplmd.plist Support
      [running] com.edb.launchd.postgresql-8.4.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [running] com.intego.BackupAssistant.daemon.plist Support
      [loaded] com.ipvanish.helper.openvpn.plist Support
      [loaded] com.ipvanish.helper.pppd.plist Support
      [invalid?] com.mcafee.ssm.ScanFactory.plist Support
      [invalid?] com.mcafee.ssm.ScanManager.plist Support
      [running] com.mcafee.virusscan.fmpd.plist Support
      [loaded] com.mvnordic.mvlicensehelper.offline.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] com.oracle.java.JavaUpdateHelper.plist Support
      [running] com.orbicule.witnessd.plist Support
      [loaded] com.radiosilenceapp.nke.PrivateEye.plist Support
      [running] com.xrite.device.xrdd.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.adobe.ARM.[...].plist Support
      [invalid?] com.digitalrebellion.SoftwareUpdateAutoCheck.plist Support
      [loaded] com.facebook.videochat.[redacted].plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
      [running] com.spotify.webhelper.plist Support
    User Login Items: ℹ️
      Skype Program (/Applications/Skype.app)
      GetBackupAgent Program (/Users/[redacted]/Library/Application Support/BeLight Software/Get Backup 2/GetBackupAgent.app)
      PhoneViewHelper Program (/Users/[redacted]/Library/Application Support/PhoneView/PhoneViewHelper.app)
      EarthDesk Core UNKNOWN (missing value)
      Dropbox Program (/Applications/Dropbox.app)
      AdobeResourceSynchronizer ProgramHidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
      i1ProfilerTray Program (/Applications/i1Profiler/i1ProfilerTray.app)
    Internet Plug-ins: ℹ️
      Google Earth Web Plug-in: Version: 6.0 Support
      Default Browser: Version: 600 - SDK 10.10
      AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      iPhotoPhotocast: Version: 7.0
      SiteAdvisor: Version: 2.0 - SDK 10.1 Support
      AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
      GarminGPSControl: Version: 3.0.1.0 Release - SDK 10.4 Support
      JavaAppletPlugin: Version: Java 7 Update 71 Check version
    User Internet Plug-ins: ℹ️
      Google Earth Web Plug-in: Version: 6.2 Support
      F5 Inspection Host Plugin: Version: 6031.2010.0122.1 Support
      f5 sam inspection host plugin: Version: 7000.2010.0602.1 Support
    Safari Extensions: ℹ️
      Facebook Cleaner
      Better Facebook
      SiteAdvisor
      Incognito
      Bing Highlights
      YouTube5
      AdBlock
      YoutubeWide
    Audio Plug-ins: ℹ️
      DVCPROHDAudio: Version: 1.3.2
    3rd Party Preference Panes: ℹ️
      CUDA Preferences  Support
      EarthDesk  Support
      Editmote  Support
      Flash Player  Support
      FUSE for OS X (OSXFUSE)  Support
      Growl  Support
      Java  Support
      Witness  Support
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          13% taskgated
          12% WindowServer
          1% WitnessUserAgent
          1% sysmond
          1% Activity Monitor
    Top Processes by Memory: ℹ️
      327 MB com.apple.WebKit.WebContent
      137 MB softwareupdated
      94 MB Safari
      82 MB VShieldScanner
      82 MB Dock
    Virtual Memory Information: ℹ️
      65 MB Free RAM
      1.58 GB Active RAM
      1.54 GB Inactive RAM
      647 MB Wired RAM
      2.95 GB Page-ins
      260 MB Page-outs

    You have SCADS of extensions and the things running. McAfee, Intego, Orbicule, CleanMyMac, and others I've not ever even heard of. My first recommendation would be to remove all of these and see if things improve.

  • Why does Thunderbird hang when a login dialog is open at the same time as a file save dialog?

    This happens frequently. And if there is any open email I am composing at the same time, it is LOST. This appears to be a bug that would rarely trigger in the normal case, but I have several email accounts active at once and one of them sometimes throws up a login window. If I happen to simultaneously be trying to save an attachment, the save dialog pops up and neither "Save" nor "Cancel" buttons work anymore and it is impossible to get the login dialog to respond. Thunderbird cannot respond to window cycle requests, so I can't even get to the edit windows to screen-shot them. The only thing I can do is kill the process and lose everything.

    printscrn on the keyboard should still work unless the operating system is also dead.
    However, while it may be a bug please try the following steps to make sure.
    *Restart Thunderbird with add-ons disabled (Thunderbird Safe Mode). On the Help menu, click on "Restart with Add-ons Disabled". If Thunderbird works like normal, there is an Add-on or Theme interfering with normal operations. You will need to re-enable add-ons one at a time until you locate the offender.
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • NAC Agent Login Dialog Not Appearing - ISE 1.1.1 issue ?

    Agent Fails to Initiate Posture Assessment
    The NAC agent is properly installed on a Windoes 7 , IE 9 machine, the certificates from ISE ADM PRI are installed in trustable certificate store in the client machine but is a selfsigned ISE certificate.
    The reports / USER / Profiling report says the Provisioning Agent has completed the assessment ok.
    The redirected URL is working fine (SEE Evidence)
    We are always prompted to install the NAC agent again or looking at the additional prompted information wait for the NAC agent to load and complete.
    The operations status remains with postering status pending forever and nothing else happens.
    Symptoms or Issue
    The agent login dialog box does not appear to the user following client provisioning.
    Conditions Cisco Says this issue can generally take place during the posture assessment phase of any user
    authentication session.
    Cisco Advises as Possible Causes There are multiple possible causes for this type of issue. See the following
    Resolution descriptions for details of what was already tested by us and please see the atached files for your switch configuration and evidences. .
    CISCO SUGGESTED POSSIBLE CAUSES AND RESOLUTIONS
    Resolution • Ensure that the agent is running on the client machine. ALL TESTED OK
    • Ensure that the Cisco IOS release on the switch is equal to or more recent than
    Cisco IOS Release 12.2.(53)SE. - OK
    • Ensure that the discovery host address on the Cisco NAC agent or Mac OS X
    agent is pointing to the Cisco ISE FQDN. (Right-click on the NAC agent icon,
    choose Properties, and check the discovery host.) - OK (See evidence)
    • Ensure that the access switch allows Swiss communication between Cisco ISE
    and the end client machine. Limited access ACL applied for the session should
    allow Swiss ports: ALL CONFIGURED as CISCO GUIDELINES OK (SEE EVIDENCE)
    • If the agent login dialog still does not appear, it could be a certificate issue.
    Ensure that the certificate that is used for Swiss communication on the end client
    is in the Cisco ISE certificate trusted list. (ALL CHECKED OK SEE EVIDENCE)
    • Ensure that the default gateway is reachable from the client machine. (TESTED OK)

    Hi.
    Can you paste all the ACLs on your switch especially the webauth redirect ACL which should deny traffic towards the PSN.
    regards
    Zubair

  • Re : Remove System and Authentication from QaaWS login dialog

    Hello there,
    Hope all is well. I am trying to get rid of OR pre-populate with default values for System ( CMS) and Authentication boxes from QaaWS login dialog. I know you can do it in Desktoplauch and Adminlaunch ( Yes I am using BOXI R2 SP5) ...by modifying/editing web.xml deployment descriptor ....where would you do this for QaaWS login boxes ....DSWS application ?
    BTW, my .SWF O/P doesn't reside in Infoview ans is out of BO environment. Also, I want users to login with there AD login....hence didn't want to embed credetials in XC.
    Thanks in advance,
    Sam
    Edited by: samshaw on Jul 28, 2010 4:10 AM

    Hi David,
    Sorry I appreciate this is an old post, but I seem to be going around in circles.
    I understand how to generate and pass the sessionID into a SWF, and I can see the QaaWSHeader.sessionID element in the QaaWS WISDL, but do you or anyone else know how to pass the session ID back using this element?
    There are no obvious options when in Dashboard Design (Xcelsius) - I tried appending QaaWSHeader.sessionID to the URL call also with no succes (just seems to ignore it).
    Does anyone know how this can be achieved.
    My ultimate objective is a SWF hosted outside of Infoview that can consume and share the one session for multiple QaawS and OpenDoc calls.
    Thanks in advance
    Wilf

  • Login dialog box pops up

    I am currently using weblogic serve 5.1 sp9 and have a web app that specifies a
    login page, and an error page if you make a mistake.
    The problem I am having is that if you make an error logging in a popup login
    dialog box appears, and you must click cancle to have the error page display.
    I want to know why this dialog appears, and how to stop it.
    Thanks for any help.
    Chris

    Hallo Ray,
    please try this:
    - Create a new and empty workspace
    - Create a new repository localtion including saved login information
    - perform a fresh checkout of your project

  • Failed to call Engine.StartLoginLogoutCallback to display user login dialog in C# code

    I'm upgrading our custom operator interface using C# running in NET 2.0. I use Microsoft Windows Forms controls for building GUI. TestStand version is 3.1. I grab TestStand Engine Class ActiveX Control from toolbox in to the form just as I did before in my VB project. In the project references list, AxTS and TS are added in. I can call TestStand API functions through the engine object, for example I can load sequence files, create property objects, get engine properties. But when I call engine's StartLoginLogoutCallback(false, true), the user login dialog is not displayed as expected. By tracing into UI message handler code, I do not see execution start and execution end UI message, which means the fontend callback sequence is not executed or is not executed properly. I doubt that calling engine's NewExecution in my code will also have problem though I haven't tested. Has anybody encountered same problem before? Thanks for any answer in advance.

    Hi Manooch,
    Thank you very much for the help. I tried Engine.CallFrontEndCallbackEx, but it still doesn't work for me. I'm using TestStand 3.1. I created a very simple C# Windows application with Visual Studio 2005. In the toolbox of the project I Selected "Choose Items..." context menu to display the "Choose Toolbox Items" dialog. In the "COM Components" tab of the dialog I selected "TestStand Engine Class" so that I got reference to the TestStand engine in my project. The project compiles OK, The method to login/logout is as following:
     private void StartLoginLogoutCallback(bool logoutOnly, bool isInitialLogin) {    PropertyObject args = _engine.NewPropertyObject (PropertyValueTypes.PropValType_Container, false, "", 0);     args.SetValBoolean ("logoutOnly", 1/*PropOption_InsertIfMissing*/, logoutOnly);    args.SetValBoolean ("isInitialLogin", 1, isInitialLogin);    _engine.CallFrontEndCallbackEx ("LoginLogout", args, TypeConflictHandlerTypes.ConflictHandler_Error, 0); }
    This method is called when the form is loaded:
     private void Form1_Load (object sender, EventArgs e) {    StartLoginLogoutCallback (false, true); }
    I also tried to call StartLoginLogoutCallback method in a button click event handler, but it doesn't work either. I also notice that when I press "Exit" button which causes form's Close() method to be called, the application form does not close and I have to kill the application with task manager or to stop debugging if it is running in debug mode.
    Could you please tell what's wrong? Thanks!
    - cfyao 

  • Catch HTTP code 401 and prevent standard login dialog

    Hello,
    in my FLEX application I load some data from a Java servlet. I use URLRequest and URLLoader to load the data. The servlet requires basic authentication. I use a custom login dialog to get the users credentials. Everything works fine except when the user provides wrong credentials. Then the servlet returns HTTP code 401 and FLEX automatically shows a standard login dialog. I'd like to show a custom dialog instead. However I have not found a way to catch the 401 code and prevent the standard dialog from showing. Is there a solution for this?
    My code:
    var encoder: Base64Encoder = new Base64Encoder();
    encoder.encode(context.userId + ":" + context.password);
    var credHeader: URLRequestHeader = new URLRequestHeader(
         "Authorization", "Basic " + encoder.toString());
    var loader: URLLoader = new URLLoader();
    var request: URLRequest = new URLRequest("http://.../userinfo");
    request.method = URLRequestMethod.GET;
    request.requestHeaders.push(credHeader);
    loader.load(request);
    Thanks,
    Florian

    Sure,
    this is my custom login dialog:
    and this is the default login dialog:
    The application runs on Adobe AIR version 2.6.

  • Anyone have a simple example of a login dialog? (Java based)

    I've seen a couple of examples of login dialogs that request username and password, but nothing that also asks for the database (probably needs to ask for host, port, and SID or Service). It would be super if it could look for TNS info (environment variable set) and create a pulldown list.
    If anyone has an example, please point me to the URL.
    Seems like this would be a neat 'Wizard' or prepackaged JOptionPanel component palette item

    When you create a JClient Form, you've got the option to generate a login dialog.
    This does generate a username/password login dialog, but the code it generates, shows you hwo to use LoginStrategies.
    This does give you access to every property used by the BC4J Connection pool, to find/create a BC4J connection.
    Generate this login dialog, run it in the debugger and check out what comes in and what you can modify at runtime, before
    BC4J estableshes a connection.

  • I am not able to login to my applet as the login dialog does not take the focu

    In the login dialog of the applet it does allow the user to enter the password in to the field. Password field does not takes the focus. I tried with JTextfield and it is also having the same problem.
    == This happened ==
    Every time Firefox opened
    == When in installed 3.5.9 version. It is ok with 3.0 version

    Can you use the Tab key?
    See also [[Pressing Tab key does not select menus or buttons]]
    http://kb.mozillazine.org/accessibility.tabfocus

  • Generate a login dialog

    Hi,
    I am using ADF/Swing.
    When creating a new empty form, there is a checkbox to ask whether to
    generate a login dialog.
    If I forgot to check this during creating a new form, how can I add back
    the login dialog afterwards ?
    Many thanks in advance.
    Ivan

    Hi,
    It s ok when I create a new empty form again, generating the login dialog.
    And then I remove empty form.
    Thanks.
    Ivan

  • About JClient Login Dialog

    Hi,
    I am using ADF and Swing.
    I create a new JClient Empty Form and click Generate a login dialog in
    the Forma Name Page.
    They are mainForm.java and JCLoginDialog.java.
    My question is :
    How to bring up the login dialog ?
    I try to run the mainForm.java and no login dialog appears.
    Many thanks in advance.
    Ivan

    Here's what you do:
    1. set the parameter jbo.security.enforce to None (default). If you set it to Must, as Frank sugested, it will look for the authentication in jazn.config, or something like that, not in the database.
    2. Change the code in the JCLoginDialog.java, getInfo method should look like this:
    public Object getInfo(String info, Object connEnvironment) {
    RuntimeException exc = ((RuntimeException)((Hashtable)connEnvironment).get(DefaultConnectionStrategy.LAST_EXCEPTION));
    if (exc == null) {
    mErrorMessage.setText("");
    } else {
    System.out.println(exc);
    mErrorMessage.setText("Incorrect user name/password combination");
    /*String securityEnforceStr = ((String)((Hashtable)connEnvironment).get(PropertyMetadata.ENV_SECURITY_ENFORCE.getName()));
    if (securityEnforceStr == null || (securityEnforceStr != null && PropertyConstants.SECURITY_ENFORCE_NONE.equals(securityEnforceStr))) {
    return null;
    String username = (String) ((Hashtable) connEnvironment).get(JboContext.SECURITY_PRINCIPAL);
    String password = (String) ((Hashtable) connEnvironment).get(JboContext.SECURITY_CREDENTIALS);*/
    String username = (String) ((Hashtable) connEnvironment).get(Configuration.DB_USERNAME_PROPERTY);
    String password = (String) ((Hashtable) connEnvironment).get(Configuration.DB_PASSWORD_PROPERTY);
    boolean isUsernameEmpty = ((username == null) || (username.length() <= 0));
    boolean isPasswordEmpty = ((password == null) || (password.length() <= 0));
    if (isUsernameEmpty) {
    username = new String(mUserName.getText()).trim();
    isUsernameEmpty = ((username == null) || (username.length() <= 0));
    if (isPasswordEmpty) {
    password = new String(mPassword.getPassword()).trim();
    isPasswordEmpty = ((password == null) || (password.length() <= 0));
    if (isUsernameEmpty || isPasswordEmpty || exc != null) {
    if (!popupDialog()) {
    throw new IllegalArgumentException("Login Cancelled");
    /*((Hashtable)connEnvironment).put(JboContext.SECURITY_PRINCIPAL, mUserName.getText().trim());
    ((Hashtable)connEnvironment).put(JboContext.SECURITY_CREDENTIALS, new String(mPassword.getPassword()).trim());*/
    ((Hashtable)connEnvironment).put(Configuration.DB_USERNAME_PROPERTY, mUserName.getText().trim());
    ((Hashtable)connEnvironment).put(Configuration.DB_PASSWORD_PROPERTY, new String(mPassword.getPassword()).trim());
    return null;
    Note that I comented all those SECURITY_PRINCIPAL properties, and I set DB_USERNAME_PROPERTY and DB_PASSWORD_PROPERTY instead.
    This should be it. You'll have another problem - model generated all the queries without schema name, i.e. it's not 'select * from scott.emp', it's 'select * from emp'. If you log as user 'test', it will look for test.emp, not scott.emp. This can be solved in few ways:
    1. create public synonyms for all the tables, views, procedures etc., that you need.
    2. create after logon trigger that does alter session set current_schema=SCOTT (this is the way I did it for my project'
    3. Somewhere in ADF model add alter session set current_schema=SCOTT after it logs on to the database.

  • Lighdm login dialog maximized issue

    The login dialog on my lightdm is maximised to whole screen ( I am using lightdm-gtk-greeter ). It's happening since I updated XFCE to 4.12.. I don't really know if it's related, but prior to that udpate, lightdm login dialog had normal size, I could see my background behind. Now I can only see the background after hiting Enter key to confirm login. I already tried to reset lightdm-gtk-greeter conf but this didn't fixed anything..
    I have 2 monitors and when moving the mouse cursor between them, the login dialog switches monitor like excepted, but staying always maximized on active screen..
    This issue is happening to my laptop too.. Made xfce 4.12 update and then same lightdm dialog issue..
    Any idea ?

    Yes I already tried to merge to changes and set a clean conf file, but it didn't changed anything, this does not seem to be caused by conf.
    My lightdm-gtk-greeter.conf file contains :
    [greeter]
    background=/usr/share/backgrounds/archlinux_bg1.png
    theme-name=Boje-Orange
    icon-theme-name=AwOkenWhite
    screensaver-timeout=30
    Last edited by sigz (2015-03-17 12:30:10)

  • Poor login dialog

    When I first try login to one of the Acrobat.com products, I
    enter my username and password and then the login dialog changes to
    "Signing in" but that window, goes away after 2-3 seconds. At that
    point, it's not clear to the user whether login is successful or
    not, because you can click on other Acrobat.com products (nothing
    happens but it gives you the feeling that your login did not
    succeed). Then after 2-3 seconds (sometimes takes up to 10), you're
    taken to your product's page. I think "Signing in" window should
    stay up and as soon as it goes away, the product should come up.
    How do I open a bug for this?

    So you're telling me that it was a design decision to make
    the "Signing in" dialog go away after 2 seconds, and let the user
    sit for 10 seconds with an average connection wondering what's
    happening, while he can click on other Acrobat.com products and
    even try to sign in to those, as he's waiting for the product page
    to come up? I don't think so. You can call it bug or enhancement
    request, but it's poor user experience. I know the browser also has
    some indication that something is pending but you either use
    Flex/Flash for progress info or you use browser. When you use
    Flex/Flash for some parts, and then you switch to browser for
    progress info, then it becomes confusing.
    Is there a public bug base for acrobat.com by the way?

  • Getting login dialog for web form

    I finally got Forms 6 running on the web both with and without JInitiator, but I have been unable to make the form display the standard login box. If I just have the module name in the serverargs, the applet hangs before displaying the form. If I put in a valid USERID parameter, it displays just fine. Is there some special setting that lets the login screen appear in the applet window?

    pop-up login dialog is probably safer because you have more control over the memory and cache behavior.
    How can I create the pop-up login dialog?Learn how to do GUI programming. There are several programming languages to choose from.

Maybe you are looking for