This project has retired. For details please refer to its Attic page.
AuthenticationResult | Apache Archiva Redback
public class

AuthenticationResult

extends Object
implements Serializable
java.lang.Object
   ↳ org.apache.archiva.redback.authentication.AuthenticationResult

Class Overview

AuthenticationResult: wrapper object for information that comes back from the authentication system

Summary

Public Constructors
AuthenticationResult()
AuthenticationResult(boolean authenticated, String principal, Exception exception)
AuthenticationResult(boolean authenticated, String principal, Exception exception, List<AuthenticationFailureCause> authenticationFailureCauses)
Public Methods
List<AuthenticationFailureCause> getAuthenticationFailureCauses()
Exception getException()
String getPrincipal()
User getUser()
can be null
boolean isAuthenticated()
void setUser(User user)
String toString()
AuthenticationResult user(User user)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AuthenticationResult ()

public AuthenticationResult (boolean authenticated, String principal, Exception exception)

public AuthenticationResult (boolean authenticated, String principal, Exception exception, List<AuthenticationFailureCause> authenticationFailureCauses)

Public Methods

public List<AuthenticationFailureCause> getAuthenticationFailureCauses ()

public Exception getException ()

public String getPrincipal ()

public User getUser ()

can be null

public boolean isAuthenticated ()

public void setUser (User user)

public String toString ()

public AuthenticationResult user (User user)