Class 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 Detail

      • 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 Detail

      • 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 Detail

      • 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