Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6383405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:38:45+00:00 2026-05-25T02:38:45+00:00

My application is authenticating using RSA authentication manager Once the user is logged in,

  • 0

My application is authenticating using RSA authentication manager

Once the user is logged in, its logged in userid is retrieved from request header, role determined from LDAP lookup. then this role is used by the JSF2 application to show certain sections on the page and other authorization dependent areas.

(Note: Instead of RSA this could use Tivoli as well).

Application timeout is controlled by web.xml session-timeout value which is currently set to 30 mins. And RSA timeout was set to 2 mins (for testing). When the RSA session expires before the application session , and the user performed any server operation like button click, the user was forwarded back to the login page by RSA automatically.
It was working fine.

AFter I added ajax functionality to some of the buttons in the application, using the following f:ajax tag

< h: commandLink id=”todayOrdersLink” value=”someValue”
action=”#{someAction}”
onclick=”clearAllElementsInHiddenDivs(‘confirmationSearch’); > < f:ajax execute=”@form” onevent=”showWorkingIndicator” />
< / h:commandLink >

now when the RSA session expires and I click on such a button, the server call is not made by the button, it rather shows javascript popup saying malformed XML: Document is empty.

However if i click F5 button or browser refresh button to force a server call, then the earlier behaviour of forwarding to login page still works. I have to somehow be able to make a server call from the ajaxified buttons after the RSA session expires.

any help will be apprecaited.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:38:45+00:00Added an answer on May 25, 2026 at 2:38 am

    This is because the view doesn’t exists anymore and the server can’t recreate the view on the server to execute the ajax, you can try something like that :

    var onError = function onError() {
       window.location = 'http://domain.com/loginPage.jsf';
     };
    jsf.ajax.addOnError(onError);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm in a ASP.NET application using Windows Authentication. I'm using HttpContext.Current.User.Identity.Name to get the
I have an application that is using Windows Authentication and a SqlRoleProvider for user
I've got a web application that is running against Windows Authentication using our Active
I am using windows authentication within an ASP.NET application. I am wondering how to
I have an ASP.Net application where I am using Windows authentication to deny access
I have an ASP.NET web application that is using forms authentication. Everything is configured
I have an ASP.Net MVC application and I'm using Forms authentication in SQL Server.
This application is using windows integrated authentication in IIS. No anonymous login. It's also
We have an application that does single sign-on using a centralized authentication server (CAS).
I have an application running under WebLogic that is using standard forms authentication. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.