Use certificate and form to the same application of ADF basic authentication

Hello

We have an application that needs to use time based authentication CLIENT-CERT and FORM.

I have configured a domain with Client certificate requested and applied, generated a client certificate, created an Asserter custom identity with a Login Module and successfully recorded in our application using the CLIENT-CERT. , our customer wants to use the FORMS authentication at the same time with the CLIENT-CERT authentication type.

The idea only I had was to use a servlet proxy deployed on another instance of WebLogic (10.3.6) that uses the CLIENT-CERT authentication that will forward requests to the main ADF application using classic FORM based authentication. The problem with this approach is that the proxy servlet is accessible using HTTPS and the communication between himself and the application of the ADF is made by using HTTP, so the client browser is redirected to HTTP on first access. For example, if I used Apache to proxy requests that would have been easily solved using RequestHeader set true WL-Proxy-SSL.

You have any other suggestions on how to achieve this?


Thank you in advance,


Ionut Cristian Paraschiv

Multichannel Solution Architect

Advahoo Business Solutions

I found a work around for this problem:

-l'application uses FORMS authentication in function

-l'application is deployed on a server managed with Client Cert has requested and applied (only clients with certificates will connect over HTTPS)

-the login page has only one input for the password text

-in the bean of login, in the doLogin() method page, we can get the certified client and get the username with a custom class of UserNameMapper

Object certChain = request.getAttribute ("javax.servlet.request.X509Certificate");

Certificate CERT [] = certChain (certificate []);

X509Certificate cert = (X509Certificate) CERT [0];

... to get the user name

Ionut Cristian Paraschiv

Multichannel Solution Architect

Advahoo Business Solutions

Tags: Java

