Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
SealedObjects and unsealing them
Joined: May 18, 2004
Dec 06, 2004 04:14:00
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,
subject: SealedObjects and unsealing them
Class of an object
Security Patterns example code ?
Obfuscated Transfer Object Pattern ?
Servlet Sessions Coding
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013