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 Summary
ConstructorDescriptionBambooTrustedApplicationsManagerImpl
(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider, BambooTrustedApplicationDao trustedAppsDao) -
Method Summary
Modifier and TypeMethodDescriptioncom.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
@Nullable com.atlassian.security.auth.trustedapps.TrustedApplication
getTrustedApplication
(String applicationId) Iterable<com.atlassian.security.auth.trustedapps.TrustedApplication>
void
save
(BambooCurrentApplication currentApplication)
-
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 interfacecom.atlassian.security.auth.trustedapps.TrustedApplicationsManager
-
getCurrentApplication
public com.atlassian.security.auth.trustedapps.CurrentApplication getCurrentApplication()- Specified by:
getCurrentApplication
in interfacecom.atlassian.security.auth.trustedapps.TrustedApplicationsManager
-
save
- Specified by:
save
in interfaceBambooTrustedApplicationsManager
-
getApplicationCertificate
public com.atlassian.security.auth.trustedapps.Application getApplicationCertificate(String baseUrl) throws com.atlassian.security.auth.trustedapps.ApplicationRetriever.RetrievalException - Specified by:
getApplicationCertificate
in interfacecom.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 interfacecom.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
-
deleteApplication
- Specified by:
deleteApplication
in interfacecom.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
-
getTrustedApplications
public Iterable<com.atlassian.security.auth.trustedapps.TrustedApplication> getTrustedApplications()- Specified by:
getTrustedApplications
in interfacecom.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
-