|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecuredMessage
If security is an issue for the application, implementing the SecuredMessage
interface should be considered as,
although the default fields of a message could not be altered by receivers (read only or copy),
other messages (subclasses of Message) and their content could be intercepted via the hooking mechanism of the kernel or modified by the receiver.
Thus, additional content could be altered by any receiver.
Implementing the SecuredMessage
interface
(and Overriding the default clone
method of Message
; Do not forget to call super.clone())
will tell the kernel
to do a copy of the message for each receiver, ensuring the data security of the original object/content used to build a message.
PrivateMessage
Method Summary | |
---|---|
Message |
clone()
returns a copy of the message. |
Method Detail |
---|
Message clone()
Message
that need to define a deep copy.
If you do not override this method, you probably do not need to implement this interface as
the Message
class is already secured.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |