Package com.atlassian.sal.api.auth
Class Authenticator.Result.Success
java.lang.Object
com.atlassian.sal.api.auth.Authenticator.Result
com.atlassian.sal.api.auth.Authenticator.Result.Success
- Enclosing class:
- Authenticator.Result
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.sal.api.auth.Authenticator.Result
Authenticator.Result.Error, Authenticator.Result.Failure, Authenticator.Result.NoAttempt, Authenticator.Result.Status, Authenticator.Result.Success -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.sal.api.auth.Authenticator.Result
getMessage, getPrincipal, getStatus
-
Constructor Details
-
Success
Construct a success result for a particular principal. NOTE: PLease consider providing message and using constructor with two arguments.- Parameters:
principal- the successfully-authenticated principal
-
Success
Construct a success result for a particular principal with a result message.- Parameters:
message- a message indicating the success of this resultprincipal- the successfully-authenticated principal- Since:
- 2.0.7
-