Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to use RPCManager.setLoginRequiredMarker

    Hi all

    I use SiteMinder for SSO login control and I have an application developing on SmartGWT 4.1d and I want to do the relogin case but I cannot change the login page as there are so many applications share the same login page I also don't want to put loginRequiredMarker.html into the application folder

    so I know that when session timeout occur I can identify by the following in HTTP request/response
    - request.getStatus() == 200
    - request.getStatusText().equals("OK")
    - request.getResponseText().contains("document.AUTOSUBMIT.submit()")
    - request.getResponseText().contains("siteminderagent"))

    My question is,
    1. I need to use RPCManager.setLoginRequiredMarker to set the pattern that will found in session timeout?
    2. if for above case, what would be the pattern like?

    Thx in advanced
Working...
X