Similar Questions

  • How to use headphones and speakers at the same time

    I want to use headphones at the same time that I use the speakers.

    I am hard of hearing and need the LOUD volume. When others are watching a film, projected on HDTV, they won't let me turn the volume up to where I need it, which is why, headphones and speakers at the same time.

    I use Windows 7, I want to stick with Windows 7, so I want a Windows 7 solution.

    If there is no solution for Windows 7 and there is a solution using Windows 10, then and then only, I will be upgrading to Windows 10.

    Using headphones and speakers was possible under Windows XP. I think that a kid at Microsoft, with a regular audience, thought this feature was redundant and removed. Large.

    Macs will play through the headphones and speakers, so maybe it's time to buy a Mac!

    Hi Bob,

    Thanks for posting your query on the Microsoft Community.

    With the description, I understand that you want to use headphones and speakers at the same time on your Windows 7 computer. I will certainly help you get this fixed number.

    I suggest you check the suggestions contained in below mentioned thread and check if this is useful:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/headphones-speakers-at-the-same-time/7ed31bcf-3762-430D-9c9f-e6967d670d0e

    Hope this information is useful. Please come back to write to us if you need more help, we will be happy to help you.

  • Can I use cs and cc at the same time?

    Can I use both cs and cc at the same time after upgrade to Adobe Creative cloud?

    Yes. I have CC and installed CS and both work. However, I don't see why I should use cs.

    Concerning

    Kasper

  • Pages Unathorizzed and allowed in the same application

    Hello! This may seem a strange question, but I'll post it anyway.

    I have an application that allows users to enter data (which are care for example). I want only certain people to be able to access these pages. In the same application, I have several reports, I want anyone to be able to access it, not need to login. For now, I have divided the 2 functions in separate applications, but it is very laid back and forth between switching applications. Is it possible to do this in a single application? I don't want to duplicate reports in 2 separate applications... it would be a maintenance nightmare. Or do I need a generic connection that allows anyone to view specific pages? The 'public' users do not have to log in to view this information now, and I wouldn't have to do with this new application.

    Any other ideas how can I accomplish this?

    Thank you!
    Jodie

    Not a weird question at all. Just do a current appropriate authentication scheme and set the security attribute of each page to Page public is public.

    Scott

  • Using PC and Mac under the same belonging to the creative cloud

    I use a PC and a Mac interchangeably at different locations. Under the same membership in the creative cloud, the software can be downloaded to a PC and a Mac? Also, graphics files created using a PC to update using a mac and vice versa? Thank you.

    Yes and Yes.

    You can install on both using the cc desktop application, https://creative.adobe.com/products/creative-cloud

  • Use wireless and USB at the same time on an OfficeJetPro 8500

    I have a HP OfficeJetPro 8500 Wireless I want to use both wireless to other computers by using the USB connection to the office which is in the same room and the House. Is it possible to do both at the same time? The manual suggests that you connect using wireless or connect USB but says nothing about aid from both. Thank you

    Hello

    Yes, you can do both.

    Install the USB with your desktop computer at the office.

    Install wireless on other wireless devices.  Your other devices should find the OJ Pro 8500 Wireless and connect.  You should be asked the SSID and password on these devices.

    It will depend also on the number of wireless devices can manage your router, so make sure that your router is capable.

  • Presentation of the iPhone and iPad in the same application - same product ID versions?

    I submit a DPS app with iPhone and iPad "renditions" today. Can I use the same product or more different ID for the sheets that I submit with each app?

    The two renditions are of the exact same content, they are free, so does not need approval of IPA, so I guess they must have the same ID?

    It doesn't really matter since the folios are free, but using the same product ID for one set a "renditions" folio is the recommended method.

  • Using insert and delete at the same time

    Good afternoon

    I want to do an insert on the table A in table B, while at the same time do a delete on table a.

    and I want to do with the procedures.

    Here is the script I came up with.

    INSERT the table_a (select * from table_b where status = was ') REMOVE from table_b where status = has '

    but I get an error ORA-00933.

    Got any ideas on how I can do this?

    Thank you

    try to:

    BEGIN

    Insert into table_b (select * from table_a where status = has ');

    remove from table_a where status = ';

    END;

    In addition, to create a procedure and see if you can only call this:

    some_procedure

    in some cases, for example (type ODBC connection)

    {call some_procedure ;}

    MK

  • How to use MouseEvent and KeyboardEvent on the same function?

    It's maybe a stupid question, but I'll ask her.

    I did a login (textfield and a button).

    mybutton.addEventListener(MouseEvent.CLICK, loginCheck); It's my button

    function loginCheck(event:MouseEvent):void {}
    My code for the function here

    }

    In order to make the connection by using the Enter key, I tried to add:

    myText.addEventListener (KeyboardEvent.KEY_DOWN, keyEnter);
    function keyEnter(event:KeyboardEvent): void
    {
    If (event.keyCode is Keyboard.ENTER)
    {
    loginCheck();
    }
    }

    But of course it won't work because loginCheck is a function of MouseEvent.

    How can I make it work?

    It does not appear that you will use one of the properties of type event mouse or keyboard in loginCheck, right? Then, you can simply set the type of the parameter in loginCheck() to the event instead and add the event argument in keyEnter() when calling loginCheck() from here-> loginCheck (event).

    rmybutton.addEventListene (MouseEvent.CLICK, loginCheck, false, 0, true); It's my button

    function loginCheck(event:Event):void {}
    logic of connection here

    }

    myText.addEventListener (KeyboardEvent.KEY_DOWN, keyEnter, false, 0, true);
    function keyEnter(event:KeyboardEvent): void
    {
    If (event.keyCode is Keyboard.ENTER)
    {
    loginCheck (event);
    }
    }

    TS

  • How to use Notepad and utube at the same time on an ipad?

    Is there a way to mulitask with two apps on the iPad, I want to take notes while watching a utube video?

    only on the most recent iPads that supports multitasking side by side

  • Satellite M30X-122: how to use the headphones and speaker at the same time?

    Hello

    y at - it a possiblity to use headphones and speaker at the same time?
    When I plug the headphones into the Jack, the speaker is created off the coast of the moment.

    Thank you
    Peter

    Hi Peter,.

    There is unfortunately no way to use both headphones and speakers at the same time. This is because tghere's a disconnection physical power for the internal speakers when you plug in the headphones. It is not by software. The only way around this would be to dismantle the headphones Jack and solder connections that are broken when you insert the headphone permanently.

    Kind regards

  • Unable to connect WiFi and Bluetooth at the same time

    : After that I updated to KitKat 4.4.2 cannot use WiFi and Bluetooth at the same time. Must turn off Bluetooth to use WiFi.can you help with this problem. I have the Motorola droid RAZR maxx hd

  • recently to message this application memory is exhausted when I use the same applications as always before

    iMac running OS 10.9.5, suddenly getting alerts that my application memory is running out / has run out; I use the same applications that I used throughout and never had these alerts. I close all except an application but still get the message. This just started happening.

    HI there are Selia,

    Looks like you get this error message concerning the exhaustion of the memory of the application no matter how little you actually run. I would like to start by resetting your PRAM first:

    OS X El Capitan: reset PRAM your computer

    https://support.Apple.com/kb/PH21876?locale=en_US

    1. Choose the Apple menu > shut down.

    2. Look for the following keys on the keyboard: Option, command, P and r. you need to hold these keys down simultaneously in step 4.

    3. Turn on your Mac.

    4. Immediately press on and hold down the command-Option-r-P. You must press these keys until the black screen with the Apple logo to appear.

      Continue to hold the keys down until you restart your Mac, and you hear the tone of starting for the second time.

    5. Release the keys.

    After resetting the PRAM on your computer, you may need to update your speaker volume, screen resolution and startup disk preferences.

    Then test the question a bit. If it persists, I would then start mode safe so that the system can check for disk errors and clear a few caches of system level.

    OS X El Capitan: start in safe mode

    https://support.Apple.com/kb/PH21875?locale=en_US

    You can also use the activity monitor to see if there is a runaway process eating all your memory or put too much pressure on her:

    Use the monitor activity on your Mac.

    https://support.Apple.com/en-us/HT201464

    Thank you for using communities of Apple Support.

  • Q1: Can we have 2 different products Middleware (SOA and forms and reports) in the same field of WLS?

    Q1: Can we have 2 different products Middleware (SOA Suite and forms and reports) both executed in the same Weblogic domain?

    Q2: what about 2 domains different (one for SOA Suite) and one for forms and reports on the same machine (Box) on the same installation of Weblogic?

    I'm looking for official documents that can clarify these issues for the customer.
    Thank you.

    Hello

    Q1: Can we have 2 different products Middleware (SOA Suite and forms & States) both executed in the same Weblogic domain?

    It is not supported because as SOA and forms & States share a common directory called oracle_common that would be

    crushed by the product. This is why we ask you to use two different homes of Middleware for installation and configuration.

    Ex: If you have installed SOA in a field and you have installed forms & reports and then the oracle_common could be crushed by

    Binary forms & reports and so there might be problem with SOA.

    Q2: how about you 2 different (one for SOA Suite) areas and the other for forms & reports on the same machine (Box) on the same installation of Weblogic?

    You can have 2 different domains but not in the same weblogic Installation according to the explanation above.

    Kind regards

    Prakash.

  • Detailed form Master in Apex - creating main records and details at the same time

    I m trying to create a master form / retail.
    The master is a simple standard form and below on the same page there is a tabular presentation containing the details.

    I am facing a problem when you try to save a new record from the master at the same time with new details.
    If I create a new record of the master and at the same time create detail records for this master (on the same page), when I submit that the foreign key of the details field is not filled in. So only one master record gets inserted into the table and record line is not inserted.

    When I have everything first create a master without a detail and edit this master and then add details so everything's allright (since the primary key field is filled out at the time).

    I just need to confirm that whether in the APEX form master detail, can save master and line record at the same time or is it as master must be registered the 1 and then line must be enterd and saved?

    Please let me know, if this functionality can be achieved in the APEX.

    Hello

    There was an error in the process of pl/sql, you referenced f01 (F01. COUNT) in the loop condition and which should have been f03, also you have assigned the wrong field to what should have been P3_DEPARTMENT_ID

    I fixed that. Also, I'm not 100% sure but I think in order to use the table in the column must be of type text or something (and not hidden), but I can't check now because of lack of time.

    A few mistakes during the presentation, but they are still due to constraints on the other fields.

    FOR I IN 1.APEX_APPLICATION. G_F03. COUNTY

    LOOP

    APEX_APPLICATION. G_F03 (I): =: P3_DEPARTMENT_ID;

    END LOOP;

    Concerning

    Bottom

Maybe you are looking for