Can I use a stored procedure to validate a username and password?

We are using Discoverer on a standalone server but we have a database link to our reporting database.
Our standalone Discoverer is on a 10g database with a database link. Our reporting database is an 9i database using oracle applications. I have a stored procedure that i can call to validate username and password in the apps.
Is there anyway to call that stored procedure from Discoverer so that my users don't have to have 2 different passwords?
thanks
Angie

Michael.
Let's rewind this discussion for a sec as I have not the faintest idea what you're referring to with the dblinks, query prediction, etc.
I didn't think that was the main thrust of the thread and thought it was if the user could validate a username and password. If they happen to use a dblink, that's another issue.
1. What I"m referring to as good design is the concept of the eul$ triggers that Discoverer offers (the link offered by the user before my response).
I like triggers in Forms, I like trigger in Reports - and I like them in Discoverer. I think they potentially have a great use - the problem is finding that use.
One use I can forsee is setting up an environment or table everytime one enters Discoverer. Or maybe some cleanup after Discoverer is exited (ie: delete that setup table).
2. You mentioned dblinks.
What do I think about 'em? Don't know ... don't care. Haven't had to work with them too much and until that point comes - I'm not worried about them either way.
3. You mention query prediction.
What do I think about it? IMO, turn the darn thing off. I don't really care what it's SUPPOSED to do according to Oracle - in 9 out of 10 client sites I go to ... it's not doing it. It's waste time, processing power, coffee time, whatever ... to come up with a bogus estimate that makes Discoverer looking like a toy.
For example:
prediction time: it takes 6 minutes to come up with an estimate
prediction: Query will take 364 days, 11 hours, 9 minutes, 18 seconds. Do you wish to continue?
me: Duh ... okay.
query runs for: 1 minute, 2 seconds
It's like a Vulcan in that it's incredible detailed on it's assessment on how long it will take. Unlike a Vulcan though, it's completely bogus. Sure it supposed to be better over time but again - in 9 out of 10 client sites I go to, it's a joke and once turned off ... the client couldn't be happier.
So again, let's rewind here. Maybe I'm missing something, but I had no idea this thread was angling to dblink and query prediction, but my views on what I thought we were talking about are above.
Russ
PS. And no I'm not PO'd ... just want to fix what appears to be cross-purposes.

