After authentication check after user authentication using authentication SSO OAM

Hi all

We have recently configured all our apex oracle with OAM SSO application. Authentication works fine but the problem is, after the connection of users, we redirect users to different pages of the application based on their user role that is defined in the database table. This step is a failure because we use is no longer the Page 101 for a connection. We use the SSO OAM, which automatically connects the users when they launch the URL of the application. Please help on how to achieve this functionality. What other options are available.

Previously, I had the sub process in Page 101 because we use page 101 of connection for users using LDAP authentication and we redirect users to different pages depending on their role.

DECLARE

v_role VARCHAR2 (30);

v_page NUMBER;

BEGIN

BEGIN

SELECT user_role

IN v_role

Of user_tbl

WHEN USER_ID = UPPER (TRIM (: P101_USERNAME));

EXCEPTION WHEN NO_DATA_FOUND THEN

v_role: = NULL;

END;

IF v_role = "ADMIN" OR v_role = "POWER_ADMIN".

THEN

v_page: = 1;

ELSIF v_role = "USER".

THEN

v_page: = 32;

ON THE OTHER

v_page: = 200;

END IF;

APEX_UTIL.set_session_state (p_name = > 'FSP_AFTER_LOGIN_URL', p_value = > NULL);

wwv_flow_custom_auth_std. Login (P_UNAME = >: P101_USERNAME,)

P_PASSWORD = >: P101_PASSWORD,.

P_SESSION_ID = > v ("APP_SESSION").

P_FLOW_PAGE = >: APP_ID | ':' || v_page);

END;

Thank you

Rami

Hi ragu_s,

ragu_s wrote:

We have recently configured all our apex oracle with OAM SSO application. Authentication works fine but the problem is, after the connection of users, we redirect users to different pages of the application based on their user role that is defined in the database table. This step is a failure because we use is no longer the Page 101 for a connection. We use the SSO OAM, which automatically connects the users when they launch the URL of the application. Please help on how to achieve this functionality. What other options are available.

Previously, I had the sub process in Page 101 because we use page 101 of connection for users using LDAP authentication and we redirect users to different pages depending on their role.

The "wwv_flow_custom_auth_std.login" procedure is intended to address the process of connecting to an application based on the set of "authentication scheme. A good way to do this will be to allow the user to authenticate and log in to the application home page and write a header PLSQL treat on the application homepage that redirects the user appropriate to its APEX_UTIL from landing page. REDIRECT_URL.

Reference: Re: Re: Branch works not properly

Kind regards

Kiran

Tags: Database

