isCurrentStateEncrypted() method

Bulk saving of SessionAttributes for the current state in the current session.

Syntax

boolean isCurrentStateEncrypted ()

Parameters

Returns

list of session attributes for the current sessionthe session attribute valueHashMap of session attributesTrue or false for encrypted or not, respectively.

Exceptions

Usage

This method is designed to be used in state implementation that produces multiple { OutputAttribute}s, and it minimize the database roundtrip.

list of session attributes for the current session

the session attribute value

HashMap of session attributes

For encryption support, see

saveSessionAttribute(String, String, boolean)

.

Also see

saveSessionAttribute(String, String)

method, if encryption is not needed.

When set to true, a state to never show the messages it sends out or inputs it receives back in clear text in the message logs. This is a security feature to allow passwords and PINs to be restricted.

True or false for encrypted or not, respectively.