Similar Messages

  • I just purchased a new iMac, and can't get into my Wordpress blog. The username and password work on my old Macbook, iPhone4, etc, and all my other password-restricted sites are accessible...just not Wordpress. Ideas? New to all this...

    I just purchased a new iMac, and can't get into my Wordpress blog. The username and password work on my old Macbook, iPhone4, etc, and all my other password-restricted sites are accessible...just not Wordpress. Ideas? New to all this...Thanks! JP

    Try holding down the Shift key in Windows when opening iTunes. In the resulting dialogue you will get the option to create a new library or navigate to an existing one. The default location for your iTunes library is in C:\Documents and Settings\Username\My Documents\My Music\iTunes\ (or C:\Username\Music\iTunes\ in Vista). Look in there and see if you have more than one library file (they have the extension .itl) If you have more than one try opening them in turn, you may find your original library is still intact: How to open an alternate iTunes Library file

  • Bought a used imac but its locked by old username and password

    bought a used imac but its locked by old username and password

    The first thing you should do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model. Look it up on this page to see what version was originally installed.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. I suggest you install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. If you don't have the media, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    Once booted from the disc or in Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, buy it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able toauthorize it under your ID. In that case, contact iTunes Support.

  • I can not accessed J2EE Server because i dont know username and password

    I set username and password as tutorials but not successful.
    and after that i can't access J2EE server with localhost:4848.
    please tell me the way access J2EE server.Or Default username and password of it.
    Thanks your help!

    Hi,
    Can you please send more infomation on exactly what is failing? Are you trying to execute asadmin commands?
    Also, which platform are you running the appserver on? Does the appserver show up in the list of currently running processes?
    I believe that the default username is "admin" and the password is "adminadmin".
    Thanks,
    Kyle

  • How can I Use a Stored Procedure from Microsoft SQL Server?

    Hi All,
    Would like to use stored procedure as my data service in Visual Composer.
    Our version is VC7.0 SP20.
    Is stored procedure feasible? What is the system that i need to create  in Enterprise Portal? Currently i have BI JDBC System which only allows me to search for tables from SQL Server.
    Much appreciate your help.
    Thanks & Regards,
    Sarah

    Hi Skif,
    Referring to my post: JDBC System Connection VS BI JDBC System Connection
    I do not even able to view list of stored procedure. I need help too..maybe you can show me how do you set the connection? What are the mandatory connection properties? I have filled up:
    - Connection URL
    - Driver class name
    - User Administration: User, Admin (I did user mapping too)
    The error message that i got is:
    com.sap.guimachine.portalconnector.commandhandler.CommandException: Failed to connect to backend system. Check your system definition and user privileges.#
    I had assigned full control to the DB user, and map my portal user to that DB user.
    Many Thanks,
    Sarah

  • TS3899 How can I change server info it keeps saying incorrect username and password but not and the server is written smtpaol several times and I cannot change that  what does that mean?

    My apple I pad mail app will not let me send mail I can receive it but it keeps saying username or password wrong but its
    Not, because I can send mail thru a Internet site.
    It also has smptaol over and over as server and I cannot erase that. I do not know what to do to just make it aol.com
    Any suggestions?

    The outgoing mail server should be smtp.aol.com. This is the correct server setting. Try using another server under Other Server. Turn the Primary Server Off and use another server under Other SMTP Servers.

  • Can I  change the information,such as MEDIA URL,username and password  ,from English to Chinese?

    I have downloaded the OSMF1.6.1 from the website http://sourceforge.net/projects/osmf.adobe/files/. And here comes the question.When playing encrypted video with OSMFPlayer, I want to change the message such as “user name” and “password” in the AuthenticationDialog into Chinese. However, when I altered the code by Flash Builder 4.5, the message can not be displayed in the browser after running. I have noticed that the font in OSMFPlayer is standard07_55, so I wonder that if this problem is related with the default font? I want to know if there’s a way to display Chinese information instead of “user name” or “password”?
    Thank you!

    I have downloaded the OSMF1.6.1 from the website http://sourceforge.net/projects/osmf.adobe/files/. And here comes the question.When playing encrypted video with OSMFPlayer, I want to change the message such as “user name” and “password” in the AuthenticationDialog into Chinese. However, when I altered the code by Flash Builder 4.5, the message can not be displayed in the browser after running. I have noticed that the font in OSMFPlayer is standard07_55, so I wonder that if this problem is related with the default font? I want to know if there’s a way to display Chinese information instead of “user name” or “password”?
    Thank you!

  • Can't log in on application (PC - Win7) - correct username and password; works on the web page

    I have a big problem. I cannot log in on the Skype application on my PC (Win 7). The password is correct and so is the user name. I've tried logging in via both my microsoft, skype and facebook accounts but it doesn't work. The strange thing is that it works in the internet page. I've tried to change password many times but it doesn't resovle the issue. When logging in with the Skype account I'll get the message "Could not connect" (In Swedish).When logging in with the Facebook and Microsoft account I'll get the message "Sorry, we don't know your loggin information - Please controll your Skype-name and password". The Skype application say it is up to date when using the function "Search for updates" in the "Help" drop down list.

     I've got the same problem. The same on one PC I've got 6.11 version ... and uninstall/download & install reseled the problem BUT, on anoter PC I have 6.20 version, and that one did not sigh me up, untill I have clicked recovery/get email/clicked on received link.  - That is strange and annoing, but, even more unfear and discusting: - The version 6.20 also replays 'You have latest version'!  And on skype site it is not shown up the current version, which is today 6.21.59.104  My opinions: 1: it is inappropriate to disallow old version to see the newest version number                      2: the same even with more reasonability applied to 'still suppoted version', as 6.20 I guess is for today!                      3: What is it the way to restrict access to user account WITHOUT any explanation why!!! - it must say 'it is old version and we closed acces to our site; update to current, which is ....'(if Skype comunity have trouble to prepare a page with such message as a redirection for not-up-to-day version I could help; or my children could ... or it is an issue to place it ?!)   

  • My government workgroup shares in iCalendar. Of the 8 individuals I am the only one using a PC. How and where can I make this work?  I know the username and password but never get to the calendar. Help!  Boss ready to kill me.

    Ok.  Not really ready to kill me, but I really need to find an enduring fix that allows me calendar access via VPN, Wireless and on site.

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • Can anyone help me? I cannot sign in my iChat. I've been using same username and password. But, I cannot sign in my iChat.

    Can anyone help me? I cannot sign in my iChat. I've been using iChat with same username and password with my Gmail account. Now, I cannot sign in my iChat, but I can still sign in my Gmail with the same username and password. Can someone advise me what to do?

    Hi,
    I am beginning to see more threads that suggest that something may be up with the Google Servers.
    In iChat Menu > Preferences > Accounts > Server settings tab try changing the port to 443 (With SSL still selected)
    It may be that in a couple of days the Google Servers will get back in sync.
    10:25 PM      Wednesday; June 29, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • 802.1x without storing username and password

    I have a couple all-Mac schools that would like to begin integrating iPod touch and iPad in classroom activities.
    Our wireless network is managed at the district level and it offers to ways to log into the Internet – one is a popup window with a Java applet, and the other is 802.1x.
    Obviously the Java applet does not work on iPhone OS and I'm sure it never will. 802.1x works well with one caveat: It stores the username and password so whichever student uses it next will remain logged in as the previous student.
    Is there any way that the iPods can be forced to prompt for the 802.1x username and password each time they rejoin the network? Any other ideas?
    And before anyone asks, we have submitted requests to make the wireless network friendlier to non-traditional computing (ie. devices that are not standard PCs and Macs), but it doesn't look as if that's happening any time soon.
    Thanks!

    I don't store them, if it is a user and password. If the user entered them I keep them in instance variables. If you only have one user for the database (which is not the best IMHO) you should decrypt it in the code. The crypted can be stored whereever, but still not good.

  • API - BAPI , RFC Function module to validate user id and password

    Hi,
    Can anyone provide me with the function module to validate the username and password of the user of the back end R/3 System.
    Best Regards
    Sid

    Use function module SUSR_CHECK_LOGON_DATA. You need to provide auth_method (P for password check), userid and password.
    Be careful when you execute the function in test mode because it converts the input into upper case hence if you have lower case characters in your password it will return with invalid password. If you pass the lower case into the function in a program everything is fine.
    Regards,
    Michael

  • Storing encrypted username and password along with the Key into Windows Keystore

    I have a WPf application and I need to allow the user to enter the username and password. Username and Password should be encrypted and store them with the key into the windows Keystore. I used the Cryptography class to encrypt the username and password but
    I am not sure how to store them in the Windows Key Store.
    This login is used for configuration purpose only. User enters  and  it is saved into the clients machine. As long these credentials are correct, we are going to allow this machine to call another API to download files.
    I would really appreciate for any sample code. Basically, I need to store them in the registry and be able to call them to verify.

    Data encryption and key management is certainly not a WPF topic so you are in the wrong forum but you could take a look at the ProtectedData class:
    https://msdn.microsoft.com/en-us/library/system.security.cryptography.protecteddata.aspx.
    It provides methods for encrypting and decrypting data on user or machine level. Please refer to the following link for more information:
    http://stackoverflow.com/questions/4967325/best-way-to-store-encryption-keys-in-net-c-sharp
    Here is another link on the subject that may be helpful:
    http://stackoverflow.com/questions/7459069/where-to-store-sensitive-information-needed-for-an-application-to-run
    Please remember to mark helpful posts as answer to close your threads.

  • Can I use an OLE DB Command Task to call a parameterized stored procedure, perform some data editing and pass variables back to the SSIS for handling?

    I am using a Data Flow and an OLE DB Source to read my staged 3rd party external data. I need to do various Lookups to try and determine if I can find the external person in our database...by SSN...By Name and DOB...etc...
    Now I need to do some more data verification based on the Lookup that is successful. Can I do those data edits against our SQL server application database by utilizing an OLE DB Command? Using a Stored Procedure or can I sue straight SQL to perform my edit
    against every staging row by using a parameter driven query? I'm thinking a Stored Procedure is the way to go here since I have multiple edits against the database. Can I pass back the result of those edits via a variable and then continue my SSIS Data Flow
    by analyzing the result of my Stored Procedure? And how would I do that.
    I am new to the SSIS game here so please be kind and as explicit as possible. If you know of any good web sites that walk through how to perform SQL server database edits against external data in SSIS or even a YouTube, please let me know.
    Thanks!

    Thanks for that...but can I do multiple edits in my Stored Procedure Vaibhav and pass back something that I can then utilize in my SSIS? For example...
    One and Only one Member Span...so I'd be doing a SELECT COUNT(*) based on my match criteria or handle the count accordingly in my Stored Procedure and passing something back via the OLE DB Command and handling it appropriately in SSIS
    Are there "Diabetes" claims...again probably by analyzing a SELECT COUNT(*)
    Am I expecting too much from the SSIS...should I be doing all of this in a Stored Procedure? I was hoping to use the SSIS GUI for everything but maybe that's just not possible. Rather use the Stored Procedure to analyze my stged data, edit accordingly, do
    data stores accordingly...especially the data anomalies...and then use the SSIS to control navigation
    Your thoughts........
    Could you maybe clarify the difference between an OLE DB Command on the Data Flow and the Execute SQL Task on the Control Flow...
    You can get return values from oledb comand if you want to pipeline.
    see this link for more details
    http://josef-richberg.squarespace.com/journal/2011/6/30/ssis-oledb-command-and-procedure-output-params.html
    The procedure should have an output parameter defined for that
    I belive if you've flexibility of using stored procedure you may be better off doing this in execute sql task in control flow. Calling sp in data flow will cause it to execute sp once for each row in dataset whereas in controlflow it will go for set based
    processing
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Simple stored procedure to validate multiple customer account numbers without defining a type

    I would like to create a simple stored procedure to validate up to 1-10 different customer account numbers at a time and tell me which ones are valid and which ones are invalid (aka exist in the Accounts table).  I want it to return two columns, the
    account number passed in and whether each is valid or invalid.  
    The real catch is I don't want to have to define a type and would like to do it with standard ANSI sql as my application has to support using multiple dbms's and not just sql server.  Thanks!

    Hi again :-)
    Now we have the information to help you :-)
    I write the explanation in the code itself. Please read it all and if you have any follow up question then just ask
    This solution is for SQL Server and it is not fit for all data sources. Please read all the answer including the comments at the end regarding other data sources. Basically you can use one String with all the numbers seperated by comma and
    use a SPLIT function in the SP. I give you the solution using datatype as this is best for SQL Server.
    In this case you should have a split function and this is very different from one database to another (some have it build it, most dont)
    ------------------------------------------------------------------- This part call DDL
    CREATE TABLE Accounts(
    AccountNbr [char](10) NOT NULL,
    CustomerName [varchar](100) NOT NULL,
    CONSTRAINT [PK_Accounts] PRIMARY KEY CLUSTERED ([AccountNbr] ASC)
    GO
    ------------------------------------------------------------------- This part call DML
    INSERT INTO Accounts(AccountNbr, CustomerName)
    SELECT
    cast(cast((9000000000* Rand() + 100000) as bigint ) as char(10)) as AccountNbr
    ,SUBSTRING(CONVERT(varchar(255), NEWID()), 0, 11) as CustomerName
    GO
    ------------------------------------------------------------------- Always I like to check the data
    SELECT * from Accounts
    GO
    /* Since you use random input in the DML and I need to check valid or in-valid data,
    Therefore I need to use this valid AccountNbr for the test!
    AccountNbr CustomerName
    6106795116 E689A83F-A
    -------------------------- Now we sytart with the answer ------------------------------------
    -- You should learn how to Create stored Procedure. It is very eazy especially for a developr!
    -- http://msdn.microsoft.com/en-us/library/ms345415.aspx
    -- dont use the SSMS tutorial! use Transact-SQL
    -- Since you want to insert unknown number of parameters then you can use Table-Valued Parameters as you can read here
    -- http://msdn.microsoft.com/en-us/library/bb510489.aspx
    -------------------------- Here is what you looking for probably:
    /* Create a table type. */
    CREATE TYPE Ari_AcountsToCheck_Type AS TABLE (AccountNbr BIGINT);
    GO
    /* Create a procedure to receive data for the table-valued parameter. */
    CREATE PROCEDURE Ari_WhatAccountsAreValid_sp
    @AcountsToCheck Ari_AcountsToCheck_Type READONLY -- This is a table using our new type, which will used like an array in programing
    AS
    SET NOCOUNT ON;
    SELECT
    T1.AccountNbr,
    CASE
    when T2.CustomerName is null then 'Not Valid'
    else 'Valid'
    END
    from @AcountsToCheck T1
    Left JOIN Accounts T2 On T1.AccountNbr = T2.AccountNbr
    GO
    -- Here we can use it like this (execute all together):
    /* Declare a variable that references the type. */
    DECLARE @_AcountsToCheck AS Ari_AcountsToCheck_Type;
    /* Add data to the table variable. */
    Insert @_AcountsToCheck values (45634),(6106795116),(531522),(687),(656548)
    /* Pass the table variable data to a stored procedure. */
    exec Ari_WhatAccountsAreValid_sp @AcountsToCheck = @_AcountsToCheck
    GO
    ------------------------------------------------------------------- This part I clean the DDL+DML since this is only testing
    drop PROCEDURE Ari_WhatAccountsAreValid_sp
    drop TYPE Ari_AcountsToCheck_Type
    -------------------------- READ THIS PART, for more details!!
    -- validate up to 1-10 different customer account numbers at a time
    --> Why not to validate alkl ?
    --> SQL Server work with SET and not individual record. In most time it will do a better job to work on one SET then to loop row by row in the table.
    -- tell me which ones are valid and which ones are invalid (aka exist in the Accounts table)
    --> If I understand you correctly then: Valid = "exist in the table". true?
    -- I want it to return two columns, the account number passed in and whether each is valid or invalid.
    --> It sound to me like you better create a function then SP for this
    -- The real catch is
    -- I don't want to have to define a type
    --> what do you mean by this?!? Do you mean the input parameter is without type?
    -- and would like to do it with standard ANSI sql
    --> OK, I get that you dont want to use any T-SQL but only pure SQL (Structured Query Language),
    --> but keep inmind that even pure SQL is a bit different between different databases/sources.
    -->
    -- as my application has to support using multiple dbms's and not just sql server.
    --> If you are looking a solution for an applicatin then you probably should use one of those approach (in my opinion):
    --> 1. You can use yourown dictunery, or ini file for each database, or resources which is the build in option forwhat you are looking for
    --> You can create for each data source a unique resources
    --> If the queries that need to be execut are known in advance (like in this question), then you can use the above option to prepare the rigt query for each data source
    --> Moreover! one of those resources can handle as general for "other ources"
    --> 2. There several ORM that already do what you ask for and know how to work with different data sources.
    --> You can use those ORM and use their query languge instead of SQL (for example several work with LINQ).
    I hope this is helpful :-)
    [Personal Site] [Blog] [Facebook]

Maybe you are looking for