A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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,
I agree. Here's the link:
subject: SealedObjects and unsealing them
Security Patterns example code ?
Class of an object
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-2014