I have an simple ear or war package deployed in the jboss.At the same time,there is also a portal in the same jboss.I want to know if I can implement the single sign on between the simple application and the portal.
How can I solve it?
Yes you can. The easiest way for you is using of TomcatSSOValve, which is suitable in non-cluster environment. Please look to http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/html/sso.html#d0e11543
You can also use SSO frameworks like CAS and JOSSO, which are always described in the same chapter in reference guide and on http://docs.jboss.org/jbportal/sso/.