litesoft
Diff Revisions
811
vs
812
for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/server/pos/User.java
|
@@ -2,6 +2,7 @@ |
2 |
2 |
|
|
3 |
3 |
|
import java.util.*; |
4 |
4 |
|
|
|
5 |
+ |
import org.litesoft.codec.*; |
5 |
6 |
|
import org.litesoft.core.simpletypes.*; |
6 |
7 |
|
import org.litesoft.core.typeutils.*; |
7 |
8 |
|
import org.litesoft.core.util.*; |
|
@@ -53,13 +54,13 @@ |
53 |
54 |
|
public String getHexPassword() |
54 |
55 |
|
{ |
55 |
56 |
|
String zEncryptedPassword = LLgetPassword(); |
56 |
|
- |
return (zEncryptedPassword == null) ? null : Hex.toHex( zEncryptedPassword.getBytes() ); |
|
57 |
+ |
return (zEncryptedPassword == null) ? null : HexStringCodec.encode( zEncryptedPassword ); |
57 |
58 |
|
} |
58 |
59 |
|
|
59 |
60 |
|
@Override |
60 |
61 |
|
protected void LLsetHexPassword( String pHexPassword ) |
61 |
62 |
|
{ |
62 |
|
- |
LLsetPassword( (pHexPassword == null) ? null : new String( Hex.fromHex( pHexPassword ) ) ); |
|
63 |
+ |
LLsetPassword( (pHexPassword == null) ? null : new String( HexStringCodec.decode( pHexPassword ) ) ); |
63 |
64 |
|
} |
64 |
65 |
|
|
65 |
66 |
|
@Override |