com.atlassian.security.auth.trustedapps
Interface TrustedApplication
- All Superinterfaces:
- Application
- All Known Implementing Classes:
- DefaultTrustedApplication
- public interface TrustedApplication
- extends Application
Represents a trusted remote application.
This object used to verify a request claiming to have come from this application.
Such a request is required to have an encrypted certificate and application ID.
The certificate decryption and validation is a responsibility of this object.
decode
public ApplicationCertificate decode(EncryptedCertificate certificate,
javax.servlet.http.HttpServletRequest request)
throws InvalidCertificateException
- This method decodes and validates the received certificate.
- Returns:
ApplicationCertificate object if validation succeeds
- Throws:
InvalidCertificateException - - if either decryption or validation fails
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.