com.atlassian.confluence.util.http.httpclient
Class TrustedTokenAuthenticator.TrustedConnectionStatus

java.lang.Object
  extended by com.atlassian.confluence.util.http.httpclient.TrustedTokenAuthenticator.TrustedConnectionStatus
Enclosing class:
TrustedTokenAuthenticator

public static final class TrustedTokenAuthenticator.TrustedConnectionStatus
extends java.lang.Object

Represents the status of a trusted connection response


Field Summary
static TrustedTokenAuthenticator.TrustedConnectionStatus SUCCESS
           
static TrustedTokenAuthenticator.TrustedConnectionStatus UNSUPPORTED
           
 
Method Summary
 java.util.List getTrustedConnectionErrors()
           
 boolean isAppRecognized()
           
 boolean isTrustedConnectionError()
           
 boolean isTrustSupported()
           
 boolean isUserRecognized()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSUPPORTED

public static final TrustedTokenAuthenticator.TrustedConnectionStatus UNSUPPORTED

SUCCESS

public static final TrustedTokenAuthenticator.TrustedConnectionStatus SUCCESS
Method Detail

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

public java.util.List getTrustedConnectionErrors()
Returns:
A list of errors 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-2008 Atlassian Pty Ltd. All Rights Reserved.