public class

TrustedConnectionStatus

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.util.http.trust.TrustedConnectionStatus
Known Direct Subclasses

Class Overview

Represents the status of a trusted connection response

Summary

Fields
public static final TrustedConnectionStatus SUCCESS
public static final TrustedConnectionStatus UNSUPPORTED
Public Constructors
TrustedConnectionStatus(boolean userRecognized, boolean appRecognized, boolean trustedConnectionError, List<String> trustedConnectionErrors, boolean trustSupported)
Public Methods
@Deprecated List<String> getTrustedConnectionErrors()
This method is deprecated. as of confluence 2.10, use getTrustedTransportErrorMessages instead
List<TransportErrorMessage> getTrustedTransportErrorMessages()
boolean isAppRecognized()
boolean isTrustSupported()
boolean isTrustedConnectionError()
boolean isUserRecognized()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final TrustedConnectionStatus SUCCESS

public static final TrustedConnectionStatus UNSUPPORTED

Public Constructors

public TrustedConnectionStatus (boolean userRecognized, boolean appRecognized, boolean trustedConnectionError, List<String> trustedConnectionErrors, boolean trustSupported)

Public Methods

@Deprecated public List<String> getTrustedConnectionErrors ()

This method is deprecated.
as of confluence 2.10, use getTrustedTransportErrorMessages instead

Returns
  • A list of errors reported by the server

public List<TransportErrorMessage> getTrustedTransportErrorMessages ()

Returns
  • A list of TransportErrorMessages reported by the server

public boolean isAppRecognized ()

Returns
  • true if the requesting application was recognised by the server (i.e. a trust relationship has been established)

public boolean isTrustSupported ()

Returns
  • true if the server actually supports trusted application requests

public boolean isTrustedConnectionError ()

Returns
  • true if there were any errors in processing the trusted application request

public boolean isUserRecognized ()

Returns
  • true if the user was recognised by the server

public String toString ()