Similar Questions

  • Restrict users to connect (authentication SSO)

    Hello

    I use the SSO authentication for my APEX application, I want to only a limited number of people to access the app and not all employees of Oracle. Where and how to specify the condition of this filter?

    Help, please

    Thank you
    Mary

    Mary:

    A schema for the permission of type ' Pl'Sql function return Boolean "should work well. The function could be something like this

    declare
    retval boolean:=false;
    begin
    select count(*)  into cnt
    from valid_users_table                     --- table of valid users
    where user_id=:app_user;
    if cnt > 0 then retval := true; end if;
    return retva;
    exception when others then retur retval;
    end;
    

    CITY

  • after user, login and welcome screen, the screen is black no office

    after user login and welcome screen, the screen becomes no black no office, no error no display nothing. did the same thing in safe mode except with the border around the black screen safemode. System Restore didn't help, nor fact startup repair. the only thing I get is safe mode with command prompt and the system recovery options. Inspiron 1526 less then years.

    Hi Lilrockmike,

    Thanks for posting your question on the Forums of Windows Vista.

    Have you tried opening the the Task Manager on the screen by pressing CTRL + ALT + DEL?

    If you are able to open the Task Manager, please follow the steps in the data:

    1. click on the processes tab.

    2. scroll to the bottom and check if explorer.exe is listed under the name of the image.

    3. If explorer.exe is not in the list,

    (a) click file and then click New task (run).

    (b) type explorer.exe, and then click Ok.

    (c) check whether you have the back office.

    4. If explorer.exe is listed,

    (a) click on explorer.exe, and then click end process.

    (b) click file and then click New task (run).

    (c) type explorer.exe, and then click Ok.

    (d) check whether you have the back office.

    If the problem is solved, I recommend an antivirus on the computer analysis.

    I will recommend you to a virus on the computer scan using a good antivirus.

    You can also use Microsoft Live Onecare anti-virus.

    http://OneCare.live.com/site/en-us/default.htm

    Hope the above information helps. Please post back and we do know.

    Thank you & best regards

    Ashish Gupta
    Microsoft Answers Support Engineer

  • How to check the total memory used by Oracle and user who use more memo

    Hello

    I use oracle 10.2.0.4 on Windows 2003 server SP2 version.

    1. How can I check the "total memory" used by Oracle

    2. which users use more CPU resources.

    Thanks and greetings
    Amit

    Hello

    Oracle EM is the best to identify the use of the processor and memory used by each session.

    In addition, use after query to calculate the memory used by each session of the.

    SELECT to_char (ssn.sid, '9999') | ' - ' || NVL (ssn.username, nvl (bgp.name, 'background')) |
    NVL (Lower (SSN.machine), ins.host_name) "SESSION."
    TO_CHAR (prc.spid, '999999999') ' PID/THREAD. "
    TO_CHAR ((se1.value/1024) / 1024, '999G999G990D00'). "MO" "SIZE."
    TO_CHAR ((se2.value/1024) / 1024, '999G999G990D00'). "MO" 'MAXIMUM SIZE '.
    V $ sesstat se1, v$ sesstat se2, v$ session ssn, v$ bgprocess bgp, v$ process RPC.
    v$ ins instance, v$ statname stat1, v$ statname stat2
    WHERE se1.statistic # = stat1.statistic # and stat1.name = 'pga session in memory.
    AND se2.statistic # = stat2.statistic # and stat2.name = 'pga memory max session'
    AND se1.sid = ssn.sid
    AND se2.sid = ssn.sid
    AND ssn.paddr = bgp.paddr (+)
    AND ssn.paddr = prc.addr (+);

    Kind regards
    Charrier

  • Sunday 15 May 2011 after trying to use Microsoft Update why I get the following error message? [Error number: 0 x 80070020]

    Sunday 15 May 2011 after trying to use Microsoft Update why I get the following error message? [Error number: 0 x 80070020]

    Hi MikeGoodold,

    1. did you of recent changes on the computer?

    2. do you have security software installed on the computer?

    See the below Microsoft article and try the steps mentioned, check if it helps.

    You receive error 0 x 80070020 when you use the Windows Update Web site or the Microsoft Update Web site to install the updates

    http://support.Microsoft.com/kb/883825

  • Automatically deleted from the storage of the DSO after data files using the command cp ASMCMD... why?

    I installed Oracle database on Linux 6.6, Virtualbox 11.2.0.1.0.

    I used ASM for database storage.

    When I want to perform a backup in offline mode. I stop the database data files and copy to the filesystem as follows (for example).

    ASMCMD [+] > cp +DATA/ora11g/datafile/system.270.883592533/u01/app/oracle

    The files copied with success and also any other data files, logs and controlfiles files. Then, I also rename all the files in editing mode.

    After that, I used the backup files to start the oracle of backup (storage non - ASM with new pfile edited)

    Open successfully from a backup database.

    But when I want to use old spfile to open the database for the storage of the DSO again, a few errors have occurred as no data files in ASM storage.

    I check the contents of the ASM storage with ASMCMD commands. And realize that there only spfile and controlfile located ASM storage and other files: data files and online redo logfiles automatically deleted.

    Why the data files and log files deleted ASM storage? Is this normal? I have no delete all files of the DSO.

    It is actually deleted from the use of the cp command?

    Exactly what we say.  Data in ASM files are OMF (Oracle managed files).  The RENAME translates the DSO by deleting the original file.

    Hemant K Collette

  • CS6 Master Collection ask for password after months of use

    Why CS6 is now asking a password again after months of use?  I already entered a valid passwork during installation.  I am running on a 15 "Macbook Pro Mountain Lion.  I run Photoshop, and then I get this screenScreen Shot 2013-04-27 at 2.25.42 PM.png

    But I already have a password and have installed CS6 six months ago.  Even when I enter the password, it sticks and me and this dialog at every launch.

    Tom,

    Can you provide the AMT3.log for a look, he can help us to know the problem.

    You can find the file the slot location: -.

    \Users\[username]\AppData\Local\Temp

    Also please move the cache.db desktop file and then launch the software, serialize with the serial number and then close and reopen it.

    The cache.db file location is: / Library/Application Support/Adobe/Adobe PCD/cache

  • Why Firefox is not saving my log in info after that I used the option "Remember Me"?

    Why Firefox is not saving my log in info after that I used the option "Remember Me"?
    Whenever I get on a frequently used site where I have already indicated on the Firefox browser to save my log in info, I still need to manually connect. The latest versions of Firefox are not like that. I am running Firefox on both my Imac (OS 10.5.8) and on my Mac Book Pro (Snow Leopard), and on each machine, the latest version of Firefox does the same thing. I don't have this problem with Safari, but I prefer to use Firefox then please let me know if there is anything I can do to solve this problem.

    This has happened

    Each time Firefox opened

    Is two months ago

    If you register your name, and your password in the password manager and then having no other effect that Firefox can fill these name if necessary.
    Firefox is not automatically a session you.
    Many Web sites may use a cookie to remember you, you do not need to open a session.

    Websites to remember you and automatically log you are stored in a cookie that you must allow: Firefox > Preferences > privacy > Cookies: "Exceptions."
    Also make sure that you do not use the delete, search and download Firefox browsing history to erase "Cookies" and the "Site preferences" "browser history".

  • Is it possible to see mile splits after a race using the Apple Watch?

    After a race using the Apple Watch I'd like to see my thousand intermediate time. Is this possible?

    Hello

    On your iPhone, in the application of the activity: scroll to training > tap training > click shares.

  • check box "Users must enter username and password to use this computer" is not available

    check box "Users must enter username and password to use this computer" is not available

    When I run the "control userpasswords2" prompt to run a UAC dialog comes up, however... the checkbox and "user must enter username and password to use this computer" is not there. "  PC is a member of a domain, the system is windows 7. I am an administrator

    Hello

    Please contact the Microsoft Community.

    I would have you post your query in the TechNet Forums. Your question would be more out there.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/category/w7itpro

    Back to us for any issues related to Windows in the future. We will be happy to help you.

  • Internal error of the View Composer. Contact your administrator. After the upgrade using VMware-viewconnectionserver-x86_64 - 6.0.0 - 1884746, I can't edit the AutomatedDedicatedComposerPool

    Hello.

    Some panic here.

    After the upgrade using VMware-viewconnectionserver-x86_64 - 6.0.0 - 1884746, I can't edit the AutomatedDedicatedComposerPool

    I get internal error View Composer. Contact your administrator.

    Help, please.

    Best regards

    Peter

    Hmm

    Apparently available allow was to be done by right-clicking in the pool and enable provisioning on the Provisioning... tab. Not on the status button in the overview of Ddesktop pools.

    Dang.

    Best regards

    Peter

  • I'm 7 days in LR to the trial. After creation and 'use' to develop to edit 6 catalogues, I find without changing this or that all catalogs when opening, now have a bright red nail in different areas of the photos in the catalog. Some of the

    I'm 7 days in LR to the trial. After creation and 'use' to develop to edit 6 catalogues, I find without changing this or that all catalogs when opening, now have a bright red nail in different areas of the photos in the catalog. Some of the catalogues have been created several days ago and were considered OK, but now this 'red' hue appeared in all the catalogues without any intervention by me.

    I don't know why you create several different catalogs. Lightroom is managed much more efficiently using a single catalog. But regardless of this issue, it seems that if you have enabled clipping indicators. Pressing the J button makes the point high and indicators on shadow clipping or out of service. Or you can click on the small square in the upper corners of the histogram. Clicking the square to the left turns clipping shadow power. Clicking the square to the right will turn point highlight clipping power. I leave switched indicators so that I can identify areas that need to be adjusted so that I can eliminate all clipping.

  • How to record an animation After Effects for use in Captivate

    Advice on the best way to record an animation After Effects for use 7 Captivate?

    After effects files that can be rendered as MP4, you can insert them as video in Captivate.

  • How to use JavaScript to limit the number of boxes to check the user can select a PDF form?

    How to use JavaScript to limit the number of boxes to check the user can select a PDF form?

    Here's the working solution

    Please rename all the boxes like chkBox0, chkBox1... .chkBox30 (must start with 0)

    Value of exports of each checkbox must be "Yes" (default value is Yes)

    Place this Code at the level of the Javascript Document

    -Code JavaScript document-

    var counter = 0;                Checked the meter

    -Count boxes checked again when the document is closed and reopened.

    for (var i = 0; i)<= 30;="">

    If (getField("chkBox"_+_i).value == 'Yes') {}

    Counter += 1;

    }

    }

    -The function of validation-

    function validateCheckBox(name,value) {}

    If (value == 'Yes' & meter)<>

    Counter += 1;

    } else if (value == 'Off') {}

    counter = 1;

    } else {}

    getField ("name") .value = "Off";

    App.Alert ("you can select only four checkboxes");

    }

    }

    -End of Document Javascript-

    Now put this line in the MouseUp event all checkboxes

    Box - Code MouseUp event.

    validateCheckBox (event.target.name, event.target.value);

    //----------------------------------------------------------------------------------

    Hope this will help

    Kind regards

    Post edited by: Mohammad Irfan

  • UNIQUE between Simple mode and open authentication possible OAM?

    Hello

    Our SSO OAM in 'Open' mode (WP, PM, AM, AAA and ID).

    I would like to configure an applications in SIMPLE mode between the access server and webgate. But still I'd like to preserve, single sign - on, when the user accesses the protected open OAM application.

    Is this possible? Thank you.

    Yes, possible. The transport application component security mode has no impact on the end user SSO.

    Technically, the mix of modes (simple and open) is not supported. If you have installed some AAA servers more in simple mode you can connect your webgate to those simple ones more and not the other (open mode) to avoid this problem.

    If you need to share the existing AAA servers you will need to bring the listening in BOTH modes. This used to work even if I have not tried with recent versions. The technique is to (re) configure the AAA servers in Simple mode and then pass the parameter mode back to open the profile of component in the directory (via the admin UI).

    Mark

Maybe you are looking for