Register / Login
Java in General
SealedObjects and unsealing them
posted 11 years ago
I have this object called UserDetail. It has two private Strings called username and passwd.
This UserDetail object I seal up into a
and it gets put into a file.
Now when I try to take the UserDetail out of the file and out of the
, the username comes out fine but the passwd come out as a bizarre
I don't understand why this is happening as they are both plain strings. Please could someone give me some advice.
Many kind regards,
Servlet Sessions Coding
Security Patterns example code ?
Class of an object
Obfuscated Transfer Object Pattern ?