After implementing a custom Single Sign on integrated with JasperReports Server and with an authentication that ended successfully, the server was adding the jsessionid value to the URL that was not recognized as a valid address, for example:
https://domain-name/jasperserver-pro/saml/login;jsessionid=0E45E38F93C3E31891B6892B320DB4A6
In order to avoid this issue, in the WEB-INF/web.xml file add the highlighted line:
<session-config><!-- Default to 20 minute session timeouts -->
<session-timeout>20</session-timeout>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<session-timeout>20</session-timeout>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
This will ensure that you do not have the jsessionid in the ul and the redirect to the address (https://domain-name/jasperserver-pro/saml/login) will be carried out successfully.
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now