A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
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
Servlet Sessions Coding
Security Patterns example code ?
Class of an object
Obfuscated Transfer Object Pattern ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014