Class ApplicationAuthorizationServiceImpl

java.lang.Object
com.atlassian.jira.application.ApplicationAuthorizationServiceImpl
All Implemented Interfaces:
ApplicationAuthorizationService

public class ApplicationAuthorizationServiceImpl extends Object implements ApplicationAuthorizationService
  • Constructor Summary

    Constructors
    Constructor
    Description
    ApplicationAuthorizationServiceImpl(ApplicationRoleManager applicationRoleManager, JiraLicenseManager jiraLicenseManager, LicenseMaintenancePredicate licenseMaintenancePredicate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canUseApplication(ApplicationUser user, com.atlassian.application.api.ApplicationKey key)
    Determines whether the given user is allowed to access the passed application.
    Set<com.atlassian.application.api.ApplicationAccess.AccessError>
    getAccessErrors(ApplicationUser user, com.atlassian.application.api.ApplicationKey key)
    Gets the errors that would occur if the passed user accessed the passed application.
    Set<com.atlassian.application.api.ApplicationAccess.AccessError>
    getLicensingAccessErrors(com.atlassian.application.api.ApplicationKey key)
    Get any errors that would occur when accessing the passed application.
    int
    getUserCount(com.atlassian.application.api.ApplicationKey key)
    Retrieve the number of active users for an application as identified by the ApplicationKey.
    boolean
    hasNoLicensingAccessErrors(com.atlassian.application.api.ApplicationKey key)
    Determines whether it is possible to access the passed application.
    boolean
    Returns true if any of the licenses in this JIRA instance have exceeded their respective license user limit.
    boolean
    isApplicationInstalledAndLicensed(com.atlassian.application.api.ApplicationKey key)
    Determines whether an application is installed (running in this JIRA instance) and has a backing (potentially exceeded) license.
    boolean
    isExceeded(com.atlassian.application.api.ApplicationKey key)
    Determines whether an application's license user limit have been exceeded.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait