Last change
on this file since bdd6491 was 1ad8e64, checked in by Ema <ema_spirova@…>, 3 years ago |
spring security
|
-
Property mode
set to
100644
|
File size:
591 bytes
|
Rev | Line | |
---|
[1ad8e64] | 1 | package finki.diplomska.tripplanner.models.exceptions;
|
---|
| 2 |
|
---|
| 3 | public class InvalidLoginResponse {
|
---|
| 4 | private String username;
|
---|
| 5 | private String password;
|
---|
| 6 |
|
---|
| 7 | public InvalidLoginResponse() {
|
---|
| 8 | this.username = "Invalid username";
|
---|
| 9 | this.password = "Invalid password";
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | public String getUsername() {
|
---|
| 13 | return username;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | public void setUsername(String username) {
|
---|
| 17 | this.username = username;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | public String getPassword() {
|
---|
| 21 | return password;
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | public void setPassword(String password) {
|
---|
| 25 | this.password = password;
|
---|
| 26 | }
|
---|
| 27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.