/*
- * Copyright (C) 2016, 2017 Roland Häder
+ * Copyright (C) 2016 - 2022 Free Software Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
import java.io.Serializable;
import java.util.List;
-import javax.ejb.Local;
import org.mxchange.jusercore.model.user.User;
import org.mxchange.jusercore.model.user.password_history.PasswordHistory;
* <p>
* @author Roland Häder<roland@mxchange.org>
*/
-@Local
public interface FinancialsUserLoginWebSessionController extends Serializable {
/**
*/
void setBaseTemplatePathName (final String baseTemplatePathName);
- /**
- * Logout for administrator area. If a logged-in user instance exists, it is
- * being logged-out, too.
- * <p>
- * @return Outcome (should be redirected)
- */
- String doAdminLogout ();
-
- /**
- * Logins the user, if the account is found, confirmed and unlocked.
- * <p>
- * @return Redirect target
- */
- String doUserLogin ();
-
- /**
- * Logout for current user by invalidating the current session.
- * <p>
- * @return Outcome (should be redirected)
- */
- String doUserLogout ();
-
/**
* Getter for logged-in user instance
* <p>
*/
boolean isInvisible ();
- /**
- * Setter for current password (clear text)
- * <p>
- * @param userCurrentPassword Current password
- */
- void setUserCurrentPassword (final String userCurrentPassword);
-
- /**
- * Getter for current password (clear text)
- * <p>
- * @return Current password
- */
- String getUserCurrentPassword ();
-
/**
* Checks whether the (previously entered) current password matches with
* from the user instance.