I have posted my complete code for others help as well.
But my problem is that i'm not able to receive full credentials at EJB side (these credentials can be user defined values added to subject as public credentials).
So kindly tell me way to receive that at EJB side.
Or any way to progate bunch of parameters(or a property file) from servlet To EJB.
Thanks & Regards,
Gaurav