Use WD application as login screen

Hi all,
I developed a web dynpro Abap page in portal in which i integrated a WD application. Can I use this page as logon page. If yes, how it works for me.
Please suggest.
Thanks
Sanket

I'm not sure about WD, but I'm pretty sure it would work with JSP Dyn Pages
I just made a custom self registration application, which works similarly as the portal login screen.
Basically, in authschemes.xml, you put the frontend target to point to your component name in portalapp.xml.  If the login fails (requires login), portal will redirect the user to the frontend target.  If this frontend target is your new login screen, you should be able to login using this screen.

Similar Messages

  • Can you rig Discoverer to use custom application user logins?

    This is using Discoverer 10.1.x and Oracle 10.2.x
    Instead of having database user accounts, is there a way to get Discoverer to use/recognize logins created for our application which are stored in a table?
    From what I've heard, 11i can do this but we're already gone forward with this structure and we really don't need all of the other things that come with that package.
    I've looked around and it looks like some form of implementation of the Discoverer login trigger may be able to be used but I'm still not sure.
    Thanks.
    Message was edited by:
    user526667 - changed the title

    Well let me explain as I know it - and the easiest would be to start with pre-10g.
    If you were installing Disco v4.x, then - if you have Oracle Apps installed - you could create an Apps EUL. This would mean that all users would be Apps users and when you setup the gateway info correctly in Disco Admin and Disco Desktop, when you logged in as an Apps user you would get a window displayed with the Apps responsibilities you were set up with and allow you to choose one (in Disco I mean).
    So, there was no requirement for an Applications Server middle layer.
    Then (well after v9), Disco 10g came on the scene. The 'normal' version that you'll see pushed - and by rights it's a great product with huge improvements - is to use the full blown version that requires the Oracle iAS 10g set up as well. When you do this, all the webby versions of: Disco Plus, Disco Viewer, Oracle Reports, Oracle Forms, Portals, SSO, etc. are handled in the middle iAS layer. Reason was that Oracle was tired of having multiple servers (ie: one for Forms, one for Reports, one for Disco, etc.) having to be maintained.
    So, that requirement means you HAVE to have the iAS middle layer.
    However ... you can still download - and therefore I would assume, purchase - a version (and a new one like 10g) that I think does not require the iAS middle layer. That would mean you'd be running 10g Plus, Viewer, Desktop and Admin via an Apps EUL, but not going through the iAS (as the EUL is stored in the database, not in the iAS). It may be called 'developer suite' these days, but not sure as there are different names / renames going around.
    You could easily use such a product, and then when you go to using the middle layer goodies / setup of iAS, then should be no problem as you're not altering the EUL at all per se, just connections.
    So, with the correct version of the newest software, I believe what you want to do is entirely possible - and upgrade to the iAS addition (so you get Portals and SSO) later.
    I'm sure others will comment on this, so hopefully I'm in the correct arena.
    Russ

  • Using SYSTEM Application to Login through a BSP Application

    I configured SSO2 on our server following the steps mentioned in using the SYSTEM application for logon POST. Now, the popup requesting username and password does not pop up. But I have another problem. I am not able to enter Service Users here. It is accepting only Dialog Users. Can you please help me out, as I thought service users were for using WAS based applications.
    Thank you

    Hi Gladson
    I did test with a service user with basic authentication on a WAS 6.40 system (without using system login page to check whether service user can log in) successfully. now to use the system login page SSO2 needs to be configured without that i cannot use system login page. sso2 is being configured, i will have to wait till it finishes to test it.
    However if Dezo is saying thats it not supported, it should be right as he is from SAP
    Regards
    Raja

  • Cannot display the image in Login Screen

    Hi am new J2ME..
    Here i have created a basic application of Login Screen in J2ME..i have added image in folder of my project..am using netbeans environment for this J2ME.,while am running my program it's not displaying image..
    here,if login is successfull,it will display 1 image,or else it will display another image..
    error displaying while am running this project.
    CODING
    public HelloMIDlet() {
    try{
          img1 = Image.createImage("images.jpg");
        }catch(Exception e){
          System.out.println(e.getMessage());
    public void validateUser(String name, String password) {
        if (name.equals("mani") && password.equals("mani")) {
          showMsg();
        } else {
          tryAgain();
    public void showMsg() {
        Alert success = new Alert("Login Successfully","Your Login Process is completed!",img1, AlertType.INFO);
        success.setImage(img1);
        textField.setString("");
        textField1.setString("");
        display.setCurrent(success, form);
      public void tryAgain() {
        Alert error = new Alert("Login Incorrect", "Please try again", img1, AlertType.ERROR);
            error.setTimeout(900);
        error.setImage(img1);
        textField.setString("");
        textField1.setString("");
        display.setCurrent(error, form);
    public void commandAction(Command command, Displayable displayable) {
            // write pre-action user code here
            if (displayable == form) {
                if (command == exitCommand) {
                    // write pre-action user code here
                     destroyApp(true);
                     exitMIDlet();
                    // write post-action user code here
                } else if (command == okCommand) {
                    // write pre-action user code here
                    validateUser(textField.getString(), textField1.getString());
                    // write post-action user code here
            }ERROR:
    [WARN] [rms     ] javacall_file_open: wopen failed for: C:\Documents and Settings\mca071013\javame-sdk\3.0\work\0\appdb\delete_notify.dat
    [WARN] [rms     ] javacall_file_open: _wopen failed for: C:\Documents and Settings\mca071013\javame-sdk\3.0\work\0\appdb\00000002images-6jpg.tmp
    null
    TRACE: <at java.lang.NullPointerException: 0>, Exception caught in Display class
    java.lang.NullPointerException: 0
    at hello.HelloMIDlet.showMsg(HelloMIDlet.java:233)
    at hello.HelloMIDlet.validateUser(HelloMIDlet.java:223)
    at hello.HelloMIDlet.commandAction(HelloMIDlet.java:126)
    at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46
    at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74
    at com.sun.midp.chameleon.layers.SoftButtonLayer.commandSelected(), bci=11
    at com.sun.midp.chameleon.layers.MenuLayer.keyInput(), bci=290
    at com.sun.midp.chameleon.CWindow.keyInput(), bci=38
    at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17
    at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277
    at com.sun.midp.events.EventQueue.run(), bci=179
    at java.lang.Thread.run(Thread.java:619)

    Hi am new J2ME..
    Here i have created a basic application of Login Screen in J2ME..i have added image in folder of my project..am using netbeans environment for this J2ME.,while am running my program it's not displaying image..
    here,if login is successfull,it will display 1 image,or else it will display another image..
    error displaying while am running this project.
    CODING
    public HelloMIDlet() {
    try{
          img1 = Image.createImage("images.jpg");
        }catch(Exception e){
          System.out.println(e.getMessage());
    public void validateUser(String name, String password) {
        if (name.equals("mani") && password.equals("mani")) {
          showMsg();
        } else {
          tryAgain();
    public void showMsg() {
        Alert success = new Alert("Login Successfully","Your Login Process is completed!",img1, AlertType.INFO);
        success.setImage(img1);
        textField.setString("");
        textField1.setString("");
        display.setCurrent(success, form);
      public void tryAgain() {
        Alert error = new Alert("Login Incorrect", "Please try again", img1, AlertType.ERROR);
            error.setTimeout(900);
        error.setImage(img1);
        textField.setString("");
        textField1.setString("");
        display.setCurrent(error, form);
    public void commandAction(Command command, Displayable displayable) {
            // write pre-action user code here
            if (displayable == form) {
                if (command == exitCommand) {
                    // write pre-action user code here
                     destroyApp(true);
                     exitMIDlet();
                    // write post-action user code here
                } else if (command == okCommand) {
                    // write pre-action user code here
                    validateUser(textField.getString(), textField1.getString());
                    // write post-action user code here
            }ERROR:
    [WARN] [rms     ] javacall_file_open: wopen failed for: C:\Documents and Settings\mca071013\javame-sdk\3.0\work\0\appdb\delete_notify.dat
    [WARN] [rms     ] javacall_file_open: _wopen failed for: C:\Documents and Settings\mca071013\javame-sdk\3.0\work\0\appdb\00000002images-6jpg.tmp
    null
    TRACE: <at java.lang.NullPointerException: 0>, Exception caught in Display class
    java.lang.NullPointerException: 0
    at hello.HelloMIDlet.showMsg(HelloMIDlet.java:233)
    at hello.HelloMIDlet.validateUser(HelloMIDlet.java:223)
    at hello.HelloMIDlet.commandAction(HelloMIDlet.java:126)
    at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46
    at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74
    at com.sun.midp.chameleon.layers.SoftButtonLayer.commandSelected(), bci=11
    at com.sun.midp.chameleon.layers.MenuLayer.keyInput(), bci=290
    at com.sun.midp.chameleon.CWindow.keyInput(), bci=38
    at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17
    at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277
    at com.sun.midp.events.EventQueue.run(), bci=179
    at java.lang.Thread.run(Thread.java:619)

  • Long pause after login screen on Mountain Lion

    Here's some strange behaviour I noticed on a quite fresh and clean install of Mountain Lion:
    There's a long pause (around 10 sec) after I type my password in the login screen until the Desktop is actually shown. The funny part is: if I hit the key for Mission Control during that pause, the I'm able to see the Desktop and interact with it, while the login screen is moved to the side. The Finder is fully usable but as soon as I start an application, the login screen moves back in and covers all until finally the login animation is displayed.
    I never experienced that behaviour before and always had the whole boot process in less than 15 secs. Now it takes up to 30 secs until I see the desktop.
    I already tried a lot (HardDisk Utility, permissions, LaunchAgents, LaunchDemons, StartupItems etc) with no luck. Theres nothing in the Konsole for this pause.
    Any ideas? My world won't crumble about this but I'm curious what might cause this delay.
    Thanks in advance,
    Arroyodorado

    I had no luck with that one either. Maybe Mountain Lion is not longer accepting that particular command setting. Thanks for trying to help though. If you ever find out please give me a shout.
    To recap, the Terminal commands...
    sudo defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -int 1
    and
    # Enable tap to click on a Magic Trackpad
    defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
    # Enable tap to click for the active user
    defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
    # Enable tap to click on the login screen
    defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
    ... have not worked when using OSX Mountain Lion.
    Has anyone else got any other options we could try?

  • Can we have two login screens for a particular application?

    I have an application which is sso enabled.
    Can i have another login screen, which doesnt authenticate SSO?

    I a nutshell, Yes you can have multiple login pages for one application. All you will need to do is specify which one you want to go to when you create the link to the application.
    E.g If you have an application number of 54321 and within this application you have 2 login pages number 101 and 111. You will need to use the following urls to access each one:
    http://server_name:port/pls/htmldb/f?p=54321:101
    http://server_name:port/pls/htmldb/f?p=54321:111
    I do not know about how SSO works with ApEx as I have never used it. But you can definitly have 2 separate login pages.
    Hope this helps,
    Cj

  • Calling a method(application) after the login screen

    Sorry for reposting this, but if you've read my other posts, I've managed to solve the stack overflow error. Now here's the problem, I get a successful login but the second application will not appear, I just get the login screen reappearing again. Here's the code:
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class EmailForms extends JFrame implements ActionListener {
         private JTextField jtfUserName;
         private JPasswordField jpfPassword;
         private JButton jbtLogin;
         private JButton jbtCancel;
         public JMenuItem jmiLogout, jmiAB, jmiBC, jmiMB, jmiSK, jmiNT, jmiNSR, jmiAbout, jmiCapacity;
         private HashMap users;
         public static void main (String[] args) {               
              EmailForms LoginFrame = new EmailForms();
              LoginFrame.setSize(200, 100);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = LoginFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              LoginFrame.setLocation(x, y);
              LoginFrame.pack();
              LoginFrame.setVisible(true);     
         public EmailForms () {     
              users = new HashMap();
              try {     
                   String UP1Line;
                   FileInputStream fis = new FileInputStream("UP1.txt");
                  BufferedReader br = new BufferedReader(new InputStreamReader(fis));
                  while ((UP1Line = br.readLine()) != null) {
                       String [] items = UP1Line.split(" ", 4);
                       users.put(items[0], new String[] { items[1], items[2] });
                    br.close();
                    fis.close();
              catch (IOException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              catch (NullPointerException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 2",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              setTitle("E-Forms: Login");
              JPanel jpLoginLabels = new JPanel();
              jpLoginLabels.setLayout(new GridLayout(2, 1));
              jpLoginLabels.add(new JLabel("Username:"));
              jpLoginLabels.add(new JLabel("Password:"));
              JPanel jpLoginText = new JPanel();
              jpLoginText.setLayout(new GridLayout(2, 1));
              jpLoginText.add(jtfUserName = new JTextField(10));
              jpLoginText.add(jpfPassword = new JPasswordField(10));
              JPanel p1 = new JPanel();
              p1.setLayout(new BorderLayout());     
              p1.add(jpLoginLabels, BorderLayout.WEST);
              p1.add(jpLoginText, BorderLayout.CENTER);
              JPanel p2 = new JPanel();
              p2.setLayout(new FlowLayout(FlowLayout.CENTER));     
              p2.add(jbtLogin = new JButton("Login"));
              p2.add(jbtCancel = new JButton("Cancel"));     
              getContentPane().setLayout(new BorderLayout());
              getContentPane().add(p1, BorderLayout.CENTER);
              getContentPane().add(p2, BorderLayout.SOUTH);
              jbtLogin.addActionListener(this);
              jbtCancel.addActionListener(this);
         public void actionPerformed(ActionEvent e) {
              try {
                   UserEForms myUser = new UserEForms();
                   AdminEForms myAdmin = new AdminEForms();
                   String arg = e.getActionCommand();
                   if (arg.equals("Cancel")) {
                        System.exit(0);
                        arg = "";
                   if (arg.equals("Login")) {
                        int index = find(jtfUserName.getText().trim(), new String(jpfPassword.getPassword()));
                        if (index == -1) {
                             JOptionPane.showMessageDialog(this, "Username/Password Not Found", "Email Forms: Login Error",
                             JOptionPane.INFORMATION_MESSAGE);
                        else {
                             if (index == 1 ){
                                  myAdmin.AdminSide();
                             else {
                                  myUser.UserSide();          
                   arg = "";
              catch (StackOverflowError ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
         public int find(String UName, String PWord) {
              String[] creds = (String[])users.get((Object)UName);
              if (creds != null && creds[0].matches(PWord)) {
                   if (creds[1].matches("[Yy]"))
                        return 1;
                   else
                        return 0;
              return -1;
    } import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class AdminEForms extends EmailForms {
         public AdminEForms() {     
         public void AdminSide() {
              System.out.println("1");
              AdminEForms AdminFrame = new AdminEForms();
              AdminFrame.setSize(500, 600);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = AdminFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              AdminFrame.setLocation(x, y);
              AdminFrame.pack();
              AdminFrame.setVisible(true);     
              setTitle("Admin Email Forms");
              JMenuBar jmb = new JMenuBar();
               setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmAdmin = new JMenu("Administration");
              jmb.add(jmAdmin);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmAdmin.add(jmiCapacity = new JMenuItem("Capacity Issues"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiCapacity.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);
    } import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class UserEForms extends EmailForms {
         public UserEForms() {     
         public void UserSide() {
              System.out.println("2");
              UserEForms UserFrame = new UserEForms();
              UserFrame.setSize(500, 600);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = UserFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              UserFrame.setLocation(x, y);
              UserFrame.pack();
              UserFrame.setVisible(true);     
              setTitle("User Email Forms");
              JMenuBar jmb = new JMenuBar();
              setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);
    } I've put System.out.println("1"); and System.out.println("2"); in the code and I can see that it is actually going into the Adminside and Userside methods, but there not appearing. My text file looks like this:
    9876543 9876543 Y
    0612207 0612207 N
    0123456 0123456 N
    1234567 1234567 Y
    Please can someone help me???
    Colin

    Ok, I've got the stackoverflow thing figured out. My program runs, but when it goes into either the admin or the user methods the buttons from the login methods are still visible. I've done some reading in the forums about dispose() and setVisible(false) and I've tried using them without success. Here's the code:
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class EmailForms extends JFrame implements ActionListener {
         private JTextField jtfUserName;
         private JPasswordField jpfPassword;
         private JButton jbtLogin;
         private JButton jbtCancel;
         private HashMap users;
         public static void main (String[] args) {               
              EmailForms LoginFrame = new EmailForms();
              LoginFrame.setSize(200, 100);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = LoginFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              LoginFrame.setLocation(x, y);
              LoginFrame.pack();
              LoginFrame.setVisible(true);     
         public EmailForms () {     
              users = new HashMap();
              try {     
                   String UP1Line;
                   FileInputStream fis = new FileInputStream("UP1.txt");
                  BufferedReader br = new BufferedReader(new InputStreamReader(fis));
                  while ((UP1Line = br.readLine()) != null) {
                       String [] items = UP1Line.split(" ", 4);
                       users.put(items[0], new String[] { items[1], items[2] });
                    br.close();
                    fis.close();
              catch (IOException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              catch (NullPointerException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 2",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              setTitle("E-Forms: Login");
              JPanel jpLoginLabels = new JPanel();
              jpLoginLabels.setLayout(new GridLayout(2, 1));
              jpLoginLabels.add(new JLabel("Username:"));
              jpLoginLabels.add(new JLabel("Password:"));
              JPanel jpLoginText = new JPanel();
              jpLoginText.setLayout(new GridLayout(2, 1));
              jpLoginText.add(jtfUserName = new JTextField(10));
              jpLoginText.add(jpfPassword = new JPasswordField(10));
              JPanel p1 = new JPanel();
              p1.setLayout(new BorderLayout());     
              p1.add(jpLoginLabels, BorderLayout.WEST);
              p1.add(jpLoginText, BorderLayout.CENTER);
              JPanel p2 = new JPanel();
              p2.setLayout(new FlowLayout(FlowLayout.CENTER));     
              p2.add(jbtLogin = new JButton("Login"));
              p2.add(jbtCancel = new JButton("Cancel"));     
              getContentPane().setLayout(new BorderLayout());
              getContentPane().add(p1, BorderLayout.CENTER);
              getContentPane().add(p2, BorderLayout.SOUTH);
              jbtLogin.addActionListener(this);
              jbtCancel.addActionListener(this);
         public void actionPerformed(ActionEvent e) {
              try {
                   UserEForms myUser = new UserEForms();
                   AdminEForms myAdmin = new AdminEForms();
                   String arg = e.getActionCommand();
                   if (arg.equals("Cancel")) {
                        System.exit(0);
                        arg = "";
                   if (arg.equals("Login")) {
                        int index = find(jtfUserName.getText().trim(), new String(jpfPassword.getPassword()));
                        if (index == -1) {
                             JOptionPane.showMessageDialog(this, "Username/Password Not Found", "Email Forms: Login Error",
                             JOptionPane.INFORMATION_MESSAGE);
                        else {
                             if (index == 1 ){
                                  myAdmin.AdminSide();
                             else {
                                  myUser.UserSide();          
                   arg = "";
              catch (StackOverflowError ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 1",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
              catch (NullPointerException ex){
                   JOptionPane.showMessageDialog(this, "Fatal Systems Error", "Email Forms: File Error 2",
                   JOptionPane.INFORMATION_MESSAGE);
                   System.exit(0);     
         public int find(String UName, String PWord) {
              String[] creds = (String[])users.get((Object)UName);
              if (creds != null && creds[0].matches(PWord)) {
                   if (creds[1].matches("[Yy]"))
                        return 1;
                   else
                        return 0;
              return -1;
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class AdminEForms extends EmailForms implements ActionListener {
         public JMenuItem jmiLogout, jmiAB, jmiBC, jmiMB, jmiSK, jmiNT, jmiNSR, jmiAbout, jmiCapacity;
         public AdminEForms() {          
              setTitle("Admin Email Forms");
              JMenuBar jmb = new JMenuBar();
               setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmAdmin = new JMenu("Administration");
              jmb.add(jmAdmin);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmAdmin.add(jmiCapacity = new JMenuItem("Capacity Issues"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiCapacity.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);     
         public void AdminSide() {
              AdminEForms AdminFrame = new AdminEForms();
              AdminFrame.setSize(1000, 800);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = AdminFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              AdminFrame.setLocation(x, y);
              AdminFrame.setVisible(true);     
    import java.awt.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class UserEForms extends EmailForms implements ActionListener {
         public JMenuItem jmiLogout, jmiAB, jmiBC, jmiMB, jmiSK, jmiNT, jmiNSR, jmiAbout;
         public UserEForms() {     
              setTitle("User Email Forms");
              JMenuBar jmb = new JMenuBar();
              setJMenuBar(jmb);
              JMenu jmFile = new JMenu("File");
              jmb.add(jmFile);
              JMenu jmEForms = new JMenu("Email Forms");
              jmb.add(jmEForms);
              JMenu jmHelp = new JMenu("Help");
              jmb.add(jmHelp);
              jmFile.add(jmiLogout = new JMenuItem("Logout"));
              jmEForms.add(jmiAB = new JMenuItem("Alberta"));
              jmEForms.add(jmiBC = new JMenuItem("British Columbia"));
              jmEForms.add(jmiMB = new JMenuItem("Manitoba"));
              jmEForms.add(jmiSK = new JMenuItem("Saskatchwen"));
              jmEForms.add(jmiNT = new JMenuItem("NWT"));
              jmEForms.add(jmiNSR = new JMenuItem("NSR CLLI"));
              jmHelp.add(jmiAbout = new JMenuItem("About"));
              jmiLogout.addActionListener(this);
              jmiAB.addActionListener(this);
              jmiBC.addActionListener(this);
              jmiMB.addActionListener(this);
              jmiSK.addActionListener(this);
              jmiNT.addActionListener(this);
              jmiNSR.addActionListener(this);
              jmiAbout.addActionListener(this);
         public void UserSide() {
              UserEForms UserFrame = new UserEForms();
              UserFrame.setSize(1000, 800);
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              int screenWidth = screenSize.width;
              int screenHeight = screenSize.height;
              Dimension frameSize = UserFrame.getSize();
              int x = (screenWidth - frameSize.width)/2;
              int y = (screenHeight - frameSize.height)/2;
              UserFrame.setLocation(x, y);
              UserFrame.setVisible(true);     
    }I'm thinking on using setVisible(false), but then again seeing that the login method isn't being used once you have a successful login, the dispose() method would be better. If you copy and paste my program, you'll clearly see my problem. Thanks.
    Text file:
    9876543 9876543 Y
    0612207 0612207 N
    0123456 0123456 N
    1234567 1234567 Y
    Colin

  • Export Display (Login Screen) - How to use in MAC OSX LION !?!?!

    I'm having problems with exporting my display. I'm trying to connect and enable the connection between twoMAC OS X SERVER LION. and is not working. I want to begin a process that only after the user login is working. How to do this anyway? because no remote program is working except SSH, which I can shutdown, logoff, and reboot. But I can not export the login screen from one machine to another, how do?? need much help ....
    I tried to do as the example below:
    ssh-X remote_host_name 
    1) Warning: No xauth data; using fake authentication data for X11 forwarding.
    MacBook-Pro-for-Isa: ~ $ export DISPLAY = localhost_IP: 0.0
    MacBook-Pro-for-Isa: ~ $ xclock (user)
    Error: Can not open display: localhost_IP: 0.0
    2) MacBook-Pro-for-Isa: ~ $ ssh-Y Sebba@LOCAL_IP
    password:
    Warning: No xauth data; using fake authentication data for X11 forwarding.
    MacBook-Pro-for-Isa: ~ $ export DISPLAY = LOCAL_IP: 0.0
    MacBook-Pro-for-Isa: ~ $ xclock Sebba
    Error: Can not open display: LOCAL_IP: 0.0
    I do not know if I'm using the correct command, but enabled in sshd_config
      ForwardAgent yes
      ForwardX11 yes
    Fire up X11.app (It's located in / Applications/Utilities/X11.app)
    On Mac box: X11 go to preferences and enable "Allow connections from network clients" (Make sure it lookslike below)
    restart X11.app
    Open a terminal and in the X11: xhost +
    ssh to your linux box and do: export DISPLAY = IP_OF_MAC_BOX: 0.0
    true??
    If anyone knows how to use help me, I need examples of how it works if there is more to be set somewhere.
    Regards
    Leonardo Sebba

    windmarble wrote:
    I use to be able to turn off my displays by hitting "lock screen" in keychain access in Snow Leopard.
    Really? Want to show me that button or setting that allows that? AFAIK, System Preferences->Security->General->is where you set that when the machine sleeps or screensaver activates. Accordingly, I'm only aware of a hot corner triggering those two options and the behavior remains the same in Lion, even though the prefPane's name is slightly changed.

  • Login error with correct u/p using Oracle Application Server / BPEL

    Hello,
    We are using Oracle 11g and BPEL 10.1.3.4. We had everything working fine until earlier this week. We were receiving an exception when accessing the database from our BPEL process.
    Unable to establish connection to "iCareConnectionPool". Error message: Exception occurred testing connection. Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied.
    I went into the Application Server control and tested the data source and connection pool and they both failed with the login error. The userid and password being submitted is correct. I checked the data-source.xml file and the id/password looked good. Here are the steps I performed.
    On BPEL server:
    1)     Deleted connection pool iCareConnectionPool, data source, iCareDataSource, and removed /eis/db/iCareDataSource from the DBAdapter.
    2)     Created new connection pool – iCareConnectionPool using jdbc:oracle:oci:@//<host>:1521/ORCL with userid IDS
    3)     The connection pool test was successful. Clicked finish to create connection pool
    4)     From the JDBC resources screen, I tested the connection pool and it failed with invalid logon error.
    5)     Modified connection pool to use IDS2 and it worked.
    6)     Modified connection pool to IDS and it failed.
    7)     Modified connection pool to jimc and it worked.
    On Database:
    1)     Created new schema/user ICAREIDS
    2)     Connected using SQL Developer and I could connect
    On BPEL Server:
    1)     Deleted connection pool
    2)     Created connection pool iCareConnectionPool using jdbc:oracle:oci:@//<host>:1521/ORCL with userid IDS
    3)     The connection pool test was successful. Clicked finish to create connection pool
    4)     From the JDBC resources screen, I tested the connection pool and it failed with invalid logon error.
    5)     Modified connection pool to use IDS2 and it worked.
    6)     Created new connection pool TestPool – same results
    7)     Tried jdbc:oracle:thin:@//<host>:1521/ORCL - same results
    On my local system BPEL server:
    1)     Created connection pool iCareConnectionPool using jdbc:oracle:oci:@//<host>:1521/ORCL with userid IDS
    2)     The connection pool test was successful. Clicked finish to create connection pool
    3)     From the JDBC resources screen, I tested the connection pool and it failed with invalid logon error.
    4)     Modified connection pool to use IDS2 and it worked.
    5)     Modified connection pool to use ICAREIDS and it failed.
    Since it failed on two different BPEL server's, I am wondering if it is something with the database. I can connect using existing schema's but not IDS or any new schemas. However, I can connect to any schema using any other tool like SQL Developer.
    Can anyone provide an insight as to what could be happening here.
    Thanks,
    Jim

    I found the problem and wanted to pass on the solution in case any one else runs into this problem.
    With Oracle Database 11g the passwords are now case sensitive. Because the BPEL server is using 10g drivers the login fails if you have capital letters in your password.

  • I have OSX 10.5.7 on my Intel Mac. When I try to login using the correct password the screen goes white and just returns back to the login screen. It does not jiggle like when you enter the wrong password.

    I have had a number of issues with my Intel Mac recently and had to reboot using disk utilities, safe mode, OSX recovery, but always come back to the login screen but when I type my password the screen goes white and returns to the login screen. My password is correct and the login does not jiggle as it would if the password was wrong. Please advise,

    Back up all data if you haven’t already done so. There are ways to back up, even if you can’t log in. Before proceeding,you must be sure you can restore everything to the state it’s in now. If you’re not sure you can do that, STOP.
    The procedure below may spare you the need for a clean reinstallation of OS X. If you don't feel comfortable carrying it out, don't. try.
    Briefly, you need to delete the following file:
    /var/audit/current
    If you already know how to do that, you can skip the rest of this message. Do it, and try again to log in.
    Boot in single-user mode by holding down the key combination command-S at the startup chime. If you’re using an external USB keyboard, it must be plugged directly into a built-in port on the Mac, not into a hub. Release the keys when you see a black screen with scrolling white text. In this mode, there’s no graphical interface; just a command line. Initially, you can’t make any changes to files.
    When the text stops scrolling, and you see a line ending in a pound sign (“#”), type the following command:
    mount -uw /
    You must type the command exactly as given, with no mistakes. If you don’t feel able to do that, STOP. At this stage, no harm will be done if you make a mistake, but later, it will be. Press the return key.
    Next, type the following command:
    rm -i /var/audit/current
    Press return. You should get the following output:
    remove /var/audit/current?
    If that's not what you get, STOP. Type the single letter N, press return, and try again. Otherwise, type the single letter Y and pressreturn.
    Finally, enter the command:
    exit
    Press return. The text will start scrolling again, and then the system will reboot. Try again to log in.
    Credit for this solution to ASC user AnthonyTW.

  • We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it

    We just moved from the United States to Costa Rica.  The first two days my mac worked great.  Then all of a sudden I was trying to use a game application and the screen went black and there is a white cursor which I can move around, but I can't escape it. When I restart it seems okay and I see my main screen, but only for a second and then it goes black again. 
    This computer was brand new in June.  Is it the humidity???   What can I do.  Please help!!!!

    No guarantess but try smc and pram resets,

  • Ios7 bookamrking web application to home screen via Safari crashes after login and when we try to open any link inside. Can anyone please tell me if there is any scheduled fix for this bug in safari?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

  • Hi...m using a mac pro quad core.....its not booting up...i can only  see the apple logo and a circle loading...could not get into the login screen

    hi...m using a mac pro quad core.....its not booting up...i can only  see the apple logo and a circle loading...could not get into the login screen...any suggestions please.....m in the middle of a project and now i have got this one
    regards,
    v.s.bharan

    Welcome to Apple Discussions!
    Do you keep your data backed up?
    If not, you should always do so*:
    http://www.macmaps.com/backup.html
    You never know when a hard drive or a directory might go bad.  Having a bootable clone is a must.
    That link also shows you some tools you can use to recover data.
    If you aren't backed up, try buying those tools first, before attempting to repair the directory.
    Directory issues can be fixed with these tools*:
    http://www.macmaps.com/directoryfaq.html

  • Login screen before the actual application in an applet.

    Hi all,
    I'm really looking for a tutorial or something but I haven't managed to get the wording right in my google searches.
    I have an applet that is communicating with a server. Before getting access to the applet as such I would like a login screen. This is not there for the purposes of security but rather which server to work against.
    I'm having a bit of problem with the GUI - what would be the best way of doing this?
    When you hit the webpage and the applet loads there will be 3 test fields and 3 input boxes - one being a password box. and finally a OK button.
    The OK button will call a function I already have that will verify that the credentials are OK and pass back a yay or nay - if I get a nay I want to stay on the login page.
    If I get a yay - and this is where I don't know what to do. I want a complete GUI redraw of the new components.
    I have tried to put all components into the one window and hide-and-show them as required but this just turns into a complete mess. I have the second window already - and I'm quite happy with it so I really want a brand new login window and switch from one to the other without having to resort to the messy hack I'm currently using.
    I'm sure I'm missing something pretty basic here so if someone could please guide me towards a tutorial I'd appreciate it.
    thanks,
    Dan

    That's exactly what I was looking for.
    thanks!

  • Why after logging in with my account on facetime it tells me to pick an email account to be used then when I hit next it sends me back to login screen?

    When I attempt to set up facetime it asks me to log in with my account. After doing this it takes me to a screen telling me to pick an email address to use. I only have one so it is set by default. After hitting next it takes me back to the login screen. This is a seemingly infinite loop. Any suggestions?

    Try a different browser. Try OpenDNS servers.

Maybe you are looking for