Package mireka.login
Class LoginResult
- Object
-
- mireka.login.LoginResult
-
public class LoginResult extends ObjectThis class represents the result of an authentication attempt, it gives both the decision, and if the attempt is successful, thePrincipalauthenticated.
-
-
Field Summary
Fields Modifier and Type Field Description LoginDecisiondecisionPrincipalprincipalRepresents the canonical name of the logged in user
-
Constructor Summary
Constructors Constructor Description LoginResult(LoginDecision decision, Principal principal)
-
-
-
Field Detail
-
decision
public final LoginDecision decision
-
principal
public final Principal principal
Represents the canonical name of the logged in user
-
-
Constructor Detail
-
LoginResult
public LoginResult(LoginDecision decision, Principal principal)
-
-