CFSchedule : Username & Password Scope

When using username and password attributes of cfschedule (or in CFAdmin), what scope or how do I reference them (username and password)?  Do they come in as attributes or form variables?
Thank you.

According to the documentation, the username and password is used for HTTP authentication.  If you are using basic authentication, the username/password would be available in the cgi scope
Username : #cgi.auth_user#<br>
Password : #cgi.auth_password#<br>

Similar Messages

  • "ORA-01017 invalid username/password: logon" --- Help Please !!!

    Hello Peter,
    Sorry for sending an unexpected mail.
    I am stuck and really want your help. I have seen your email address on OTM website.
    Aim: To run the JAVA code samples provided in Oracle 9i DATA MINING suite
    on windows 2000.
    I have installed Oracle 9i enterprise edition and
    also Oracle 9i Data mining (ODM).
    I have lot of problems in username/password authentication.
    everytime I run the ODM setup, irrespective of the default
    name/password
    which is ODM/odmpw it says "ORA-01017 invalid username/password: logon"
    I was just working on the Oracle 9i DataMining installation and found something really interesting
    I was wondering if you can solve this:
    1. I created user SCOTT and ODM using SQL Plus queries by logging system/manager.
    and when I typed "select username from dba_names" it gave me ODM and SCOTT as
    users and hence I was happy.
    2. Then I uninstalled DATA MINING suite and reinstall it thinking this time it should
    get ODM/odmpw as username and password as and DBA user/password being
    system/manager. When uninstalling DATA MINING suite ODM user gets dropped
    and when reinstalling ODM suite, it never make ODM user back in Oracle 9i database.
    Hence it is not finding ODM user anymore and hence "ORA-01017 invalid username/password: logon"
    error occurs.
    Now can you tell me what can be done in order to make the ODM recreate when installing
    DATA MINING suite.
    Please reply me as I am badly stuck.
    I at least know why problem is occurring now looking for solution.
    Thanks
    Nishant

    I was reading on gogole
    i have set
    alter system set SEC_CASE_SENSITIVE_LOGON=false scope=spfile;
    now i can connect from sqlplus
    sqlplus SYSTEM/password
    also
    sqlplus SYSTEM/password@localhost:1521/XE
    also :
    From GUI i can connect to oracle db from http by port 8080
    but its seems like oracle VM manager does not connect ...
    example
    Would you like to install Oracle Database 11g Express Edition (XE) or connect to an existing Oracle database?
    1: Install Oracle Database 11g XE
    2: Use an existing Oracle database
    Select Number (1-2): 2
    Enter the Oracle Database hostname [localhost]:
    Enter the Oracle Database System ID (SID) [XE]:
    Enter the Oracle Database SYSTEM password:
    Enter the Oracle Database listener port [1521]:
    Enter the Oracle VM Manager database schema [ovs]:
    Enter the Oracle VM Manager database schema password:
    Enter the Oracle VM Manager database schema password (confirm):
    Oracle Weblogic Server 11g
    ==========================
    Enter the Oracle WebLogic Server 11g user [weblogic]:
    Enter the Oracle WebLogic Server 11g user password:
    Enter the Oracle WebLogic Server 11g user password (confirm):
    Oracle VM Manager application
    =============================
    Enter the username for the Oracle VM Manager administration user [admin]:
    Enter the admin user password:
    Enter the admin user password (confirm):
    Verifying configuration ...
    The database could not be reached using the provided connection info.
    ORA-01017: invalid username/password; logon denied
    Configuration verification failed ...
    can any one please help me

  • ORA-01017: invalid username/password; logon denied(Please help)

    Hi
    I have read few thread of the above problem..but still i cant figure out where is the problem..
    i am installing oracle vm manager 3.0.1
    i m following this
    http://www.oracle-base.com/articles/vm/OVM3Installation.php
    i have added the following lines to /etc/pam.d/login
    session required /lib/security/pam_limits.so
    session required pam_limits.so
    permission for u01 is as fofollows:::
    drwxrwxr-x 3 oracle oinstall 4096 Sep 6 2011 u01
    and i have set the password for "oracle" user
    and i am keeping same password for every account
    but i am seeing bellow error
    Retrieving Oracle Database 11g XE ...
    Installing Oracle Database 11g XE ...
    Configuring Oracle Database 11g XE ...
    Step 2 of 9 : Java ...
    Installing Java ...
    Step 3 of 9 : Database Schema ...
    Creating database schema 'ovs' ...
    Failed to find Oracle VM schema in Oracle Database
    ORA-01017: invalid username/password; logon denied
    can any one please please help me with this problem
    i am realy stuck
    if i hvae to setup enviromental variable.. could you please tel me how ... if that is the reason for this problem..
    im confused about oracle path : ref: http://www.oracle-base.com/articles/11g/OracleDB11gR1InstallationOnEnterpriseLinux4and5.php
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1; export ORACLE_HOME
    ORACLE_SID=DB11G; export ORACLE_SID
    ===================
    what will i put for ORACLE_HOME, because my path is like
    cd /u01/app/oracle/product/11.2.0/xe/
    I dont have db_1 ..
    Please some one give me some light..
    thanks
    Edited by: 881083 on 05-Sep-2011 16:15
    Edited by: Fosiul on 06-Sep-2011 15:08

    I was reading on gogole
    i have set
    alter system set SEC_CASE_SENSITIVE_LOGON=false scope=spfile;
    now i can connect from sqlplus
    sqlplus SYSTEM/password
    also
    sqlplus SYSTEM/password@localhost:1521/XE
    also :
    From GUI i can connect to oracle db from http by port 8080
    but its seems like oracle VM manager does not connect ...
    example
    Would you like to install Oracle Database 11g Express Edition (XE) or connect to an existing Oracle database?
    1: Install Oracle Database 11g XE
    2: Use an existing Oracle database
    Select Number (1-2): 2
    Enter the Oracle Database hostname [localhost]:
    Enter the Oracle Database System ID (SID) [XE]:
    Enter the Oracle Database SYSTEM password:
    Enter the Oracle Database listener port [1521]:
    Enter the Oracle VM Manager database schema [ovs]:
    Enter the Oracle VM Manager database schema password:
    Enter the Oracle VM Manager database schema password (confirm):
    Oracle Weblogic Server 11g
    ==========================
    Enter the Oracle WebLogic Server 11g user [weblogic]:
    Enter the Oracle WebLogic Server 11g user password:
    Enter the Oracle WebLogic Server 11g user password (confirm):
    Oracle VM Manager application
    =============================
    Enter the username for the Oracle VM Manager administration user [admin]:
    Enter the admin user password:
    Enter the admin user password (confirm):
    Verifying configuration ...
    The database could not be reached using the provided connection info.
    ORA-01017: invalid username/password; logon denied
    Configuration verification failed ...
    can any one please help me

  • XDB  username & password Required in Apex 4.0.1

    Hello,
    i have installed the Apex 4.0.1 on Oracle 11g R 2 windows 2003 R2.
    i installed the apex 4.0.1 using Embendded PL/SQL Gateway method.
    after installation when i run in url = http://localhost:8080/pls/apex/apex_admin it pop up one small window which required XDB username & password.
    i do not understand what to do to resolve this issue.
    i installed the apex by follwoing steps.
    please help.
    Thanks
    ---- Apex Installation Steps ---
    @apexins SYSAUX SYSAUX TEMP /i/
    @apxchpwd
    @apex_epg_config.sql c:\apex_4.0.1
    ALTER USER ANONYMOUS ACCOUNT UNLOCK;
    EXEC DBMS_XDB.SETHTTPPORT(8080);
    DECLARE
    ACL_PATH VARCHAR2(4000);
    ACL_ID RAW(16);
    BEGIN
    -- Look for the ACL currently assigned to '*' and give APEX_040000
    -- the "connect" privilege if APEX_040000 does not have the privilege yet.
    SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS
    WHERE HOST = '*' AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;
    -- Before checking the privilege, ensure that the ACL is valid
    -- (for example, does not contain stale references to dropped users).
    -- If it does, the following exception will be raised:
    -- ORA-44416: Invalid ACL: Unresolved principal 'APEX_040000'
    -- ORA-06512: at "XDB.DBMS_XDBZ", line ...
    SELECT SYS_OP_R2O(extractValue(P.RES, '/Resource/XMLRef')) INTO ACL_ID
    FROM XDB.XDB$ACL A, PATH_VIEW P
    WHERE extractValue(P.RES, '/Resource/XMLRef') = REF(A) AND
    EQUALS_PATH(P.RES, ACL_PATH) = 1;
    DBMS_XDBZ.ValidateACL(ACL_ID);
    IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, 'APEX_040000',
    'connect') IS NULL THEN
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,
    'APEX_040000', TRUE, 'connect');
    END IF;
    EXCEPTION
    -- When no ACL has been assigned to '*'.
    WHEN NO_DATA_FOUND THEN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    'ACL that lets power users to connect to everywhere',
    'APEX_040000', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    commit;
    SELECT par_value FROM ctxsys.ctx_parameters WHERE par_name = 'FILE_ACCESS_ROLE';
    CREATE ROLE APEX_URL_DATASTORE_ROLE;
    GRANT APEX_URL_DATASTORE_ROLE to APEX_040000;
    EXEC ctxsys.ctx_adm.set_parameter('file_access_role', 'APEX_URL_DATASTORE_ROLE');
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES =1000;
    ALTER SYSTEM SET SHARED_SERVERS = 5 SCOPE=BOTH;

    Hi All,
    there is some thing wrong in documentation of Apex 4.0.1
    when i read to configure Embadded Pl/SQL gateway i followed everything from documentation and after instllation it is mentioned how to login to Apex as follwoing.
    http://hostname:port/pls/apex/apex_admin
    in following statment which i copied from documentation does not describe anything for "PLS". which is making confussion to me that there is something i missed during installation.
    3.4.12.1 Creating a Workspace Manually
    To create an Oracle Application Express workspace manually:
    1.Log in to Oracle Application Express Administration Services. Oracle Application Express Administration Services is a separate application for managing an entire Oracle Application Express instance. You log in using the ADMIN account and password created or reset during the installation process.
    a.In a Web browser, navigate to the Oracle Application Express Administration Services application.
    Because your setup uses the embedded PL/SQL gateway, go to:
    http://hostname:port/pls/apex/apex_admin
    Where:
    hostname is the name of the system where Oracle XML DB HTTP server is installed.
    port is the port number assigned to Oracle XML DB HTTP server. In a default installation, this number is 8080.
    apex is the database access descriptor (DAD) defined in the configuration file.
    where as for installation chossing HTTP server it states to login by following
    3.3.12.3 Logging in to Your Workspace
    Once you create a workspace, you must log in to it using your login credentials (that is, the workspace name, user name, and password).
    See Also:
    See "Creating Workspaces" and "Managing Workspace Requests" in Oracle Application Express Administration Guide
    To log in to your workspace:
    1.In a Web browser, navigate to the Oracle Application Express Login page.
    Because your setup uses the Oracle Application Express Listener, go to:
    http://hostname:port/apex
    Where:
    ◦hostname is the name of the system where Oracle XML DB HTTP server is installed.
    ◦port is the port number assigned to Oracle HTTP Server. In a default installation, for Oracle WebLogic Server this number is 7001, in OC4J this number is 8888, in Oracle Glassfish Server this number is 8080. These defaults are correct at the time this document was written. Please review the related Web server documentation for the latest default port if necessary.
    ◦apex is the mount point defined in the Web Server configuration file.
    -what is your opnion ??
    please reply
    Suhaib

  • Error when starting Firefox 3.6. "Javascript Application error. Invalid username/password combination. If you continue to get this error, try entering your email address as your username." Any suggestions on what to look for to resolve this?

    When starting Mozilla Firefox 3.6, I get an error window which opens up additionally overtop my browser windows stating:
    "Javascript Application"
    followed with :
    "Invalid username/password combination. If you continue to get this error, try entering your email address as your username."
    Obviously it is happening with one of my email addresses/usernames & password combinations of which I know the username for (which I choose not to post here) and I'm not sure where to begin looking for a resolution to this problem.

    I was able to resolve this by disabling (under Tools - Add-ons) Yahoo! Mail Notifier
    Hope this helps some of you also!

  • Using SSO username/password in java portlet for Database Connection

    Hi all,
    We implemented java portlet with environment Oracle Application server 10.1.2 and Portal 10.1.4
    At present we are picking the database username and password and connect string in properties and our
    java class is reading the properties file and connecting to database to fetch the records.
    Our idea is to not to pick the username/password and connect string from the properties file or
    not to configure the datasource in data_source.xml.
    Our Requirement is who ever login to the Portal(SSO) our java class should pick the sso username/password and
    connect to database to fetch the record(s).
    Because our database users are one to one mapped to sso user(s) of portal.
    We request anyone to guide us how can we do it or suggest any suitable solution for our requirement.
    Thanks
    Dan Tey

    I think this is a no-go, since you cannot retrieve a cleartext password from the OID if I'm correct.

  • How do I setup Forms not to ask RAD username/password when opening a form

    Good day
    I have setup oid and sso and they work I can sign on to database with an oid user using sqlplus.
    If I set SsoDynamicResourceCreate=true and enter the user id and password in at the popup it works correct and won’t even ask it again
    What I want to know how can set portal to use a RAD/DAS without prompting for a username password.
    We need to do this for all +/- 30000 users and if so how do we do it pragmatically.
    I think because I don’t have much APPS experience I basically don’t know where this must be set globally
    APPS is version 10.1.2
    Regards
    Cliff
    Message was edited by:
    cliffnel

    Got solution in metalink note 262686.1
    Goto <infrastructure :port>/oiddas
    Click Configuration Tab
    Click Preference Tab
    Create Default RAD for database

  • How do I use my WET54g with a wireless system that asks for username & password

    Hotels and other systems let you use theiur wireless for a fee.  You go onto your wireless laptop, and it automatically goes to a page where you pay and sign up (or it asks for a username and password), once that is done, you can use the network.
    How do I allow my WET54g to know this password information, and work on the network?
    thanks
    Michael

    The WET54g allows you to accept a wireless signal and connect it to a wired hub.  I want to intercept the wireless signal and use it on my hub.
    I know I can use one computer if I connect to the signal using my laptop's wireless card, but I want the WET54g to accept the signal.
    For example, currently at my office, I use the WET54g to intercept a wireless signal from the front of my building, to the back of my building about 300ft away (this way I didnt have to run wires).  The WET54g then is hooked up to a hub/switch where I have a bunch of other computers/servers.  Everything from the front of my building and back of the building are joined using this WET54g.  The WET54g is set up to find the signal from the front of my building, and therefore it works fine.
    I want to use the hotel signal, the same way, except there is no way to enter in the username/password into the WET54g, or maybe there is..  Does this make sense to you? 

  • A1 returning "username/password incorrect" messages on websites

    I can't find other posts with this problem so I hope I don't show my ignorance here, but I can't believe I am the only one...
    I recently purchased an IdeaPad A1-07 running Android 2.3.4. I attempted to update the system right out of the box, but the updater reported that I was up to date, so that should be set (I would think...). I downloaded the Netflix app from the Andriod app store (the A1 did not include it preloaded), and attempted to launch it. It launched fine into the login screen, but when entering the login info, the app returned a incorrect username/password error. I confirmed the info by logging in on through my PC to the Netflix site. I un-installed then re-installed the app with the same result. I then attempted to go to the website through the A1 browser and login there. Same result. Panicking, I attempted to use the A1 browser to login to FaceBook. Same result.
    Here is the strangest part: I attempted to login to the same websites using the browser on my HTC Android Incredible 2 running Android 2.3.4, and was able to login in successfully to both sites.
    Does anyone know what is going on here and how to fix it? This is a real deal breaker for me since I purchased this tablet specifically to use  with sites like Netflix and FaceBook, and I really don't know what else to do other than to try to return it and get a refund. Please help!
    Solved!
    Go to Solution.

    Success! The GO keyboard app pre loaded by Lenovo wasn't the problem, but the input settings (Auto Capitalization, display suggestions, auto complete, auto space and key correction) were. Display suggestions probably wasn't part of the issue, but its just plain annoying, so I turned that off as well. I suspect that one of the other "auto" features was slipping in a character or space or two behind my back. I turned them all off, and no longer have an issue. I suspect that it was only one of them, but I would have had to run multiple experiments to narrow down the culprit, and I really don't want to bother. None of those things help me more than they hinder me anyway.
    Find the settings under: settings/language & ketboard settings/Go keyboard for Lenovo/input setting. Good luck!

  • I changed my sim on my iPhone n reconfigured iMessage, it configured with my number but when i sign in with my apple id it says username/password is wrong while in all other things like FaceTime, App Store it worked with the same id and password

    i changed my sim on my iPhone n reconfigured iMessage, it configured with my number but when i sign in with my apple id it says username/password is wrong while in all other things like FaceTime, App Store it worked with the same id and password..
    can anyone help me to solve this issue

    i just opened my ipad, started my apple account/I.D. and realized I put the wrong e mail. I was having trouble correcting my I.D on the Ipad so I went to my laptop and make the proper changes/slash e mail address I wanted for my apple ID. I got back to my ipad and try to download an app I can't because I have to sign in my apple account and I can't because it still has the irrelivant I.D/email address..
    So, i did what you said.. went to setting>app store> tapped on my e mail.. it asked me to sign in (with my invalid emails address showing). I signed in with the password I had created. It said "incorrect".. I went to reset password. I reset password, tried to sign in and it says again "unvalid password".. this is getting irritating.  I have been asking and no one knows what to do.

  • ASA 5505 ASDM username / password

    Hello everyone,
    I completed the PIX 515 to ASA 5505 migration today with no problems - ok one problem with the logon for ASDM.
    I'm trying no username and password - then using username and password from the 515 Pix with no success.
    Anyone know how to reset the username and password for the ASDM GUI website.
    Thank you

    Ummm,
    Did you possibly try the default username/password combination? (cisco/cisco) It should then prompt you to change these settings once you gain access. I'm not familiar with how the migration works, if it transitions the user accounts over or you end up starting from scratch. Give that a try and hopefully it gets you into your new system.

  • Problems setting up username & password for SQL

    Due to the outstanding advice I recieved from this excellent forum, I have managed to overcome my first problem with declaring a new Class.
    This leads me to request help with my next biggest problem:
    Setting up a user GUI that takes a "username" & "password" that will be used to access a password protected database.
    I am a simple bloke, with simple thought processes, so please, go easy on me...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    public class DBQuery1 {
         String username = "" , password = "";
         public static void main(String[] arguments) {
              PassDB UPass = new PassDB();
              String data = "jdbc:odbc:JavaTestDataBase";
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   Connection conn = DriverManager.getConnection(data, "" + username, "" + password);
                   Statement st = conn.createStatement();
                   ResultSet rec = st.executeQuery(
                        "SELECT Title, ContactID, First, Last, Dear FROM Contacts "
                        + "WHERE (Title='Mr') ORDER BY ContactID");
              /*     ResultSet rec2 = st.executeQuery(
                        "SELECT Subject, ContactID FROM Calls "
                        + "WHERE (Subject Is Not Null) ORDER BY ContactID");
              System.out.println("\nFirst Name\tSurname\t\tNick Name\t\tSubject\n");
              while(rec.next()) {
                   System.out.println(rec.getString(3) + "\t\t" + rec.getString(4) + "\t\t" + rec.getString(5) /* + rec2.getString(1) */ );
              st.close();
              catch (SQLException s) {
                   System.out.println("SQL Error: " + s.toString() + " " + s.getErrorCode() + " " + s.getSQLState());
              catch (Exception e) {
                   System.out.println("Error: " + e.toString() + e.getMessage());
    class PassDB extends javax.swing.JFrame implements ActionListener {
         String username = "", password = "";
         JTextField uname = new JTextField(10);
         JTextField pword = new JTextField(10);
         // JPasswordField pword = new JTextField(10);
         PassDB() {
              super("duBe's database logon");
              setSize(220, 160);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              JPanel pane = new JPanel();
              JLabel unameLabel = new JLabel ("Username: ");
              JLabel pwordLabel = new JLabel ("Password: ");
              JButton submit = new JButton("OK");
              submit.addActionListener(this);
              pane.add(unameLabel);
              pane.add(uname);
              pane.add(pwordLabel);
              pane.add(pword);
              pane.add(submit);
              setContentPane(pane);
              setVisible(true);
         public void actionPerformed(ActionEvent evt) {
              PassDB clicked = (PassDB)evt.getSource();
              username = uname.getText();
              password = pword.getText();
    This code generates two errors, stating:
    C:\Java_progs>javac DBQuery1.java
    DBQuery1.java:14: non-static variable username cannot be referenced from a static context
    Connection conn = DriverManager.getConnection(data, "" +
    username, "" + password);
    ^
    DBQuery1.java:14: non-static variable password cannot be referenced from a static context
    Connection conn = DriverManager.getConnection(data, "" +
    username, "" + password);
                    ^
    2 errors*****************************
    The code works when I remove the reference to the variables "username" & "password" in Connection "conn" call & replace them with the actual username & password, but this is not exactly what I was after. I was hoping to make the program responsive to each individual user, not set in code.
    I also would like to make the program pause after the call in "main" to "PassDB" to wait for "PassDB" to exit before continuing.
    I would also like to make "PassDB" destroy itself after the "OK" button is pressed & the "username" & "password" set.
    If that isn't enough for you, I would really like the program to search 2 different database tables, return their values & compare them to be sure that they are the same.
    When I try & search 2 different tables, as in:
    ResultSet rec = st.executeQuery(
                        "SELECT Title, ContactID, First, Last, Dear FROM Contacts "
                        + "WHERE (Title='Mr') ORDER BY ContactID");
                   ResultSet rec2 = st.executeQuery(
                        "SELECT Subject, ContactID FROM Calls "
                        + "WHERE (Subject Is Not Null) ORDER BY ContactID")javac tells me that "ResultSet" is set to null 0
    As always, I am extremely appreciative of any assistance you are able to offer.
    Kind regards
    duBedat
    [email protected]

    This is where I'm at now:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    public class DBQuery {
         static String username = "" ;
         static String password = "" ;
         public static void main(String[] arguments) {
         PassDB UPass = new PassDB();
         String data = "jdbc:odbc:JavaTestDataBase";
         try {
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              Connection conn = DriverManager.getConnection(data, "" + DBQuery.username, "" + DBQuery.password);
              Statement st = conn.createStatement();
              ResultSet rec = st.executeQuery(
              "SELECT Title, ContactID, First, Last, Dear FROM Contacts "
              + "WHERE (Title='Mr') ORDER BY ContactID");
              /*     ResultSet rec2 = st.executeQuery(
                   "SELECT Subject, ContactID FROM Calls "
                   + "WHERE (Subject Is Not Null) ORDER BY ContactID");
              System.out.println("\nFirst Name\tSurname\t\tNick Name\t\tSubject\n");
              while(rec.next()) {
                   System.out.println(rec.getString(3) + "\t\t" + rec.getString(4) + "\t\t" + rec.getString(5) /* + rec2.getString(1) */ );
              st.close();
         catch (SQLException s) {
              System.out.println("SQL Error: " + s.toString() + " " + s.getErrorCode() + " " + s.getSQLState());
         catch (Exception e) {
              System.out.println("Error: " + e.toString() + e.getMessage());
    class PassDB extends javax.swing.JFrame implements ActionListener {
         static boolean getOut = false;
         JTextField uname = new JTextField(10);
         JTextField pword = new JTextField(10);
         // JPasswordField pword = new JTextField(10);
         public PassDB() {
              super("duBe's database logon");
              setSize(220, 160);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              JPanel pane = new JPanel();          
              JLabel unameLabel = new JLabel ("Username: ");
              JLabel pwordLabel = new JLabel ("Password: ");
              JButton submit = new JButton("OK");
              submit.addActionListener(this);
              pane.add(unameLabel);
              pane.add(uname);
              pane.add(pwordLabel);
              pane.add(pword);
              pane.add(submit);
              setContentPane(pane);
              while(getOut == false)
                   setVisible(true);                         
         public void actionPerformed(ActionEvent evt) {
              PassDB clicked = (PassDB)evt.getSource();
              DBQuery.username = uname.getText();
              DBQuery.password = pword.getText();
              getOut = true;               
    }          Any advice is greatly appreciated
    duBe

  • Problem with username/password using SQLAuthenticator

    I want to setup SQLAuthenticator but authentication is refused because wrong username/password.
    I am using JDev Studio Edition Version 11.1.2.1.0 with integrated WLS.
    As a base I take this two URLs:
    http://weblogic-wonders.com/weblogic/2010/03/11/configuring-sql-authenticator-with-weblogic-server/ and
    http://biemond.blogspot.com/2008/12/using-database-tables-as-authentication.html
    1. I create db tables (default table names for SQLAuthenticator), but don't fill users and groups - OK
    2. In WLS I create new SQLAuthenticator Authentication provider inside deafult realm myrealm - OK
    3. I put this provider to the top among all three providers
    4. In JDev I configure ADF Security - define Enterprise Roles to matching to the names in GROUPS table of SQLAuthenticator - ??
    5. I Define Application users and roles and setup Resource grants
    6. I run my application
    7. In database tables USERS, GROUPMEMBERS, GROUPS I can see users and roles from Jdev, that means, at deploy time, this tables are filled too
    8. In WLS I can see Users and Groups under myrealm which are transfered at deploy time and mirrors USERS, GROUPMEMBERS, GROUPS
    9. In USERS table I can see password is encripted by {SHA-1}
    But when try to login I am always rejected with "Invalid username or password".
    Before setting up SQLAuthenticator (only default options) the logins were successful, so application shold be OK.
    I try also with Plaintext Passwords Enabled and put into USERS table unencripted password, but without success.
    I can confirm that SQLAuthenticator mechanism actually get password from USERS table. I replaced default SQL for getting password from
    SELECT U_PASSWORD FROM USERS WHERE U_NAME = ?
    to
    select get_pwd(?) as U_PASSWORD from dual. In my get_pwd PL/SQL function I perform logging in I can see that this function was called.
    So the problem is in WLS when comparing passwords.
    Any suggestions, where to start digging?
    Ragards,
    Sašo
    Edited by: Sašo C. on 5.10.2011 7:26
    Edited by: Sašo C. on 5.10.2011 7:32

    The problem is solved! Crucial was hint from http://biemond.blogspot.com/2008/12/using-weblogic-provider-as.html:
    The Control Flag for my new SQLAuthenticator Authentication provider must be changed from Optional to Sufficient AND
    the Control Flag for existing DefaultAuthenticator must be changed from Required to Sufficient!
    It seems that before SQLAuthenticator took password from USERS table, but didn't use it in the authentication process.
    Regards,
    Sašo

  • I run Dev 6i on Windows 2008 R2 64-bit,the forms are working fine after connection to the database but the reports continue to request for username, password and database connection string every time i try to open a report.

    I receive REP-0501: Unable to connect to specified database. I run developer 6i application on windows 2008 r2. I have applied the nn60.dll and nnb60.dll files to the \BIN directory. The forms are working fine. The reports will only display after the correct user id (username, password and database connection string) is supplied. This is happening to all attempts to open already complied form. Pls, help.

    If you are connecting to an Oracle 11g database, remember that by default the passwords are case sensitive. To disable that, run
    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • Can we avoid username/password screen using run_product

    can we avoid username/password screen using run_product while calling a report from the form.
    how we can use the same login as in form.
    regards

    You can turn security off from your process.
    Go under adminui under Services/Application and Services/Service Management.
    Search for your process and under the security tab you can disable the security or use the 'Run As' feature to run under a specific user context.
    Jasmin

Maybe you are looking for

  • HT2736 Can you send money from one iTunes account to another?

    Need help!

  • How do I upload my music from my MacBook

    Hi, I have lots of music on my MacBook in iTunes and seem to be struggling as to how I can get these on to my iPad I seem to have some of the music on it ( not sure how I managed to get it there if I am honest ) Anyone advise ? Many thanks Tony

  • Idoc status 51 error

    Hi friends, When the inbound idoc is processed my user is getting the following error System error: Error in routine MRM_CHECK_RBKPV -RBKPV-BLART Message no. M8 607 Procedure Contact your system administrator. Can any one help me understand this erro

  • HOw do i uninstall adobe reader 9

    How do I uninstall adobe reader 9 ?

  • Quality Notifications (QM-QN)

    Experts, I am new to Quality Management and Quality Notifications (QN). I need to understand QN before as there is a requirement for implementing it to BI. Pls can anyone provide: a. A good functional writeup on how QN is structured and how it works.