public class

TrustedAppsOrphanedTrustDetector

extends Object
implements OrphanedTrustDetector
java.lang.Object
   ↳ com.atlassian.applinks.core.auth.trusted.TrustedAppsOrphanedTrustDetector

Class Overview

Finds orphaned Trusted Applications certificates (that is, they are stored locally but are not related to a configured ApplicationLink)

Summary

Public Constructors
TrustedAppsOrphanedTrustDetector(ApplicationLinkService applicationLinkService, TrustedApplicationsConfigurationManager trustedApplicationsConfigurationManager, TrustConfigurator trustConfigurator)
Public Methods
void addOrphanedTrustToApplicationLink(String id, OrphanedTrustCertificate.Type type, ApplicationId applicationId)
Register an existing trust relation ship against an Application Link.
void deleteTrustCertificate(String id, OrphanedTrustCertificate.Type type)
List<OrphanedTrustCertificate> findOrphanedTrustCertificates()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.applinks.core.auth.OrphanedTrustDetector

Public Constructors

public TrustedAppsOrphanedTrustDetector (ApplicationLinkService applicationLinkService, TrustedApplicationsConfigurationManager trustedApplicationsConfigurationManager, TrustConfigurator trustConfigurator)

Public Methods

public void addOrphanedTrustToApplicationLink (String id, OrphanedTrustCertificate.Type type, ApplicationId applicationId)

Register an existing trust relation ship against an Application Link.

Parameters
id id the id/key of an OrphanedTrustCertificate
type type the OrphanedTrustCertificate.Type of the target certificate to register
applicationId the id of the application link where the trust relationship belongs to.

public void deleteTrustCertificate (String id, OrphanedTrustCertificate.Type type)

public List<OrphanedTrustCertificate> findOrphanedTrustCertificates ()