Authentication with 4.1 problem

We use a custom authentication scheme. He calls the api authenticatin to authenticate agains ActiveDirectory.

He worked in several apex applications in version 3.2 of the apex. We have created a new installation of the 4.1 and imported 3.2 apps

I can't get this authentication works in 4.1. Here is the code that works in point 3.2, but not in 4.1

This code is in the process of connection of the 101 page.

The error msg I get is Invalid Login Credentials

I created the application on the oracle website hosted. ID/wd id comments/Lock01$

Out of the running for the simplicity, the code does emualte how I connect installation 3.2. All other codes has not been copied to. This application works on our 3.2 install, but not the 4.1! Help!

{declare

Boolean b_result: = false;
Boolean c_result: = false;
Boolean d_result: = false;

Start
-: IS_ADMIN_USER: = 0;
-: IS_IE_USER: = 0;

: USERNAME: =: P101_USERNAME;
: PASSWORD: =: P101_PASSWORD;

-for security reasons, I commented on the domain server information and base. in this appeal.
b_result: = LDAP2. AUTHENTICATE_ADUSER (: P101_USERNAME,: P101_PASSWORD,: P101_DOMAIN, ' #. # .com ',' DC = #, DC = #, DC = com "");

If (b_result = true) then
-I know that the session is valid that I posted a mesg if it was valid to be sure.
If APEX_CUSTOM_AUTH.IS_SESSION_VALID


-It was the old 3.2 way that worked, but isn't in 4.1
-wwv_flow_custom_auth_std.post_login)
-P_UNAME = >: USER name,.
-P_PASSWORD = >: PASSWORD,.
-P_SESSION_ID = > v ('APP_SESSION').
-P_FLOW_PAGE = >: APP_ID | » : 1'
-- );

-I tried this in 4.1, but still does not work
APEX_CUSTOM_AUTH. () POST_LOGIN
p_uname = >: USER name,.
p_session_id = > V ('APP_SESSION').
p_app_page = >: APP_ID | » :1');

