fnd_web_sec.validate_login of user DB non-apps

Hey ppl =) have such a problem:

Select fnd_web_sec.validate_login ('user', 'password')

Double;

with the user 'apps' DB everything works well and get 'Y' for the query.

now I have DB new user "xx_apps", when I connect using the user ' xx_apps and execution

Select fnd_web_sec.validate_login ('user', 'password')

Double;

I get "n" as a result of the query.

I already gave this permisions and created this synonyms:

APPS:

Grant execute on fnd_web_sec to xx_apps;

Grant execute on fnd_message to xx_apps;

XX_APPS:

create synonym fnd_user for apps.fnd_user;

create synonym fnd_languages for apps.fnd_languages;

create synonym fnd_application for apps.fnd_application;

create synonym fnd_lookup_types for apps.fnd_lookup_types;

create synonym fnd_product_groups for apps.fnd_product_groups;

create synonym fnd_web_sec for apps.fnd_web_sec;

CREATE SYNONYM FND_USER_PREFERENCES FOR APPLICATIONS. FND_USER_PREFERENCES;

CREATE SYNONYM FND_USER_PREFERENCE FOR "APPLSYS. "" FND_USER_PREFERENCES ";

create synonym fnd_message for apps.fnd_message;

After execution of xx_apps

Select double fnd_message.get;

ORA-01031: insufficient privileges FND_WEB_SEC. VALIDATE_LOGIN (u, p).

What have I forgotten?

Thank you!

I found the answer in another thread of OTN. You need the code with AUTHID DEFINE wrapper function.

createorreplacepackagebody apps.hypr_web_sec as

function authenticate (i_username in varchar2, i_password in varchar2) return Boolean is

Start

return ((i_username, i_password) apps.fnd_web_sec.validate_login = 'Y');

exception

When others then return false;

end to authenticate;

end apps.hypr_web_sec;

grantexecuteon apps.hypr_web_sec to xx_apps;

And then it works perfectly.

Tags: Oracle Applications

