I got it now. If entityManager was injected as @In then it would use Hibernate 
query. In earlier code I injected with @PersistenceContext and that was why I 
was able to use SQL select statement against the database table.

Back to overriding the RuleBasedIdentity, the login method allows me to return 
a viewId to redirect user to a specific page. Yet the logout does not. How 
would I go about redirecting user to a different page after they have logged 
out?

Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023843#4023843

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023843
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to