Class TrustedConnectionStatus

java.lang.Object
com.atlassian.confluence.util.http.trust.TrustedConnectionStatus

@Deprecated(forRemoval=true) public class TrustedConnectionStatus extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 7.0.1 will be removed in 9.0
Represents the status of a trusted connection response
Since:
2.10
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TrustedConnectionStatus(boolean userRecognized, boolean appRecognized, boolean trustedConnectionError, List<String> trustedConnectionErrors, boolean trustSupported)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.atlassian.security.auth.trustedapps.TransportErrorMessage>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • UNSUPPORTED

      public static final TrustedConnectionStatus UNSUPPORTED
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SUCCESS

      public static final TrustedConnectionStatus SUCCESS
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • TrustedConnectionStatus

      public TrustedConnectionStatus(boolean userRecognized, boolean appRecognized, boolean trustedConnectionError, List<String> trustedConnectionErrors, boolean trustSupported)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • isUserRecognized

      public boolean isUserRecognized()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      true if the user was recognised by the server
    • isAppRecognized

      public boolean isAppRecognized()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      true if the requesting application was recognised by the server (i.e. a trust relationship has been established)
    • isTrustedConnectionError

      public boolean isTrustedConnectionError()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      true if there were any errors in processing the trusted application request
    • getTrustedTransportErrorMessages

      public List<com.atlassian.security.auth.trustedapps.TransportErrorMessage> getTrustedTransportErrorMessages()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      A list of TransportErrorMessages reported by the server
    • isTrustSupported

      public boolean isTrustSupported()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      true if the server actually supports trusted application requests
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object