Class UserCheckerImpl

java.lang.Object
com.atlassian.jira.onboarding.UserCheckerImpl
All Implemented Interfaces:
UserChecker

public class UserCheckerImpl extends Object implements UserChecker
  • Constructor Details

  • Method Details

    • firstTimeLoggingIn

      public boolean firstTimeLoggingIn(@Nonnull ApplicationUser user)
      Description copied from interface: UserChecker
      Tests whether this is the first time a user has logged in.
      Specified by:
      firstTimeLoggingIn in interface UserChecker
      Parameters:
      user - logging in
      Returns:
      whether they have logged in before
    • isOnDemandSysAdmin

      public boolean isOnDemandSysAdmin(@Nonnull ApplicationUser user)
      Description copied from interface: UserChecker
      Checks whether a given user is a sysadmin.
      Specified by:
      isOnDemandSysAdmin in interface UserChecker
      Parameters:
      user - logged in
      Returns:
      whether the user is a sysadmin
    • isImpersonationActive

      public boolean isImpersonationActive(@Nonnull ApplicationUser user)
      Description copied from interface: UserChecker
      Checks whether the current user is impersonating a second user
      Specified by:
      isImpersonationActive in interface UserChecker
      Parameters:
      user - currently logged in (as returned by JiraAuthenticationContext)
      Returns:
      whether or not the impersonation feature was detected as active