|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.security.trust.DefaultTrustedApplicationsManager
public class DefaultTrustedApplicationsManager
Manager to support trusted communications between applications
| Field Summary | |
|---|---|
protected org.apache.log4j.Logger |
log
Deprecated. |
| Constructor Summary | |
|---|---|
DefaultTrustedApplicationsManager()
|
|
| Method Summary | |
|---|---|
com.atlassian.security.auth.trustedapps.TrustedApplication |
addTrustedApplication(com.atlassian.security.auth.trustedapps.Application in,
com.atlassian.security.auth.trustedapps.RequestConditions conditions)
|
boolean |
deleteApplication(String id)
|
void |
deleteTrustedApplication(ConfluenceTrustedApplication trustedApplication)
|
Collection<ConfluenceTrustedApplication> |
getAllTrustedApplications()
Return a list of all the trusted application aliases. |
com.atlassian.security.auth.trustedapps.Application |
getApplicationCertificate(String baseUrl)
|
com.atlassian.security.auth.trustedapps.CurrentApplication |
getCurrentApplication()
Return the public and private keys for the currently running instance |
TrustedToken |
getToken()
Generates a token for the currently authenticated user. |
ConfluenceTrustedApplication |
getTrustedApplication(long id)
|
ConfluenceTrustedApplication |
getTrustedApplicationByAlias(String alias)
|
ConfluenceTrustedApplication |
getTrustedApplicationByName(String applicationName)
|
Iterable<com.atlassian.security.auth.trustedapps.TrustedApplication> |
getTrustedApplications()
|
void |
initConfluenceKey()
|
void |
saveTrustedApplication(ConfluenceTrustedApplication trustedApplication)
|
void |
setAsymmetricKeyFactory(AsymmetricKeyFactory asymmetricKeyFactory)
|
void |
setCurrentApplicationIdProvider(CurrentApplicationIdProvider currentApplicationIdProvider)
|
void |
setEncryptionProvider(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider)
|
void |
setKeyStoreDao(KeyStore keyStoreDao)
|
void |
setTrustedApplicationDao(TrustedApplicationDao trustedApplicationDao)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Deprecated protected final org.apache.log4j.Logger log
| Constructor Detail |
|---|
public DefaultTrustedApplicationsManager()
| Method Detail |
|---|
public void saveTrustedApplication(ConfluenceTrustedApplication trustedApplication)
saveTrustedApplication in interface TrustedApplicationsManagerpublic void deleteTrustedApplication(ConfluenceTrustedApplication trustedApplication)
deleteTrustedApplication in interface TrustedApplicationsManagerpublic ConfluenceTrustedApplication getTrustedApplicationByAlias(String alias)
getTrustedApplicationByAlias in interface TrustedApplicationsManagerpublic TrustedToken getToken()
getToken in interface TrustedTokenFactorypublic Collection<ConfluenceTrustedApplication> getAllTrustedApplications()
TrustedApplicationsManager
getAllTrustedApplications in interface TrustedApplicationsManagerpublic com.atlassian.security.auth.trustedapps.CurrentApplication getCurrentApplication()
getCurrentApplication in interface TrustedApplicationsManager
public void initConfluenceKey()
throws NoSuchProviderException,
NoSuchAlgorithmException
initConfluenceKey in interface KeyPairInitialiserNoSuchProviderException
NoSuchAlgorithmExceptionpublic void setKeyStoreDao(KeyStore keyStoreDao)
public void setTrustedApplicationDao(TrustedApplicationDao trustedApplicationDao)
public void setAsymmetricKeyFactory(AsymmetricKeyFactory asymmetricKeyFactory)
public void setEncryptionProvider(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider)
public void setCurrentApplicationIdProvider(CurrentApplicationIdProvider currentApplicationIdProvider)
public ConfluenceTrustedApplication getTrustedApplication(long id)
getTrustedApplication in interface TrustedApplicationsManagerpublic ConfluenceTrustedApplication getTrustedApplicationByName(String applicationName)
getTrustedApplicationByName in interface TrustedApplicationsManager
public com.atlassian.security.auth.trustedapps.Application getApplicationCertificate(String baseUrl)
throws com.atlassian.security.auth.trustedapps.ApplicationRetriever.RetrievalException
getApplicationCertificate in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManagercom.atlassian.security.auth.trustedapps.ApplicationRetriever.RetrievalException
public com.atlassian.security.auth.trustedapps.TrustedApplication addTrustedApplication(com.atlassian.security.auth.trustedapps.Application in,
com.atlassian.security.auth.trustedapps.RequestConditions conditions)
addTrustedApplication in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManagerpublic boolean deleteApplication(String id)
deleteApplication in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManagerpublic Iterable<com.atlassian.security.auth.trustedapps.TrustedApplication> getTrustedApplications()
getTrustedApplications in interface com.atlassian.security.auth.trustedapps.TrustedApplicationsConfigurationManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||