public class BambooTrustedApplicationsManagerImpl extends Object implements BambooTrustedApplicationsManager
Constructor and Description |
---|
BambooTrustedApplicationsManagerImpl(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider,
BambooTrustedApplicationDao trustedAppsDao) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.security.auth.trustedapps.TrustedApplication |
addTrustedApplication(com.atlassian.security.auth.trustedapps.Application app,
com.atlassian.security.auth.trustedapps.RequestConditions conditions)
Even though this says "add" in the method name, it is also called to update trusted applications.
|
boolean |
deleteApplication(String applicationId) |
com.atlassian.security.auth.trustedapps.Application |
getApplicationCertificate(String baseUrl) |
com.atlassian.security.auth.trustedapps.CurrentApplication |
getCurrentApplication() |
com.atlassian.security.auth.trustedapps.TrustedApplication |
getTrustedApplication(String applicationId) |
Iterable<com.atlassian.security.auth.trustedapps.TrustedApplication> |
getTrustedApplications() |
void |
save(BambooCurrentApplication currentApplication) |
public BambooTrustedApplicationsManagerImpl(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider, BambooTrustedApplicationDao trustedAppsDao)
@Nullable public com.atlassian.security.auth.trustedapps.TrustedApplication getTrustedApplication(String applicationId)
getTrustedApplication
in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsManager
public com.atlassian.security.auth.trustedapps.CurrentApplication getCurrentApplication()
getCurrentApplication
in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsManager
public void save(BambooCurrentApplication currentApplication)
save
in interface BambooTrustedApplicationsManager
public com.atlassian.security.auth.trustedapps.Application getApplicationCertificate(String baseUrl) throws com.atlassian.security.auth.trustedapps.ApplicationRetriever.RetrievalException
getApplicationCertificate
in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
com.atlassian.security.auth.trustedapps.ApplicationRetriever.RetrievalException
public com.atlassian.security.auth.trustedapps.TrustedApplication addTrustedApplication(com.atlassian.security.auth.trustedapps.Application app, com.atlassian.security.auth.trustedapps.RequestConditions conditions)
addTrustedApplication
in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
public boolean deleteApplication(String applicationId)
deleteApplication
in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
public Iterable<com.atlassian.security.auth.trustedapps.TrustedApplication> getTrustedApplications()
getTrustedApplications
in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.