Options for validating a user logon

We have a third party application for which a database user account was created for each user. Is it possible for APEX to validate the logon by using the existing database accounts or do you have to create an APEX account for each user? Also, can logons be validated by using a custom table that has users and encrypted passwords stored in it? Are you forced to create an APEX user in order to use APEX?

Well, we'd already figured out authentication via a different schema for a different project, so we were able to use what we already had.
The issue is that fnd_web_sec.validate_login() doesn't work if it's not called from the APPS schema. This can be worked around by creating a "wrapper" function; here's ours:
create or replace package body apps.hypr_web_sec as
  function authenticate( i_username in varchar2, i_password in varchar2 ) return boolean is
  begin
    return( apps.fnd_web_sec.validate_login(i_username,i_password) = 'Y');
  exception
    when others then return false;
  end authenticate;
end apps.hypr_web_sec;We've got some other useful functions in there, but that's the key to authenticating outside of the APPS schema.
-David

Similar Messages

  • Event should trigger when enter is pressed on select option for validation

    Hi,
    I want to trigger a event when enter is pressed on a select option field for validation.
    I have created a select option through coding. I am not able to find out any method or class for that.
    please advice.

    Hi Sachin ,
         If you want ot use the methods in the class CL_WDR_SELECT_OPTIONS.
    You can find here:-
    [WDR_SELECT_IPTIONS|https://cw.sdn.sap.com/cw/docs/DOC-20864.pdf]
    Check these if can find ur required one.
    If you are using any ui element then you can use ON_ENTER event as a action as stated by Baskaran.
    Check also if these threads can help you:-
    [WebDynpro ABAP select options method SET_VALUE_OF_PARAMETER_FIELD;
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd]
    Thanks & Regards,
    Monishankar Chatterjee

  • Lack of options for Mobile Broadband users.

    I am really disappointed with the lack of options i have because my only internet option is Mobile Broadband. I live in an area, that Telstra decided, didnt need to change with the times so we get no ADSL internet as the exchange is too far away and Telstra dont feel the need to upgrade so the whole town can get ADSL. The NBN is everywhere around us but here and the mobile broadband is a bit sketchy as we have poor reception in our area. There are no bundling options for mobile broadband and discounts are quite poor. Paying $60 pm for 8 gb of data , which lasts about 2 weeks at my place (teenaged kids) if im lucky. I have since got Foxtel through telstra and also have my home phone also. So now I pay well over $200 per month for these services. It is annoying to know that people can get all this with multiple times more data and included calls for lees than half of what i pay. So why are we being taken advantage of just because Telstra havent provided decent infrastructure for us to get ADSL.  

    Hello,The reason that Telstra are limiting their infrastructure is that the NBN will make their network largely redundant, and will not spend money to tide their customers until NBNThere is also major congestion even in inner suburbs of major cities.Sorry, but as a customer also, I am unable to help you.Thanks

  • URGENT help required : Custom Authentication Plugin for validation of users

    Hi Experts.
    I'm a newbie and am stuck in middle of nowhere.
    I have been asked to develop a custom authentication plug-in which would validate a user using the attributes such as a userid and a shared-userid.
    shared-userid is just a custom id that would be generated on the basis of some logic.
    Currently I'm using OAM 10.1.4.3.0 on WINDOWS server and as everybody, I'm also not able to find any sample files or sample folder structure.
    As per one of the other threads https://forums.oracle.com/forums/thread.jspa?messageID=3838474, sample code and sample folders are removed from this particular version and were present in some previous version.
    So, can anyone please help me out with the following:
    1. How can I proceed to accomplish this task, i.e. to check whether a user-id and a shared-userid both are validated and a user is granted access.
    2. Are all of these files required to create a custom authentication plug-in or can we proceed only with the ".c" file (i.e. make file, authn.c, and a dll file made using the make file and .c file)
    3. Can anybody provide me with a sample file or a sample code written in "C" wherein the plug-in connects to the LDAP and searches for a particular dn for comparison or something. Also a sample make file for windows to convert the .c file to .dll.
    PLEASEEEE help me ASAP.
    Regards
    Edited by: 805912 on Nov 15, 2011 7:18 PM

    Hi,
    Regarding question 2, you also need the header file is supplied in the Access Server installation directory, under ...access\oblix\sdk\authn_api and is called authn_api.h. you need this to build the dll which must then be placed in the Access Server's ...\access\oblix\lib directory.
    Regarding question 3, if you install an earlier version of the Access Server, ie 10.1.4.2 or less, then you will get a \access\oblix\sdk\authentication\samples\authn_api directory that contains a basic sample authentication plugin. However, there is still documented in the 10.1.4.3 Developer Guide another sample plugin, simplapi.c, in the 10.1.4.3 Developer Guide with instructions on how to use it. It does work, but unfortunately requires a couple of edits to get it working after copy&pasting it (no code changes, just fairly obvious case changes eg changing ObanPlugin* to ObAnPlugin*). I used the following commands to get it to compile into a .so file on unix:
    g++44 -c -fPIC -Wno-deprecated -m32 simpleapi.c
    g++44 -shared -nostdlib -lc -m32 simpleapi.o -o simpleapi.so
    but I really would not know if or how these translate into a Windows environment.
    Regards,
    Colin
    Edited by: ColinPurdon on Nov 15, 2011 2:50 PM

  • One potential option for Windows 7 users who have lost data with iOS 4.0

    Windows 7 has a feature like Timemachine on the mac. It quietly keeps backups of all files and folders whenever they change, if you have System Restore switched on. I wonder if it can be used to retrieve old versions of the Mobilesync/Backup folder before the iOS4 update? One problem with itunes is is overwrites any old backups in the Mobilesync folder when doing the installation process.
    This feature in Windows is explained here:
    http://lifehacker.com/5477132/use-windows-system-restore-to-recover-individual-f iles
    This maybe worth trying for those running windows 7.
    Whether this will work for folks depends on a lot of assumptions on my part:
    1. ioS4 is broadly ok so the error is not there,
    2. the install process for iOS4 is ok,
    3. the restore feature is working in itunes 9.2 to install valid backups of application and user data back after installing iOS4
    4. the root cause is the backups itunes 9.2 makes are easily corrupted in certain (unknown) scenarios. Hence the objective of looking for another uncorrupted backup on your PC.
    Message was edited by: scoobiesnacks

    I've tried this method with my ipod now, had to leave it running overnight but I'm pleased to report this restore method works.
    The only dependencies are (1) you are running a machine with windows 7 (possibly Vista someone will need to check this) (2) You sync'd your ipod any time in the weeks running up to installing iOS4. Go for the most recent backup that the OS took as a shadow copy. Obviously the more recently you did the sync the better. In my case I am going back to March data it seems, though there seems to be another backup taken the day I installed the OS - just hope its not the dud one- I will try this one next to see if its got more data.
    This gets around the issue that itunes overwrites old backups. It may do but Windows (and also Macs I believe using the timemachine functionality) keep old copies of the backup files
    Message was edited by: scoobiesnacks

  • Options for Windows 7 users would be a useful addition to today's email on browsing privacay

    Thank you for the email regarding how to improve internet privacy.s however, as my new laptop OS is Windows 7, your infor was for XP - it was useless and wastded my time. Consider being more complete and accurate in your communications. ~~Wayne

    Actually the articles linked in the newsletter all have instructions for Windows 7 with instructions for XP in parenthesis. Maybe that's looked confusing. If so, please let me know.
    *[https://support.mozilla.com/en-US/kb/how-do-i-stop-websites-tracking-me#w_how-do-i-turn-the-do-not-track-feature-on_2 How do I turn the Do-not-track feature on?]
    *[https://support.mozilla.com/en-US/kb/Private%20Browsing?s=Turn+in+private+browsing&r=0&as=s#w_how-do-i-turn-on-private-browsing How do I turn on Private Browsing?] - This one has a Windows 7 video at the top of the page.
    *[https://support.mozilla.com/en-US/kb/Clear%20Recent%20History?s=Clear+Recent+History&r=0&as=s#w_how-do-i-clear-my-history How do I clear my history?] - also has a video at the top of the page.
    *[https://support.mozilla.com/en-US/kb/Clear%20Recent%20History?s=Forget+this+site&r=0&as=s#w_how-do-i-remove-a-single-website-from-my-history How do I remove a single website from my history?]

  • Best Option For Business Single User Cloud Service

    We have one marketing person that will be using Photoshop and Illustrator. We currently are running CS3 on Windows 7 Pro 64-bit and wish to upgrade to the cloud service. Which plan would be the best suited?

    Hi Unique_Screen_Name,
    Please refer the link: http://www.adobe.com/in/products/creativecloud/buying-guide.html.
    Regards,
    Romit Sinha

  • Oracle EBS / MS Outlook Integration Options for Workflow Approvals

    My organization is using Oracle Applications 11.5.10.2 and is currently in the process of upgrading to R12.
    I've recently been asked to investigate and provide options for stream-lining users' ability to respond to workflow notifications from within Oracle Applications, removing the need for users to have to log into Oracle or send an e-mail response to the workflow notification mailer.
    Is anyone aware of any out-of-box mechanisms or 3rd party bolt-on solutions that would achieve this?
    For example, rather than a receiving a workflow notification e-mail asking an approver to log into Oracle to approve a purchase order, time card, recruitment request, or expense report, my business users would like to be able to approve or reject the approval directly from within MS Outlook.
    One option would be to utilize the inbound workflow e-mail processing (e.g. for the user to send a reply e-mail response back to workflow notification mailer), but I'd like to know if there are any other options - such as an add-in within MS Outlook that would prevent the business user from having to send an e-mail response message.
    Greatly appreciate any ideas or suggestions.
    ~Jeremy

    The note id's provided above are very helpful for understanding how to control the two out-of-box mechanisms for responding to approval notifications
    Option 1: Users click on the "Please click here to respond" hyperlink in the e-mail, log into Oracle Apps, and respond to the notification
    Option 2: Users click on the "Accept" or "Reject" hyperlinks provided in the workflow e-mail notification, which creates an response e-mail notification containing the notification_id and response (e.g. accept or reject). The response gets processed by the workflow notification mailer.
    My organization currently uses both both options (option 1 for some approval workflows, option 2 for others), and I'm familiar with how to toggle a particular workflow approval notification between these two options.
    However, my organization wishes to pursue another option that would involve creating a composite application or enterprise application mash-up, accessible within MS Outlook, that would allow an Oracle apps user to see his or her list of open notifications (within Outlook) and respond to the notifications from either Outlook or our corporate intranet web site. We recently implemented an Identity Access Management solution and have a good link established between each LAN (MS Exchange) user account and his or her Oracle Apps user account.
    To my knowledge, there is not out-of-box way to do this and it would require implementing a third-party bolt-on if one exists that would meet this need. Maybe one option would be to create a simple ADF application that would find open notifications in Oracle for the current user and wrap the seeded API's used to respond to the notification.
    Please let me know if anyone else has any feedback or prior experience addressing a similar business need.

  • Cannot open database "ReportServer" requested by the login. The login failed. Login failed for user 'USER LOGON'

    I want to grant permissions to all domain users to view reports on our Report Server. Domain users are able to access our Report Server URL and folder, but when they click on a report item they get an error message: 
    "Cannot open database "ReportServer" requested by the login. The login failed. Login failed for user 'USER LOGON'"
    I'm using windows authentication and configured the local service account in SSReportS Config Manager as the credentials to connect to the Report Server DB. 
    Can someone please help how I should properly do this step by step to give all domain users permissions to view a report in SSRS?
    Thanks much! - Rookie DBA

    Hi IWAR,
    The error message "Cannot open database "ReportServer" requested by the login. The login failed. Login failed for user 'USER LOGON'" means the user 'USER LOGON' does not have permissions to access the "ReportServer" database.
    To fix this issue, please verify that the user has a valid database user login. For more details, please refer to the following steps.
    In SQL Server Management Studio, open Object Explorer and expand the Databases folder.
    Expand the database in which to create the new database user.
    Right-click the Security folder, point to New, and then click User.
    On the General page, enter a name for the new user in the User name box.
    In the Login name box, enter the name of a SQL Server login to map to the database user.
    Click OK.
    Reference:
    http://technet.microsoft.com/en-us/library/ms156468(v=sql.105).aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Validation of Select Options for a field

    Hi All,
    I need to write a validation logic for a select option for VTWEG (Distribution Channel).
    select-options:  s_vtweg for komg-vtweg.
    I need to check whether the user has entered the correct value based on the search help. The check table of this particular field is TVTW. 
    Following is the code i wrote under the AT SELECTION-SCREEN block:
    IF NOT S_VTWEG-LOW IS INITIAL.
    SELECT SINGLE VTWEG INTO KOMG-VTWEG FROM TVTW
                                     WHERE VTWEG IN S_VTWEG.
    IF SY-SUBRC NE 0.
    CONCATENATE ' Please enter the correct
                                    Distribution Channel '
    Z_MSG INTO Z_MSG.
    SET CURSOR FIELD 'S_VTWEG-LOW'.
    MESSAGE E000 WITH Z_MSG.
    ENDIF.
    ENDIF.
    It works fine when the user enters a wrong value in the S_VTWEG-LOW field, where as if i gives more than one wrong value in the range or giving individual values its not working. Let me know how to do the validation check for multiple values entered individually or in ranges.
    Could you please suggest how to resolve this problem.
    Thank You,
    Suresh

    You could do something like this.....here looping at the select-option table and check the values for low and high.
    report zrich_0003.
    tables: komg.
    data: z_msg(100) type c.
    select-options: s_vtweg for komg-vtweg.
    at selection-screen.
      loop at s_vtweg.
        if not s_vtweg-low is initial.
          select single vtweg into komg-vtweg from tvtw
                 where vtweg = s_vtweg-low.
          if sy-subrc ne 0.
            concatenate ' Please enter the correct
            distribution channel '
                      z_msg into z_msg.
            set cursor field 'S_VTWEG-LOW'.
            message e001(00) with z_msg.
          endif.
        endif.
        if not s_vtweg-high is initial.
          select single vtweg into komg-vtweg from tvtw
                 where vtweg = s_vtweg-high.
          if sy-subrc ne 0.
            concatenate ' Please enter the correct
            distribution channel '
                      z_msg into z_msg.
            set cursor field 'S_VTWEG-HIGH'.
            message e001(00) with z_msg.
          endif.
        endif.
      endloop.
    Regards,
    Rich Heilman

  • IProcurement is not a valid responsibility for the current user. Please contact your System Administrator.

    Hi All,
    When I am trying to click on the 'iprocurement Home page' menu in the iprocurement responsibility getting the below error message in R12;
    "iProcurement is not a valid responsibility for the current user. Please contact your System Administrator."
    Can any one let me know how to resolve this?
    Regards
    Joseph

    Hi Joseph,
    I am assuming that the user actually has the iProcurement responsibility assigned to them. If so, try the following solution from note 1560400.1:
    1) Logon with System Administrator responsibility
    2) Navigate to Profile > System, click on User and enter the user name
    3) Search for profile 'Applications Start Page'. Delete the value set at user level and save
    4) Retry
    Regards,
    Cheryl

  • Select option for selection valid and invalid data.

    Hi All,
    Any one pleas help in validating following case :-
    In the selection screen there is a select option for equipment number like EQUI-EQUNR
    if any user will give wrong equipment no. It will generate an error message from the  range of equipment no.
    and put it to an internal table it error.
    and if any value in between the select option(equipment no) is correct then that value I need to proceed for some other logic.
    Iu2019d appreciate if some one help me in generation code for the above case or logic.
    Thanks

    Hi,
    Use FM 'RS_REFRESH_FROM_SELECTOPTIONS'
    DATA: RSPAR TYPE STANDARD TABLE OF RSPARAMS.
          REFRESH RSPAR.
          CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
              EXPORTING
                CURR_REPORT           = 'prog name'
        IMPORTING
          SP                    =
              TABLES
                SELECTION_TABLE       = RSPAR
             EXCEPTIONS
               NOT_FOUND             = 1
               NO_REPORT             = 2
               OTHERS                = 3.
          IF SY-SUBRC <> 0.
       MESSAGE I000.
          ENDIF.
    In table parameter you ll get the all entries entered .
    Check out the values with respective tables.If value is not correct tk it into internal table
    else proceed ahead. You can Remove incorrect entries this way.
    regards,
    ajit.

  • I tried to upgrade the ios on the phone and I was asked for my icloud user and password. I don't remember these exactly and I tried several times with different options but unsuccessfully. I also forget my email used to configurate the phone.

    How i said on the question. I tried to upgrade the ios on the phone and I was asked for my icloud user and password. I don’t remember these exactly and I tried several times with different options but unsuccessfully. I also forget my email used to configurate the phone. I have the phone box and the bill. I sent you an email with my problem and attachments with the box informations, the bill and the reset request. What to do? You said to me:
    Your request comes from an unrecognized email domain. Apple accepts email requests only from email domains for Apple-authorized carriers.
    Please re-submit your request using your official carrier domain.
    but this email is authorized, what to do??
                                                                                                              respectfully, Beba

    If you have forgotten then these links are the only way to resolve
    http://www.apple.com/support/appleid/
    As long as you have owned the iPhone from new and your Apple id is the one used to activate when new
    OR have you recently purchased the iPhone secondhand ?

  • Since updating my iPhone 3GS on my friends laptop, it keeps asking for her iTunes Id not mine. When I log onto a computer it comes up with my Id but from my phone it's my friends. I don't have an option to change the user Id when it pops up either.

    Since updating my iPhone 3GS on my friends laptop, it keeps asking for her iTunes Id not mine. When I log onto a computer it comes up with my Id but from my phone it's my friends. I don't have an option to change the user Id when it pops up either. So I can't update my apps, download songs or games now as it will charge my friend

    Hello, 34sandy. 
    Thank you for the question.  This behavior is normal if updated on another Apple ID account holders computer.  To change the Apple ID on your device, follow the steps in the article below. 
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Cheers,
    Jason H. 

  • Image asking for Logon (Userid/Password) for an anonymous user

    Hello,
       I have created the HTML file in <b>Portal -> Content Administration-> KM Content -> root -> documents -> MyFolder</b> which I have access through an KM Document iView which contains the <b>text</b> and <b>image</b>. Also I have changed the Authentication Scheme property of iView to anonymous for an anonymous user.
    Now the problem is that when I click on the KM iView for an anonymous user, then I am able to see the text of the HTML file but image does not comes, instead it asks for Logon ie User Id and Password.
    Can someone tell me how I can see both the image and text.
    Best Regards,
    Nivedita

    Hi ,
    I also faced the same problem .
    Solved by doing the following.
    Open the PCD Editor as Content Administrator: Content Administration > Portal Content > Portal Content > Portal Users > Standard Portal Users > Standard User Role > Open > Object
               a) Navigate to Home (note the tooltip "com.sap.km. home_ws") > Hidden > URL Access.
               b) Open all contained iViews (Basic Search, Details, Document, Highlighted Content) for editing
               c) Select the property category "Advanced"
               d) Change the property "Authentication Scheme" to "anonymous"
               e) Save your changes.
    Regards
    Naveed Ahmed

