@Service public class SoftwareAuthorizationServiceImpl extends Object implements SoftwareAuthorizationService
| Constructor and Description |
|---|
SoftwareAuthorizationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUseApplication(com.atlassian.jira.user.ApplicationUser user)
Determines whether the given user is allowed to access the JIRA Software application.
|
Collection<com.atlassian.application.api.ApplicationAccess.AccessError> |
getSoftwareLicensingAccessErrors()
Get any errors that would occur when accessing the Software application.
|
void |
verifySoftwareLicense()
Determines whether a valid license is present for the JIRA Software application.
|
public boolean canUseApplication(@Nullable com.atlassian.jira.user.ApplicationUser user)
SoftwareAuthorizationServicecanUseApplication in interface SoftwareAuthorizationServiceuser - the user to check for access rights - if this is null, this method returns falsepublic void verifySoftwareLicense()
throws com.atlassian.extras.common.LicenseException
SoftwareAuthorizationServiceverifySoftwareLicense in interface SoftwareAuthorizationServicecom.atlassian.extras.common.LicenseException - if
a Software license is not present,
or if the Software license has expired,
or if the number of users specified in the Software license has been exceeded.public Collection<com.atlassian.application.api.ApplicationAccess.AccessError> getSoftwareLicensingAccessErrors()
SoftwareAuthorizationServicegetSoftwareLicensingAccessErrors in interface SoftwareAuthorizationServicecom.atlassian.greenhopper.license.ApplicationAccessError that represents various
licensing violations. An empty collection means there is no violation.Copyright © 2007–2025 Atlassian. All rights reserved.