Similar Questions

  • In our Production, we can share the password of user of database 'Apps' with our consultants functional, although they would like to examine through fields by (help > Diagnostics > review) and here he asked the password of the user "APPS".

    In our Production, we can share the password of user of database 'Apps' with our consultants functional, although they would like to examine through fields by (help > Diagnostics > review) and here he asked the password of the user "APPS". We need to know the path where they can examine the field without knowing the password for user "apps".

    Check

    How to enforce password Protection to access the Menu help > Diagnostics > review? (Doc ID 1487534.1)

  • Limits the user submitted Web Apps

    Is there a way to limit the number of times a user can send a piece of webapp? For example, a user can send an item of webapp once a week.

    I wondered if I can check the date of last users submitted web app then hide/show the form create web app in office how long the person has presented a web application.

    Has anyone tried this before? Thought I would ask before spending the time to try.


    Tips are welcome.

    Not quite what she asked Karim.

    Lynda - you can not return the form if you use module_webappcustomer to retrieve the elements, if it were a collection, you can use the features last Board just get the last, get the last date. You have the date server and you can perform a calculation on it in a liquid. If the date is less then 7 days - does not show the form but a message.

  • Who should schedule jobs via DBMS_SCHEDULER; User sys or Apps?

    Oracle version: 11.2.0.3 on RHEL 5.4

    We must plan a few stored procedures running in an applications using DBMS_SCHEDULER schema.
    This would be held by user Sys or Apps? If its user Apps I need to grant execute privilege on DBMS_SCHEDULER to the apps user and I would like to know if it is a good practice?

    Yes, you must use the apps account with run on DBMS_SCHEDULER.

    SYS cannot be used if it is absolutely required - for example uses SYS calls that are not available on other accounts of database.

    Hemant K Collette

  • Discoverer non-apps apps EUL mode

    Hello
    I'm being upgraded 3i = > 10 g discoverer.

    Current EUL is to 3i / mode of non-apps. I have improved this to non-apps 4i EUL EUL. I need to changed EUL in 4i mode apps.

    What way do this?

    Thank you
    Bhushan hicham

    Hello

    The best ways to convert a non-apps EUL apps mode mode are to use Admin Disco import/export. Create a new mode EUL apps then export all non-apps EUL mode and import into the new EUL.

    Rod West

  • List of users to the App Server?

    I'm finally starting to tinker with the new application server (in the hope that my 10.6.8 Xserve survives long enough so that everything be moved above).

    In the oldest Server Admin, there is a popout drawer that could list all the users and groups to add them to the authorizations, assignment to a group, etc. This seems to have disappeared.   Am I missing something or do I have to rely systematically on all the letters of the alphabet just to get all the names popping up eventually so I can choose who I want?

    Thank you

    Jeff

    Fortunately,'re missing you something.

    .App to open, go to the window menu and choose Show Navigator accounts.

    This will give you a window with all your users and groups.  Shift select to retrieve a contiguous group and the command select for non-contiguous.  Then drag and drop them into the container of group members.

    I hope this helps.  Happy discovery.

    Reid

    Apple Consultants Network

    Author - "El Capitan Server - Foundation Services.

    Author - "El Capitan Server - Collaboration & control»

    Author - "El Capitan Server - Advanced Services '.

    : IBooks exclusively available in Apple store

  • Since iAds is being abandoned should I remove the IAD framework my SDK so that my app still works for users of the app?

    I want to make sure my app users always have a good app experience after the abandonment of the IAD. I currently have iAds framework in my application. Do I have to remove part of my app code IAD before June 30, 2016 to avoid errors of the app or accidents?

    Have you ever heard the answer?

  • How do I remove the old user from the app store

    a previous owners username comes by demanding the password in the App Store only, despite being singed my user name in iCloud and itunes and appstore in settings, what can I do to check and remove the old names of users of the ipad

    Thank you

    You have a few applications that have been purchased with the old user id? Even free who may be trying to update?

  • Two users on single-app membership

    Hi, I'm about to take on a member of staff who will take care of the House. I have the membership single-app creative cloud (Indesign).  How to download Indesign on his computer using my login details? Can someone tell me how it works please so that we can share files?

    Thank you.

    Have two users share a single subscription is a violation of the membership agreement. Unless you have a membership of the creative teams of Cloud, membership is for a single user.

    I suggest to buy a separate subscription to InDesign CC on a monthly basis to and put there when your project is complete.

  • How to change a user account non-root on multiple esx hosts 4

    We currently use the script below to change the root password, but we need a to change a non-root user account that does not have access to the root of how.

    So if the script could be changed to connect to each server with root and then change the password of the root no account that might be useful.

    Any help would be appreciated.

    -Steve

    #
    # This script changes the password to root on all ESX host in the esxservers.txt text file
    #

    # Add toolkit-VI #.
    Add-PSsnapin VMware.VimAutomation.Core
    Initialize - VIToolkitEnvironment.ps1

    # Get old credential root
    $oldrootPassword = "Enter the old root password" Read-Host - AsSecureString
    $oldrootCredential = new-object - typename System.Management.Automation.PSCredential - argumentlist 'root', $oldrootPassword

    # New information for the identification of root
    $newrootPassword = "Enter the new root password" Read-Host - AsSecureString
    $newrootCredential = new-object - typename System.Management.Automation.PSCredential - argumentlist 'root', $newrootPassword
    $newrootPassword2 = Read-Host "Retype new root password" - AsSecureString
    $newrootCredential2 = new-object - typename System.Management.Automation.PSCredential - argumentlist 'root', $newrootPassword2
    $WarningPreference = "SilentlyContinue".

    # Compare passwords
    If ($newrootCredential.GetNetworkCredential ().) Password - ceq $newrootCredential2.GetNetworkCredential (). {Password)

    # Create the new object of root account
    $rootaccount = new-Object VMware.Vim.HostPosixAccountSpec
    $rootaccount.id = 'root '.
    $rootaccount.password = $newrootCredential.GetNetworkCredential (). Password
    $rootaccount.shellAccess = ' / bin/bash ".

    # The list of text file host servers to change the root password on
    Get-Content esxservers.txt | %{
    SE connect-VIServer $_-user root - password $oldrootCredential.GetNetworkCredential (). Password - ErrorAction SilentlyContinue - ErrorVariable ConnectError. Out-Null
    If ($ConnectError - not $Null) {}
    Write-Host "ERROR: unable to connect to the ESX Server: ' $_
    }
    Else {}
    $si = get-view ServiceInstance
    $acctMgr = get-view-Id $si.content.accountManager
    $acctMgr.UpdateUser ($rootaccount)
    Write-Host "Root password changed successfully on ' $_
    Disconnect-VIServer-confirm: $False | Out-Null
    }
    }
    }
    Else {}
    Write-Host "ERROR: new root passwords do not match." Smooth... »
    }

    Try something like that.

    First, it prompts you for the password for root servers ESX (i).

    And then the account name, followed by the 2 times the new password

    #
    # This script changes the password of an account on all ESX hosts in the esxservers.txt textfile#
     # Add VI-toolkit # Add-PSsnapin VMware.VimAutomation.CoreInitialize-VIToolkitEnvironment.ps1
    
    # Get root password$rootPassword = Read-Host "Enter root password" -AsSecureString$rootCredential = new-object -typename System.Management.Automation.PSCredential -argumentlist "root",$rootPassword
    # Get account to change$account = Read-Host "Enter account"# Get new account credential$newaccountPassword = Read-Host "Enter new password" -AsSecureString$newaccountCredential = new-object -typename System.Management.Automation.PSCredential -argumentlist $account,$newaccountPassword$newaccountPassword2 = Read-Host "Retype new password" -AsSecureString$newaccountCredential2 = new-object -typename System.Management.Automation.PSCredential -argumentlist $account,$newaccountPassword2$WarningPreference = "SilentlyContinue"
    # Compare passwordsIf ($newaccountCredential.GetNetworkCredential().Password -ceq $newaccountCredential2.GetNetworkCredential().Password) {
    
        # Create new root account object    $accountSpec = New-Object VMware.Vim.HostPosixAccountSpec    $accountSpec.id = $account    $accountSpec.password = $newaccountCredential.GetNetworkCredential().Password
        $accountSpec.shellAccess = "/bin/bash"
        # Get list of Host servers from textfile to change account password on    Get-Content esxservers.txt | %{
            Connect-VIServer $_ -User root -Password $rootCredential.GetNetworkCredential().Password -ErrorAction SilentlyContinue -ErrorVariable ConnectError | Out-Null        If ($ConnectError -ne $Null) {
                Write-Host "ERROR: Failed to connect to ESX server:" $_        }
            Else {
                $si = Get-View ServiceInstance            $acctMgr = Get-View -Id $si.content.accountManager
                $acctMgr.UpdateUser($accountSpec)
                Write-Host "$account password successfully changed on" $_            Disconnect-VIServer -Confirm:$False | Out-Null        }
        }
    }
    Else {
    Write-Host "ERROR: New $account passwords do not match. Exiting..."}
    
  • In - App purchase Extension Native - how can I check if the user purchased in-app already?

    Hello!

    I have an application with In - app purchase. I use ProductStore - native extension of Adobe to connect to iTunes (summary com.adobe.ane.productStore). I can make the purchase at the ENA, but I have not found a way to check if the application was already purchased: I need for the case when the user wants to install the application to an additional device, or if the user has delete the app and install it again.

    And if there is no way, maybe someone knows another Native extension that can provide the corresponding functionality.

    Thank you in advance,

    Olga

    One you use has a restore function: http://www.adobe.com/devnet-docs/gamingsdk/anedocs/com/adobe/ane/productStore/ProductStore .html #restoreTransactions)

  • XPSP3 and Media player 11: DVD playback as a user standard(non-admin)

    Log in as admin: DVD plays fine

    Log in as a limited user: error setting color depth and screen resolution.

    These parameters are the same between the 2 accounts.

    dvdupgrd / detect gives the same info codec between the 2 accounts.

    Why a limited user cannot play a dvd?

    With the help of a codec pack. Another player, not an option.

    And the answer was:

    Do not use the lib2mpeg codec in ffdshow for DVDs. Use Cyberlink.

  • USER if remote APP


    Hi all

    I have a challenge in obtaining the name the remote DB APP_USER.

    Integrated solution is: I have an Apex installed on DB 'X' (X SID) and the base tables are on 'Y', DB link is created on X access to 'Y' (Y SID), we have created triggers to disconnect the user who changed the data in the tables of Y in a table, although Apex.

    Question: That data changes are happing on DB Link, always populated user name is user link DB instead of the user of the Apex.

    Alternatives: Pass the APP_USER (username) as a value as well as the data (who needs structural changes )

    Need help to provide any alternative that will capture this real username to Login to the Apex.

    NS150883 wrote:

    Thanks for the post, sorry for my ignorance. However, I am not able to choose the actual logical need to be implemented.

    Audit log triggers on Tables that are on the target DB (which is accessed through the Apex, using DB Link), can you please help me with the details..!

    This is the message: Re: v ('APP_USER') through the database link

    Set the APEX user information in the remote DB by running the first block in the initialization of PL/SQL Code on the security of your application attributes page.

    begin
      dbms_application_info.set_client_info@dblink(v('APP_USER'));
    end;
    

    The second expression allows such information on audit triggers:

    ...nvl(v('APP_USER'), sys_context('userenv', 'client_info'))...
    

    Resets the remote user information and close the DB connection in the PL/SQL Code of cleaning:

    begin
      dbms_application_info.set_client_info@dblink(null);
      apex_util.close_open_db_links();
    end;
    
  • How to assign only read access to a user for HFM App

    Hello

    I have a doubt like the United States, the actual process of the stripe to assign a user as the read access only for request of HFM. I am new to this and I know that this need be done through HSS. Could then someone let me know the process

    Please ask you to close the post if it seems your problem.

    Thank you

    ~ KKT ~.

  • How can I add 1 user and 1 app to my plan of Adobe?

    I got an Adobe account for awhile. I now want to expand to share my plan with an additional user. In addition, I would like to add Photoshop to my plan.

    Hello

    You can download your product Adobe subscribed on two computers and use one at a time.

    and

    So if you want to add photoshop please follow the link below:

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    Please make sure that you are connected with your account on which you want to purchase.

    Kind regards

    Chirag

