|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.security.auth.trustedapps.SeraphTrustedApplicationsManager
public class SeraphTrustedApplicationsManager
Implements the TrustedApplicationsManager
Constructor Summary | |
---|---|
SeraphTrustedApplicationsManager(TrustedApplicationManager manager,
CurrentApplicationFactory applicationFactory,
JiraAuthenticationContext jiraAuthenticationContext)
|
Method Summary | |
---|---|
com.atlassian.security.auth.trustedapps.TrustedApplication |
addTrustedApplication(com.atlassian.security.auth.trustedapps.Application app,
com.atlassian.security.auth.trustedapps.RequestConditions conditions)
Adds the specified Trusted Application. |
boolean |
deleteApplication(String applicationID)
Removes the specified Trusted Application. |
com.atlassian.security.auth.trustedapps.Application |
getApplicationCertificate(String baseUrl)
Retrieve the application certificate from some other application, over HTTP. |
com.atlassian.security.auth.trustedapps.CurrentApplication |
getCurrentApplication()
|
com.atlassian.security.auth.trustedapps.TrustedApplication |
getTrustedApplication(String id)
|
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 |
---|
public SeraphTrustedApplicationsManager(TrustedApplicationManager manager, CurrentApplicationFactory applicationFactory, JiraAuthenticationContext jiraAuthenticationContext)
Method Detail |
---|
public com.atlassian.security.auth.trustedapps.TrustedApplication getTrustedApplication(String id)
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 Iterable<com.atlassian.security.auth.trustedapps.TrustedApplication> getTrustedApplications()
getTrustedApplications
in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
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
conditions
- the conditions that incoming requests must meet in order to be accepted.
public boolean deleteApplication(String applicationID)
deleteApplication
in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
applicationID
- the ID of the trusted application.
true
if the Trusted Application with the specified ID was found and removed, false
if the
specified ID was not found.public com.atlassian.security.auth.trustedapps.Application getApplicationCertificate(String baseUrl) throws com.atlassian.security.auth.trustedapps.ApplicationRetriever.RetrievalException
${baseUrl}/admin/appTrustCertificate
.
getApplicationCertificate
in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
baseUrl
- the base URL of the application to be queried
com.atlassian.security.auth.trustedapps.ApplicationRetriever.RetrievalException
- if there are problems
with the certificate retrieved from the remote server or the server cannot be contacted
RuntimeException
- if there are problems retrieving the certificate from the remote server
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |