RRRRHHHH_Code
Diff Revisions
d30bcc ...
vs
ccac99 ...
for ruralHouses/src/domain/Account.java
|
@@ -2,9 +2,9 @@ |
2 |
2 |
|
|
3 |
3 |
|
import java.io.Serializable; |
4 |
4 |
|
import java.util.Arrays; |
5 |
|
- |
|
6 |
5 |
|
import businessLogic.SecurityManager; |
7 |
6 |
|
|
|
7 |
+ |
|
8 |
8 |
|
public class Account implements Serializable { |
9 |
9 |
|
|
10 |
10 |
|
/** |
|
@@ -21,7 +21,6 @@ |
21 |
21 |
|
private Owner owner; |
22 |
22 |
|
private boolean admin = false; |
23 |
23 |
|
|
24 |
|
- |
|
25 |
24 |
|
public Account(byte[] usr){ |
26 |
25 |
|
this.username = usr; |
27 |
26 |
|
this.salt =null; |
|
@@ -48,7 +47,9 @@ |
48 |
47 |
|
|
49 |
48 |
|
} |
50 |
49 |
|
|
|
50 |
+ |
|
51 |
51 |
|
|
|
52 |
+ |
|
52 |
53 |
|
public byte[] getUsername() { |
53 |
54 |
|
return username; |
54 |
55 |
|
} |