| /* |
| * Copyright (C) 2007 Jeremy Haile |
| * |
| * This library is free software; you can redistribute it and/or modify it |
| * under the terms of the GNU Lesser General Public License as published |
| * by the Free Software Foundation; either version 2.1 of the License, or |
| * (at your option) any later version. |
| * |
| * This library is distributed in the hope that it will be useful, but |
| * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General |
| * Public License for more details. |
| * |
| * You should have received a copy of the GNU Lesser General Public License |
| * along with this library; if not, write to the |
| * |
| * Free Software Foundation, Inc. |
| * 59 Temple Place, Suite 330 |
| * Boston, MA 02111-1307 |
| * USA |
| * |
| * Or, you may view it online at |
| * http://www.opensource.org/licenses/lgpl-license.php |
| */ |
| |
| package org.jsecurity.samples.spring.web; |
| |
| /** |
| * Command object that parameters are bound to when logging into the sample |
| * application. |
| * |
| * @since 0.1 |
| * @author Jeremy Haile |
| */ |
| public class LoginCommand { |
| |
| /*-------------------------------------------- |
| | C O N S T A N T S | |
| ============================================*/ |
| |
| /*-------------------------------------------- |
| | I N S T A N C E V A R I A B L E S | |
| ============================================*/ |
| private String username; |
| private String password; |
| |
| /*-------------------------------------------- |
| | C O N S T R U C T O R S | |
| ============================================*/ |
| |
| /*-------------------------------------------- |
| | A C C E S S O R S / M O D I F I E R S | |
| ============================================*/ |
| public String getUsername() { |
| return username; |
| } |
| |
| |
| public void setUsername(String username) { |
| this.username = username; |
| } |
| |
| |
| public String getPassword() { |
| return password; |
| } |
| |
| |
| public void setPassword(String password) { |
| this.password = password; |
| } |
| |
| |
| /*-------------------------------------------- |
| | M E T H O D S | |
| ============================================*/ |
| } |