com.atlassian.bamboo.security.trustedapplications
Class BambooTrustedApplicationsManager

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

public class BambooTrustedApplicationsManager
extends java.lang.Object
implements com.atlassian.security.auth.trustedapps.TrustedApplicationsManager, com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager


Constructor Summary
BambooTrustedApplicationsManager(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider, AdministrationConfigurationManager adminConfigMgr, BambooTrustedApplicationDao trustedAppsDao)
           
 
Method Summary
 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(java.lang.String applicationId)
           
 com.atlassian.security.auth.trustedapps.Application getApplicationCertificate(java.lang.String baseUrl)
           
 com.atlassian.security.auth.trustedapps.CurrentApplication getCurrentApplication()
           
 com.atlassian.security.auth.trustedapps.TrustedApplication getTrustedApplication(java.lang.String applicationId)
           
 java.lang.Iterable<com.atlassian.security.auth.trustedapps.TrustedApplication> getTrustedApplications()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooTrustedApplicationsManager

public BambooTrustedApplicationsManager(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider,
                                        AdministrationConfigurationManager adminConfigMgr,
                                        BambooTrustedApplicationDao trustedAppsDao)
Method Detail

getTrustedApplication

public com.atlassian.security.auth.trustedapps.TrustedApplication getTrustedApplication(java.lang.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

getApplicationCertificate

public com.atlassian.security.auth.trustedapps.Application getApplicationCertificate(java.lang.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(java.lang.String applicationId)
Specified by:
deleteApplication in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager

getTrustedApplications

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


Copyright © 2011 Atlassian. All Rights Reserved.