Maybe you are looking for

  • Launching custom HTML5 UI's in Photoshop CC 2014 (15.2)

    Problem: I am trying to get Photoshop CC to launch custom built HTML5 UI's.  In doing so I have hit a few roadblocks: Roadblocks: • The documentation online to install and launch HTML5 UI's from scratch is out-of-date: http://www.adobe.com/devnet/cre

  • App Store not responding after upgrade to OS X Mavericks and installing free Keynote, Pages and Numbers app

    My App Store is not responding after upgrading to Mavericks and installing free Keynote, Pages and Numbers Apps. Also I tried to reboot and restart and nothing happens still unresponsive. Tried to click as many times as I can the App Store and it won

  • Camera Raw 6.1 "STILL WILL NOT INSTALL"  this sucks!!

    I recently had someone from [email protected]  tell me to uninstall my one of my adobe products and then reinstall it. Which ever product had the least memory? I replied and go ZELCH response. Yet Adobe wants me to fill out a survey on how they did--

  • Iphone shutting off while editing photo

    I took a picture of something, and when i went on my photos to rotate it my iphone keeps shutting off then turning back on. Ive tried shutting it off restarting all my apps I dony know why it keeps happening.

  • Faster procedure that can be use

    pls guy i need to knw hw i ll b able to get a better procedure to run for shorter time. i am trying extract data from two tables one in a remote location and another one in the present databse i m working on. i want to use the extracted dat to update