Hello,
1. We have integrated Jira with Ping federate Single Sign On Server and the users login to Jira with out entering username and password.
2. But, the Login Details of the users are not recorded (unless they login to jira manually by entering username and password).
3. Because of this, we are unable to do user access review. We are trying to inactivate users who are not accessing/using jira (by looking at the Last Login Date)
Seems like the Ping Federate plugin does not login the user properly.
When logging in a user the onLoginAttempt(...) method of com.atlassian.jira.security.login.LoginManager should be called. This will update the login details for the user.
ApplicationUser appUser;
HttpServletRequest request;
LoginManager loginManager = ComponentAccessor.getComponent(LoginManager.class);
loginManager.onLoginAttempt(request, appUser.getKey(), true);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.