com.atlassian.sal.api.auth
Class Authenticator.Result

java.lang.Object
  extended by com.atlassian.sal.api.auth.Authenticator.Result
Direct Known Subclasses:
Authenticator.Result.Error, Authenticator.Result.Failure, Authenticator.Result.NoAttempt, Authenticator.Result.Success
Enclosing interface:
Authenticator

public static class Authenticator.Result
extends Object

Encapsulates the results of an authentication attempt. Includes the result status, any problem that occurred, and possibly the authenticated users Principal.


Nested Class Summary
static class Authenticator.Result.Error
           
static class Authenticator.Result.Failure
           
static class Authenticator.Result.NoAttempt
           
static class Authenticator.Result.Status
           
static class Authenticator.Result.Success
           
 
Method Summary
 String getMessage()
           
 Principal getPrincipal()
           
 Authenticator.Result.Status getStatus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStatus

public Authenticator.Result.Status getStatus()

getMessage

public String getMessage()

getPrincipal

public Principal getPrincipal()


Copyright © 2010 Atlassian. All Rights Reserved.