jboss caches the Principal only on successful authentication. So don't bother clearing
the cache. Also you cannot call logout(). It is provided on the LoginModule for the
container to call.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171074#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...