Package com.atlassian.security.auth.trustedapps

Interface Summary
Application Represents a base of an application that can participate in a trusted relationship.
ApplicationCertificate Represents the certificate received by the filter from a trusted client.
ApplicationRetriever Responsible for getting Application details from a client
CurrentApplication Represents current application.
EncryptedCertificate Contains the encoded certificate information to be included in the trusted requests between applications.
EncryptionProvider Abstracts out the provision of encryption to the trusted app service.
IPMatcher Filter that is supposed to prevent attacks on cross-application trust feature by restricting a range of IP addresses such request can originate from.
RequestValidator Validate whether a request is allowed or not.
TrustedApplication Represents a trusted remote application.
TrustedApplicationsManager A container for trusted application representations.
URLMatcher Checks whether the supplied url path (after the context) is valid.
UserResolver Given the trusted application certificate this object will lookup the Principal that made this request
 

Class Summary
BaseEncryptionProvider Base class for encryption provider, provides methods that are not crypto-specific
BouncyCastleEncryptionProvider  
DefaultApplicationCertificate Default implementation is simply a data container.
DefaultCurrentApplication  
DefaultEncryptedCertificate  
DefaultIPMatcher simple list based implementation.
DefaultRequestValidator DefaultRequestValidor aggregates IP and URL matchers and throws an exception if they do not match.
DefaultTrustedApplication very basic implementation
DefaultTrustedApplicationsManager Default implementation.
DefaultURLMatcher Takes a set of patterns and assumes a URL matches if it starts with one of the given patterns.
ListApplicationRetriever  
Null  
ReaderApplicationRetriever Take a Reader and produce an Application.
SimpleApplication A simple data container
Transcoder.Base64Transcoder Standard implemetation.
TransportErrorMessage TransportErrorMessages are reported when a client makes a TrustedApplication request.
TransportErrorMessage.ApplicationIdNotFoundInRequest AppId not found in request
TransportErrorMessage.ApplicationUnknown  
TransportErrorMessage.BadProtocolVersion  
TransportErrorMessage.Code Typesafe enum that contains all known error codes.
TransportErrorMessage.Code.Severity  
TransportErrorMessage.MagicNumberNotFoundInRequest  
TransportErrorMessage.PermissionDenied  
TransportErrorMessage.SecretKeyNotFoundInRequest  
TransportErrorMessage.UserUnknown  
TrustedApplicationUtils Utility class for trusted applications
TrustedApplicationUtils.Constant Used in Request/Response Header values for validating the capabilites of the client/server.
TrustedApplicationUtils.Header Request/Response header parameters
TrustedApplicationUtils.Header.Request  
TrustedApplicationUtils.Header.Response  
UIDGenerator Utility class for UID generation.
URLApplicationRetriever Take a URL and produce an Application.
 

Exception Summary
ApplicationRetriever.ApplicationNotFoundException An application certificate was not found at a web site.
ApplicationRetriever.InvalidApplicationDetailsException An application certificate was found but is not valid.
ApplicationRetriever.RemoteSystemNotFoundException Remote website counld not be contacted at the address provided.
ApplicationRetriever.RetrievalException Used if the Application cannot be retrieved.
CertificateTooOldException  
InvalidCertificateException  
InvalidIPAddressException Thrown when the IP address of the client does not match the allowed IP addresses
InvalidRemoteAddressException  
InvalidRequestException Thrown by a RequestMatcher if the Request is not to its liking.
InvalidRequestUrlException Thrown when the Requested URL does not match the allowed request urls.
InvalidXForwardedForAddressException Thrown if an IP address in an X-Forwarded-For header doesn't match
IPAddressFormatException  
SystemException Used when something serious is wrong.
TransportException  
 



Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.