End if;
on the other
owa_util. REDIRECT_URL ('f? p = & APP_ID.: & LOGIN_PAGE.: & SESSION.) ") ;
apex_util.set_session_state ('LOGIN_MESSAGE ',' your ID or PASSWORD is incorrect.) Please try again. ") ;
end if;
-: PASSWORD: = null;
end;
Edited by: ashalon on Mar 16, 2012 11:23 AM

Edited by: ashalon on Mar 16, 2012 11:25 AM

Edited by: ashalon on Mar 16, 2012 12:20 PM

Edited by: ashalon on Mar 16, 2012 3:46 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

Hi ashalon,

Thank you for connection information, I could access the application now.

As you write a custom authentication, I assumed that you have created a CUSTOM type authentication model. This application has a type authentication scheme 'Application Express', but the app doesn't really use it that way. The process to submit on the login page shows just apex_custom_auth.post_login to keep the user name of the session.

I created a sample application with the authentication of the apex and a process to submit on the login page that says only:

apex_custom_auth.post_login (
    p_uname      => 'HELLO',
    p_session_id => V('APP_SESSION'),
    p_app_page   => :APP_ID||':1');

It works very well, so in principle, this type of authentication should be ok.

What is an uncorrected 4.1 version? If so, you probably use in the bug
>
13045147 APEX_CUSTOM_AUTH. POST_LOGIN SHOULD NOT CALL AUTHENTICATION

In version 4.1, the calls to wwv_flow_custom_auth_std.post_login () behave like calls to login()). The called functions of prior authentication and the authentication procedure. It therefore required a combination of username/password valid and could not be used to simply change the user, as in previous versions.
>
(see http://www.oracle.com/technetwork/developer-tools/apex/application-express/41-known-issues-485406.html)

In this case, you could either install the fix for this bug to Support Oracle or install 4.1.1 both solve this problem.

Kind regards
Christian

Tags: Database

Similar Questions

  • WiFi WPA2 Enterprise with RADIUS - connection problem

    Hello

    I have here a new ISA 570w with the latest firmware (1.2.17).

    Anyway, I can't get wifi to work in mode WPA2 Enterprise with RADIUS authentication.

    Mode WPA2 PSK are not a problem.

    I have configured the BEAM properly and I can connect directly to him via NTRadPing without any problem. Also the test in the web interface works without any problem (see Figure 2, 3).

    The RADIUS server is a server Synology RADIUS on a Synology NAS, which is a FreeRADIUS server under the hood.

    In the settings of the ISA wireless, I put this RADIUS server for authentication (see screenshot 1, 4).

    However, I can not connect to connect to the network:

    On the iPhone (iOS 6.1.3) I get a prompt for a user name and password, but when I click on connect, it says 'connect to 'cisco3'... ". "and stays there.

    In ISA 570w newspaper, he said:

    Information

    Wireless

    MSG = add MAC station in the list of the ATU. VID = 5; MAC = 5 C: 59:48:02:78:3E;

    Information

    Wireless

    MSG = Wireless mode is a 802.11 mixed b_g_n

    When I cancel the connection attempt, he said:

    Information

    Wireless

    MSG = the Client has dissociated;

    On my Thinkpad with Windows 7 Professional I have everything configured as usual (see screenshots 5,6,7,8) but when I try to connect I do not get a command prompt where I wonder username and password, and finally the connection cannot be established (see Figure 9). Also tried with the same configuration on an another Windows 7 Pro installed costs for laptop with the same problem.

    I can't see any attempt of 570w ISA to authenticate anything in the logs of the RADIUS.

    Also the capture of network traffic on the LAN to the Synology NAS port does not show the RADIUS datagrams.

    I already disabled COP because I read that it can cause problems, but it did not help.

    Can you please suggest something else I can try?

    Thanks in advance!

    Kind regards

    Dominik

    I saw these screenshots, but that screen settings just select the button set up next to the authentication method in the section user authentication, under users.  In each of your screenshots, the RADIUS server identification number is 1, so I would also ensure that I configured the server ID RADIUS 1 that can be configured by going to users-> RADIUS servers.

    All that said, I have seen that your tests have passed and I also do not understand the point of having the RADIUS settings on other screens and then to have info ID RADIUS.  My thought is that you'd be able to pre-set RADIUS users of-> screen RADIUS servers and then select the RADIUS server ID in all other screens without having to enter the RADIUS news over and over again.  He also thinks that you could ignore the users-> screen RADIUS server and enter RADIUS information over and over again and it should work... as you set up initially.  However, based on the past experience of programming errors, I recommend configuring the ID from RADIUS server 1 under user-> RADIUS servers if you have not already... just in case where.

    Shawn Eftink
    CCNA/CCDA

    Please note all useful messages and mark the correct answers to help others looking for solutions in the community.

  • Cisco ISE 1.3 - Mab authentication with a vlan for each foor

    Hello

    A client wants to implement authentication MAB with a vlan for each floor. I found a solution of Loïc

    I have set up the following:

    -the profile of different authentication with a vlan different.

    -Add the endpoint (printer etc) endpoint identity.

    -create endpoint group identity that end point of recall.

    -create a rule to authorizzation reminding all work and element... in the end.

    Do you know if there is a faster way where another way to solve the problem?

    Thank you all

    Well, mab in some environments, could be replaced by profiling and for rules, rather af with a rule authz for each floor, you can name your VLAN in your eponymous switches to "Printers", in the world, then you would only need an authz rule, where you use the name of the vlan instead of identification number, so no matter where this printer , it will end in the vlan 'Printer', whatever it is in this specific switch.

  • User authentication with AD Director

    Hey!

    Am having a problem with the management groups.

    I try to make external authentication with users of the AD but fails with one: user authentication failed: Eric: no group admin

    Everything seems fine, political authorization, Menu access, liaison group AD with ISE Super Admin to access the data group

    My user is ok on AD (not locked, expired, or anything)

    Anyone had this problem before?

    THX

    Possibility of vice.

    CSCud31796    ISE - External RBAC fails if Member user from the group containing the apostrophe

    Symptom:

    RBAC using a storage of external identity (AD, LDAP) group mapping fails for a correct user with the groups to access the GUI of the ISE. The following message will appear:

    "User authentication failed: username: admin group.

    Conditions:

    The user is a member of a group that contains the apostrophe character.

    Workaround solution:

    There is no work around in ISE.

    1 rename all groups in the external identity store such that they do not contain apostrophes

    2 remove users participating in the administration of all external groups containing apostrophes ISE

    Jatin kone
    -Does the rate of useful messages-

  • Tecra S10 - e-SATA with WD MyBook problem

    I have Tecra S10-10 loaded with win 7/32 final. From the beginning, there is fixation e-sata WD MyBook problem - most of the time cannot be reached
    and Device Manager hangs up refreshing devices. Only restart after sometimes he can be attached, but only those by boot allows. All other devices works fine. Before win 7
    I worked with XP no problem also.

    I tried to update the drivers for the chipset for win 7 - but it failed with the message that this computer does not meet the minimum requirements.
    The BIOS is 2.0. Trying to upgrade the BIOS to 3.0, he replied that Intel TXT must be disabled, but it is set in the BIOS, option cannot be selected.

    No idea how to fix e-sata?

    Hi Damir

    As I see that you do have a general problem with e-SATA, but just when you want to use this device to some so I think that the solution is not so easy.
    This device is not known to me, but I suppose you guessed it with USB cable. You can use it with any other standard USB port?

  • My sister has problems on his laptop, how can I connect to the laptop with my labtop to help him with his computer problems? Thank you.

    My sister has problems on his laptop, how can I connect to laptop with my labtop to help her with her computer problems when I live several States away? Please help me if you know how to do this thank you.

    Suggest you use Team Viewer, free version.
    It is used here every day for several hours.

    Please see the links below for more details...
    http://www.TeamViewer.com/en/index.aspx
    http://www.TeamViewer.com/en/products/remotecontrol.aspx
    http://www.TeamViewer.com/en/help/cat15-remote-control.aspx

  • Can I run the Microsoft Windows Malicious Software Removal Tool w / Kaspersky AntiVirus with/without any problems?

    Can I run the Microsoft Windows Malicious Software Removal Tool w / Kaspersky AntiVirus with/without any problems?

    Can I run the Microsoft Windows Malicious Software Removal Tool w / Kaspersky AntiVirus with/without any problems?

    Yes.  It is a tool on demand and not in real time thus creates no problems or conflicts with the other application in real time, including Kaspersky Antivirus.

  • S271HL - demand guarantee, she needed no repair - I'm back with the same problem

    Earlier, I sent a S271HL monitor for repair under warranty.  The issue was that the screen would not activate and the only thing that happened was an orange power flashing instead of a constant blue button button.  The problem is that I got, with the same problem that I sent him.

    I am the home monitor today.  The first two pages of order of service, under the description of the problem, I see:

    said c:CX dsnt unit turn on, only a power light flashes

    a: do you have a self test, no go, so informed the cs repair, cx agreed

    r: at the request of the unit for repair

    On the second page, I see this:

    Computer data. Accessories
    No accessories (No. Box)

    Software & other remarks:
    surface scratches, no power

    (Note to this poster: surface scratches?)  Where?  I treated this monitor as it was made of Crystal.)

    Diagnosis / repair:

    Reported problem not noted.  Monitor power towards the top with good screen, stable.  Monitor adopted system intensive burnin test over the weekend, more than 63 hours, without any problem.  At the end of the extensive, intensive, powered burnin test monitor then turn it several times; always under tension with a display of good and stable, no problems noted.  In the course of trials, powered monitor then turn it several times; always constantly lit with a good and stable display.

    ===============

    So, my friend has a supply for his Acer monitor (a smaller one) that has 19v and 2. 1 has, just like mine.  So I borrowed her power to test my monitor and I had the same problem: an orange power button flashing.

    So the question is: has anyone ever encountered this with Acer?  I'll call them, but I wanted to see if there was any opinions here at the same time.

    It seems that this has not worked for the first tester and launched up to more away for another tech fix, but when that tech he walks, it worked fine. I have been a mechanic my whole life, in many areas, and I saw this scenario several times. There is also the possibility that someone got lazy, but you can not prove it so just contact warranty service again and tell them that they must resume and attach it.

  • Windows Media Player version 11.0.6001.7010 with Vista. Problems with the automatic synchronization of music backup

    Windows Media Player version 11.0.6001.7010 with Vista. Problems with the automatic synchronization of music backup.

    Backup not working in all of these songs/albums that appear also in personal playlists. Does not account for all of the media/music in Windows Media Player. It is also not known where there are additional tracks from the same album, appearing in a personal reading list, these additional tracks (that is, it will take 2 album, but ignore the other 10). Has only begun to occur in 2-3 weeks.

    Previously, when I set up the sync partnership, there are options in playlists 'Sync' discovers the device Set Up, such as 'All music' 'All images' "5 * appreciation of music" etc. None of them showing now also available. Offered only my personal Playlists. All solutions?

    Hi Phil,

    Thanks for posting your question in the Microsoft Community forum. I understand that you can't auto sync in Windows Media Player. I'll help you with this problem.

    Before troubleshooting, provide us with information.

    1. don't you make changes to the computer before this problem?

    2. have you updated to Service Pack 2 installed?

    3. don't you make changes to the computer before this problem?

    This problem may occur if there is an inconsistency in the system files related to Windows Media Player. Follow these methods:

    Method 1.

    Solve problems in Windows Media Player: http://windows.microsoft.com/en-us/windows-vista/troubleshoot-problems-in-windows-media-player

    Method 2.

    Open the troubleshooting Windows Media Player settings Troubleshooter by clicking the Start button, then Control Panel. In the search box, type troubleshooting, and then click Troubleshooting. Click View all, and then click the Windows Media Player settings.

    Method 3.

    You can try to disable and enable the Media Player Control Panel.

    Steps to disable Media Player.

    (a) click the Start button, select Control Panel, click programs and then click turn on turn Windows features on or off. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (b) to develop media features and uncheck the box next to Windows Media player. Click on ok and wait a few minutes to complete. Once this is done, restart the computer.

    Steps to activate the Media Player.

    (a) click the Start button, select Control Panel, click programs and then click turn on turn Windows features on or off. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (b) to develop media features and check the box next to Windows Media player. Click on ok and wait a few minutes to complete. Once this is done, restart the computer.

    Method 4.

    You can run the Microsoft Safety Scanner to make sure that the computer is virus-free.

    Microsoft Safety Scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx

    Security Scanner warning: there will be a loss of data through an analysis using the Microsoft safety scanner to remove any viruses found.

    Additional information.

    Set up a device to sync in Windows Media Player: http://windows.microsoft.com/en-US/windows-vista/Set-up-a-device-to-sync-in-Windows-Media-Player

    Windows Media Player sync: Frequently asked questions: http://windows.microsoft.com/en-us/windows-vista/windows-media-player-sync-frequently-asked-questions

    If you need help on this particular issue or any other related Windows issue, let know us and we will be happy to help you.

  • launch of checkers problems: error: trying to re-launch your game. If the problem persists, it may be network with the server problems or a problem with the configuration of your firewall.

    Windows Vista can not launch problem of checkers: try to re-launch your game. If the problem persists, it may be network with the server problems or a problem with the configuration of your firewall. Please check your firewall settings by visiting the Open Ports FAQ.

    Original title: launch of the problems of checkers:

    Hello

    If you have not yet tried to disable the antivirus/firewall software, then try the following steps to disable them.

    Disable the anti-virus software: http://windows.microsoft.com/en-US/windows-vista/Disable-antivirus-software

    Enable or disable Windows Firewall: http://windows.microsoft.com/en-US/windows-vista/Turn-Windows-Firewall-on-or-off

    IMPORTANT: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks

  • TV LCD W2607C with the same problem of power W2600

    My Dell W2607C LCD TV has even no power problem. I had less than 3 years and have had very good care of it. I stop it after watching some tv to go with dinner. Two hours later I tried to turn it on and I have nothing. Not even a blink on the LCD. Power LED turned blue, then blinked orange.

    A week ago, I finally called Dell customer service. Of course, I've been waiting for about 20 minutes. After giving all pertinent information about my Dell 26 '' LCD/TV, the operator (in English very hilly, I might add) guided me through all the troubleshooting steps I had done. None worked troubleshooting.

    She tried pulling the line 'contact your cable operator' old, but I told her that the cable is fine cause it is also plugged into a second TV. She then tried to explain since it was out of warranty he could not replace. I did not stay in there and started to explain how Dell sold me a defective product and that I have LCD screens and televisions last more than 2 years and how it was unfair for a loyal customer to treat them that way. She then tried to send me to another service of technical support, but the only difference is they were going to charge me. I said 'No' and then asked his supervisor.

    He tried to give the same line on 'out of warranty' and I told him that this is not an uncommon problem and if you google "Dell 26 '' TV does not turn on", he would see that there are a large number of consumers out there with the same problem as me.

    He then said, "Oh but the problem you have raised is the 2600 series model not yours, yours is the 2607C.» I answered, without hesitation, "but it is still part of the same series, is - not? And it seems that the same problem was overlooked when they made the one I bought. »

    I was told someone to a "higher authority" would contact me, but their calls have been rather erratic and I can't return their calls only leave voicemails. I get emails telling me how they just tried to call and when they say they would call between some time next, I end up wasting time to wait for a call that never comes.

    As a last resort, I post here in the hope that I get response and are not facing customers by service script.

    I ordered from Dell recently, his good faith. If I'm stuck with a very expensive paperweight, I might as well made my recent purchases and cut all ties with Dell completely.


  • double authentication with Cisco's VPN IPSEC client

    Cisco VPN client (the legacy IPSEC client) does support dual authentication with RSA token AND ActiveDirectory credentials?

    I know that AnyConnect supports it and the commandsecondary- authentication -Server- group' is only for ssl connections, but must be confirmed.

    Kind regards

    Mohammad

    Hi Mohammad,.

    What is double authentication support for Cisco VPN Client?

    A. No. Double authentication only is not supported on the Cisco VPN Client.

    You can find more information on the customer Cisco VPN here.

    As you said the only client that supports dual authentication is the Cisco AnyConnect secure mobility Client.

    Please note and mark it as correct this Post!

    Let me know if there are still questions about it!

    David Castro,

  • BlackBerry Smartphones Synching with Yahoo - password problems

    Hello

    I'm looking for help with a synchronization problem. I use an 8310. Windows Vista. Desktop Manager v 4.2.2.14.

    I'm going to synchronize. Get to a point where the connection fails, and he asks my Yahoo password. I enter, but he is not happy. The password is deifintely ok. I tried uninstalling & reinstalling different versions of Desktop Manager, but nothing helps. In the past, I had the problem, but it seemed to solve with uninstalling and reinstalling. However, who now does not work?

    What should do?

    What I have to do a complete uninstall - I see that it mentioned elsewhere?

    This is a very frustrating problem! Drives me crazy and preventing the use of my BB.

    I see also said elsewhere that a single don't use Media Manager - why is - this? Is there a good alternative out there to use for my BB as an MP3 player?

    Martin

    mgkelly wrote:

    I see also said elsewhere that a single don't use Media Manager - why is - this? Is there a good alternative out there to use for my BB as an MP3 player?

    HOWTO: use your blackberry as a USB device
    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=BlackBerryDesktopSoftware&thread.ID=3...

  • VCS-E for VCS - C MOVI AUTHENTICATION WITH AD AUTHENTICATION

    Hello

    We have a VCS - C and VCS-E. We have movi users currently authenticated by the local Agent of MSDS database.

    We are now in the treatment of the migration to Active Directory authentication.

    We did it by selecting "Check for credentials" on VCS - C area (entry point for provisioned client) default and each user movi on internal network is getting authenticated with credentials of the AD. (User domain\username & domain password)

    However, if a user of VCS - E attempts to authenticate the credentials of the AD, the connection fails with an invalid username and password.

    If we try to use the username and password of MSDS agent, it works very well.

    Proceed to the next step, we have activated the "Check for authentication" then the VCS - C road customer area to the VCS-E. Then authentication is fine with the AD credentials for users outside movi.

    Now, I want to know, allowing the "Check for authentication" then the VCS - C course CLient area will affect the flow of calls between VCS - C and VCS-E or any service will be interrupted.

    Best regards / / Rio

    You have all the other things listed in the VCS-E? As endpoints, gateways? In brief

    anything with the same fields that are set up on the SCV - C as well?

    You register customers movi on the VCS-E or proxy list them on the VCS - C?

    Outside calls does not at all, as the auth hits the same domain only.

    What you might try is if your movi users can always successfully connect from the outside through the

    the VCS-E to the devices registered in the VCS - C and also presence and directories.

    These are the things that break likely tend to break, if there is something else wrong.

    Not to mention that if you have configured correctly it should work correctly

    Please take some time and go through this guide, they have fine examples in the annex,

    so you can double check your configuration:

    http://www.Cisco.com/en/us/docs/Telepresence/infrastructure/VCs/config_guide/Cisco_VCS_Authenticating_Devices_Deployment_Guide_X7-0.PDF

    Maybe, Andreas has something else to add.

    Please note the answers! (click on the stars below messages)

  • Impossible pictures send normal gmail, messaging LR and with server validation problem coming out?

    Unable to send photos with gmail, the problem of validation of the LR email and outgoing server

    Could attach you a screenshot of the error you get?

    Also did you shoot 2 verification channels and make less secure applications.

Maybe you are looking for