Maybe you are looking for

  • Can I use a screen larger than 27 "on Mac Mini?

    Hello I would get a screen larger than my current 27 "of my Mac Mini and I wonder if my Mini (by 2012) would support a new monitor around this size. Any suggestions appreciated Thank you Nick

  • Qosmio G30-201 connected to LCD - how to fit the entire screen?

    Hello I have a laptop Qosmio G30 - 201 and also using a Toshiba WLT58 32 inch widescreen LCD with a HDMI connector.I'm trying to get the film that I am looking to fill the entire screen and give up the borders.Is this possible?See you soon Steve

  • service delivery in Ukraine

    Hello. Anyone know how to get support in Ukraine? My iPhone 4 is locked and I have no other (Russian or Polish phone # to get the call to a public support)

  • Problem under numbers of filters

    I use the numbers on OSX El Capitan.  I imported a large .csv file that has been downloaded.  When I select the filters it don't show me any options data in the rows. For example, a category called Christmas in the spreadsheet with multiple entries d

  • Windows path not found "\DOSDevices\c:\pedriver.txt does not exist.

    All of a sudden when I try to boot my system WinXP SP3, I get a 'there is no \DOSDevices\c:\pedriver.txt' to start Win XP with the Windows Log On window. When I click OK to clear the dialog box, and then click OK to log on to Windows, I hear the soun