Please tell me how to change a link destination of logout button of intra-mart.

 
[Answer]
There are two ways to change a link destination of logout button of intra-mart.
[Solution 1]
Changing logoutPage of /pages/platform/src/system/security/user/600/top_bar.js.
[Solution 2]
Set logout URL on RequestAnalyzer.
public class SampleRequestAnalyzer extends StandardRequestAnalyzer
  public LoginInfo parseRequest(LoginRequestInfo loginInfo, HttpServletRequest request) {
    loginInfo.setInitialUrl("logout URL");
  }
}
Modify ccess-security.xml and setting to try to use upper class.

<access-security>
  <security-config>
    <user-security>
      <initial-request-analyzer> 
        <request-analyzer-class>SampleRequestAnalyzer</request-analyzer-class> 
      </initial-request-analyzer> 
      <login-request-analyzer> 
        <request-analyzer-class>SampleRequestAnalyzer</request-analyzer-class>
      </login-request-analyzer>



-- Target-------------------------------------------------------------------------------------
iWP/ Web System Construction Platform/WebPlatform/AppFramework
------------------------------------------------------------------------------------------------


FAQID:185
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk