Our application developed using JSF 1.1 framework. While enabling service provider based SSO, we need to post SAML request data with HTTP header while redirecting to IDP URL. How to set custom HTTP header value while redirecting to IDP URL in JSF 1.1 ?
How to set custom HTTP header while redirecting URL in JSF 1.1?
1k Views Asked by srikanth varma At
1
There are 1 best solutions below
Related Questions in JSF
- Strange java.lang.ArrayIndexOutOfBoundsException rendering error in jsf application under high load
- h:outputStylesheet inside ui:repeat
- IntelliJ warns "Cannot resolve variable" on EL variables declared in parent page of include
- How to instantiate a backing bean on page load
- How to disable default keyCode event in Primefaces?
- How to define a style for ul which appears automatically
- How to add '%' symbol in textbox using jsf and jsp?
- Primefaces onkeyPress triggerevent
- h:commandButton action method is not invoked
- f:ajax resetValues="true" does not seem to work
- Primefaces datatable duplicate "No records found" while doing column freeze for empty records
- How to provide a file download from a JSF backing bean using af:commandMenuItem?
- Remove message from h:outputText ofter time
- How to change the position of confirmation box in jsf primefaces?
- commandLink not working when images are in same line
Related Questions in HTTP-HEADERS
- Disable Expect: 100 Continue in Play
- Data in mysql is set to 0 when send a POST using network tab, codeigniter
- Create HTTP GET Header Request
- write a parsed response from a json file in a div
- Adding HTTP Header to AJAX get request
- Play Framework: How to Add a Header to Every Response
- Can servers use http headers order to catch a browser signature?
- how use data like that to send request from windows phone
- CURL to POSTMAN
- How to get content from another website using JQ or JS
- Python, Flask: How to set response header for all responses
- Best practice for indicating a client side refresh/warning from server side
- Gather Client Domain from Rails API GET Request
- How to remove HTTP Server "Apache"?
- AngularJS header authorization format in Interceptor
Related Questions in JSF-1.1
- TypeError: element.selectNodes is not a function at Object.A4J.AJAX.XMLHttpRequest.getElementsByTagName
- How to get component value from ActionEvent object?
- h:selectOneMenu bound to int incorrectly errors "Validation error: Value is not valid"
- cannot run JSF 1.1 application in WebSphere Application Server 8.5.5
- What's the support status of old JSF versions?
- Rendering elements in MyFaces 1.1.1
- valueChangeListener of rich:comboBox getting called on submit which is unintended
- Call JSF 1 bean action on page load
- <a4j:commandButton> action is invoked only on first click in JSF 1.1
- How to download a file from webapp folder using JSF 1.1?
- JSF 1.1 - How to get the ID attribute of h:selectBooleanCheckbox in backing bean
- How to get the ID attribute of h:selectBooleanCheckbox in backing bean
- How to set custom HTTP header while redirecting URL in JSF 1.1?
- How come my JSF code is getting a "java.lang.OutOfMemoryError: Java heap space"?
- Where are the sources for jsf-impl.jar 1.1 and jsf-api.jar 1.1 located?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm not sure about JSF 1.1 considering that it's severely outdated. Consider updating to 2.0 or 2.2 at least. However, you might be able to have redirect occur through a managed bean action, and set headers just before a redirect.
Source: https://richhewlett.com/2015/03/02/setting-http-headers-in-java-server-faces-jsf/ https://docs.oracle.com/cd/E17802_01/j2ee/j2ee/javaserverfaces/1.2/docs/api/ (Couldn't find 1.1 docs)