Class BambooTrustedApplicationsManagerImpl

java.lang.Object
com.atlassian.bamboo.security.trustedapplications.BambooTrustedApplicationsManagerImpl
All Implemented Interfaces:
BambooTrustedApplicationsManager, com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager, com.atlassian.security.auth.trustedapps.TrustedApplicationsManager

public class BambooTrustedApplicationsManagerImpl extends Object implements BambooTrustedApplicationsManager
  • Constructor Details

    • BambooTrustedApplicationsManagerImpl

      public BambooTrustedApplicationsManagerImpl(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider, BambooTrustedApplicationDao trustedAppsDao)
  • Method Details

    • getTrustedApplication

      @Nullable public @Nullable com.atlassian.security.auth.trustedapps.TrustedApplication getTrustedApplication(String applicationId)
      Specified by:
      getTrustedApplication in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsManager
    • getCurrentApplication

      public com.atlassian.security.auth.trustedapps.CurrentApplication getCurrentApplication()
      Specified by:
      getCurrentApplication in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsManager
    • save

      public void save(BambooCurrentApplication currentApplication)
      Specified by:
      save in interface BambooTrustedApplicationsManager
    • getApplicationCertificate

      public com.atlassian.security.auth.trustedapps.Application getApplicationCertificate(String baseUrl) throws com.atlassian.security.auth.trustedapps.ApplicationRetriever.RetrievalException
      Specified by:
      getApplicationCertificate in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
      Throws:
      com.atlassian.security.auth.trustedapps.ApplicationRetriever.RetrievalException
    • addTrustedApplication

      public 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.
      Specified by:
      addTrustedApplication in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
    • deleteApplication

      public boolean deleteApplication(String applicationId)
      Specified by:
      deleteApplication in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
    • getTrustedApplications

      public Iterable<com.atlassian.security.auth.trustedapps.TrustedApplication> getTrustedApplications()
      Specified by:
      getTrustedApplications in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager