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.0Represents the status of a trusted connection response- Since:
- 2.10
-
-
Field Summary
Fields Modifier and Type Field Description static TrustedConnectionStatus
SUCCESS
Deprecated, for removal: This API element is subject to removal in a future version.static TrustedConnectionStatus
UNSUPPORTED
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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<com.atlassian.security.auth.trustedapps.TransportErrorMessage>
getTrustedTransportErrorMessages()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isAppRecognized()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isTrustedConnectionError()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isTrustSupported()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isUserRecognized()
Deprecated, for removal: This API element is subject to removal in a future version.String
toString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
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.
-
-
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
-
-