Wednesday, January 23, 2013

Before IBM Connect: 5 Days 5 Tips! Tip #3 - Get three, count 'em, three different session objects!


Yep! I am speaking at IBM Connect 2013!

In celebration I am posting 5 Tips in 5 Days and today is...

Tip #3

"Can you get a sessionAsSigner or sessionAsSignerWithFullAccess from a managed bean?"

"Yes"


I have been asked this question many times during presentations on XPages and managed beans.

Here's the code to do it.

Get the code and an example XPage here.

The picture below gives a little structural detail/explanation.


Enjoy!



P.S. - Remember that with great power comes great responsibility.  Just sayin'.