com.atlassian.confluence.util.http.trust
Class TrustedConnectionStatus
java.lang.Object
com.atlassian.confluence.util.http.trust.TrustedConnectionStatus
- Direct Known Subclasses:
- TrustedTokenAuthenticator.TrustedConnectionStatus
public class TrustedConnectionStatus
- extends java.lang.Object
Represents the status of a trusted connection response
- Since:
- 2.10
Constructor Summary |
TrustedConnectionStatus(boolean userRecognized,
boolean appRecognized,
boolean trustedConnectionError,
java.util.List<java.lang.String> trustedConnectionErrors,
boolean trustSupported)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNSUPPORTED
public static final TrustedConnectionStatus UNSUPPORTED
SUCCESS
public static final TrustedConnectionStatus SUCCESS
TrustedConnectionStatus
public TrustedConnectionStatus(boolean userRecognized,
boolean appRecognized,
boolean trustedConnectionError,
java.util.List<java.lang.String> trustedConnectionErrors,
boolean trustSupported)
isUserRecognized
public boolean isUserRecognized()
- Returns:
- true if the user was recognised by the server
isAppRecognized
public boolean isAppRecognized()
- Returns:
- true if the requesting application was recognised by the server (i.e. a trust relationship has been
established)
isTrustedConnectionError
public boolean isTrustedConnectionError()
- Returns:
- true if there were any errors in processing the trusted application request
getTrustedConnectionErrors
@Deprecated
public java.util.List<java.lang.String> getTrustedConnectionErrors()
- Deprecated. as of confluence 2.10, use getTrustedTransportErrorMessages instead
- Returns:
- A list of errors reported by the server
getTrustedTransportErrorMessages
public java.util.List<com.atlassian.security.auth.trustedapps.TransportErrorMessage> getTrustedTransportErrorMessages()
- Returns:
- A list of TransportErrorMessages reported by the server
isTrustSupported
public boolean isTrustSupported()
- Returns:
- true if the server actually supports trusted application requests
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2013 Atlassian. All Rights Reserved.