public class SubjectAuthenticationResult extends Object
SubjectCreator.
iff authentication was successful, getSubject() will return a non-null value and
getStatus() will return AuthenticationResult.AuthenticationStatus.SUCCESS.
In this case, the Subject will contain the user Principal and zero or more other principals
representing groups.
SubjectCreator| Constructor and Description |
|---|
SubjectAuthenticationResult(AuthenticationResult unsuccessfulAuthenticationResult) |
SubjectAuthenticationResult(AuthenticationResult authenticationResult,
Subject subject) |
| Modifier and Type | Method and Description |
|---|---|
Exception |
getCause() |
byte[] |
getChallenge() |
AuthenticationResult.AuthenticationStatus |
getStatus() |
Subject |
getSubject() |
public SubjectAuthenticationResult(AuthenticationResult authenticationResult, Subject subject)
public SubjectAuthenticationResult(AuthenticationResult unsuccessfulAuthenticationResult)
public Exception getCause()
public AuthenticationResult.AuthenticationStatus getStatus()
public byte[] getChallenge()
public Subject getSubject()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.