Class DefaultTrustedConnectionStatusBuilder
- java.lang.Object
-
- com.atlassian.confluence.util.http.trust.DefaultTrustedConnectionStatusBuilder
-
- All Implemented Interfaces:
TrustedConnectionStatusBuilder
@Deprecated public class DefaultTrustedConnectionStatusBuilder extends Object implements TrustedConnectionStatusBuilder
Deprecated.since 7.0.1- Since:
- 2.10
-
-
Constructor Summary
Constructors Constructor Description DefaultTrustedConnectionStatusBuilder()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TrustedConnectionStatusgetTrustedConnectionStatus(HttpResponse httpResponse)Deprecated.Parses the Trusted Applications Authentication headers from the HTTP response provided to the method and builds aTrustedConnectionStatusobject with the results.
-
-
-
Method Detail
-
getTrustedConnectionStatus
public TrustedConnectionStatus getTrustedConnectionStatus(HttpResponse httpResponse)
Deprecated.Description copied from interface:TrustedConnectionStatusBuilderParses the Trusted Applications Authentication headers from the HTTP response provided to the method and builds aTrustedConnectionStatusobject with the results. It is assumed that the response corresponds to a request that was made using TAA headers; if you call this on a response to a request where trusted authentication was not attempted, the return value is undefined.- Specified by:
getTrustedConnectionStatusin interfaceTrustedConnectionStatusBuilder- Parameters:
httpResponse- the HTTP response to extract the trusted connection status from. Must not benull, or anIllegalArgumentExceptionwill be thrown.- Returns:
- a
TrustedConnectionStatusobject containing information about the status and any errors that occurred with the trusted connection. Must not returnnull.
-
-