In my application, users can log-in in various ways...

  • SSO: WAF via Tomcat valve
  • SSO: IIS integration
  • directly on the portal's login page (only for test/development systems)

Now I have the challenge to create a mechanism that can log last successful login of a user and write this information to my application DB or to the user in Ivy system DB.

Which options do I have to do this?

asked 02.07.2019 at 02:46

timorupp's gravatar image

timorupp
(suspended)
accept rate: 100%


Hi Timo

For your information there is an open feature request (XIVY-1576) that Axon.ivy should do this automatically. However, until this is implemented you can do the following: Implement a class that implements the non public API Interface: ch.ivyteam.ivy.security.ISessionExtension Register your class with the ivy security manager during startup:

DiCore.getGlobalInjector(ISecurityManager.class).addSessionExtension(myExtension);

More details see here: https://answers.axonivy.com/questions/1359/detect-a-user-session-is-closing-because-of-timeout

Regards

Reto Weiss, Axon.ivy Support

link

answered 02.07.2019 at 07:46

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k202857
accept rate: 74%

edited 02.07.2019 at 07:47

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×28
×14
×7
×3

Asked: 02.07.2019 at 02:46

Seen: 2,074 times

Last updated: 02.07.2019 at 07:47