litesoft
Diff Revisions
811
vs
812
for /trunk/GWT_Sandbox/InitFrom/src/org/litesoft/initfrom/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.*; |
|
@@ -50,13 +51,13 @@ |
50 |
51 |
|
public String getHexPassword() |
51 |
52 |
|
{ |
52 |
53 |
|
String zEncryptedPassword = LLgetPassword(); |
53 |
|
- |
return (zEncryptedPassword == null) ? null : Hex.toHex( zEncryptedPassword.getBytes() ); |
|
54 |
+ |
return (zEncryptedPassword == null) ? null : HexStringCodec.encode( zEncryptedPassword ); |
54 |
55 |
|
} |
55 |
56 |
|
|
56 |
57 |
|
@Override |
57 |
58 |
|
protected void LLsetHexPassword( String pHexPassword ) |
58 |
59 |
|
{ |
59 |
|
- |
LLsetPassword( (pHexPassword == null) ? null : new String( Hex.fromHex( pHexPassword ) ) ); |
|
60 |
+ |
LLsetPassword( (pHexPassword == null) ? null : new String( HexStringCodec.decode( pHexPassword ) ) ); |
60 |
61 |
|
} |
61 |
62 |
|
|
62 |
63 |
|
@Override |