Package org.bgerp.plugin.sec.auth
Class AuthResult
java.lang.Object
org.bgerp.plugin.sec.auth.AuthResult
Auth result.
-
Constructor Summary
ConstructorsConstructorDescriptionAuthResult
(Throwable exception) Auth error.AuthResult
(User user) Successful auth constructor. -
Method Summary
-
Constructor Details
-
Method Details
-
isSuccess
public boolean isSuccess()- Returns:
- auth success.
-
getUser
- Returns:
- user in case of
isSuccess()
.
-
getException
- Returns:
- exception in case of not
isSuccess()
.
-