Use a Liberty JAAS login module for Bluemix single sign-on

See the original posting on IBM developerWorks – Java

This tutorial provides a technique for Liberty-aware authentication with the Bluemix SSO service.
Create a sample app that uses the Bluemix SSO service for user login; the Liberty server creates all
necessary objects (Subject, Principal, Session) upon successful authentication. A Liberty app can obtain
Bluemix SSO capabilities using JAAS authentication with the SSO service so that your authentication
mechanism is abstracted from application code.