Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to start FSAL as signed EXE?

Gary_AJan 8 2018 — edited May 18 2023

Recently Frank made a post about using a third party product called launch4j that bundles up a whole bunch of things like icon, etc. in a stand alone executable for run Forms as FSAL.

This thread will hopefully help anyone who would like to implement (such as me!) or have questions about it.

This post has been answered by FCH on Jan 9 2018
Jump to Answer

Comments

Jose Passos

Hi Timo,
I'm working with João on this and the issue we are facing now is that when we are using SSO, on logout we are calling OAM and defining the end_url.
image.png
When we click in logout it redirects to OAM and the logout is done but there is a afrRedirect that is apended on the end_url
image.png
When we login again once OAM redirects to the application the URL has that afrRedirect and fails to load the page with a 404 - Not Found, even though the login is performed.
image.png
If we remove the afrRedirect the application shows up with the user logged in.
Another thing we tested was that if we logout in the browser using the intended URL the issue does not happen.

Can you please shed some light of where this afrRedirect comes from and how can we get rid of it?

Thanks in advance,
Jose Passos

Timo Hahn

I guess the token is appended by the framework's session life cycle. Here the framework sees that you try to navigate to a faces page and somehow know that you were there before. The token is normally used to session tracking.
What I did in this kind of situation was to set the redirect url to a page that is plain HTML and don'T use security at all. Just a plain page that shows the user that he has been logged out successfully. You can add a button to link to the login page if you like. If the user clicks the link or button he's transferred to the normal login page but gets a new fresh token.

Timo

Jose Passos

Hi Timo,
Thanks but that how currently is, but it is not an option because all apps in the project are expected to redirect to Login page. Ultimately OAM will redirect to AD login page.
Is there any way to clean those IDs by invalidating anything?

Thanks in advance,
Jose Passos

Timo Hahn

You can try to do the logout as described in my last response, but instead of showing a button or link do a direct redirect to the home page. This worked for me in older versions. I did not test this in 12.2.1.x

Timo

Jose Passos

Hi Timo,
We've managed to bypass the issue by setting the URL with some extra chars like /CPM/faces/Home?1=1 or something like that.
By doing this the afrRedirect is still sent on the Logout but apparently bypasses the issue on the next Login as adf seems to understand this as a new request.
Also, dispite this extra bit being always the same, it seems to do the trick as we managed to logout and login several consecutive times without the issue (so only if we point to the "clean" face the issue appears).
Thanks for support though :)
Regards,
Jose Passos

1 - 6
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 12 2018
Added on Jan 8 2018
11 comments
9,019 views