When I say protected, I mean that either:

a) login-required="true" is set in pages.xml
b) A  element is specified in pages.xml
or
c) A component method is annotated with @Restrict

As for the silent authentication, look at Identity.hasRole() and 
Identity.checkPermission(), both of these methods call isLoggedIn(true), which 
will attempt to authenticate if the user's credentials are set.

I have tested this code and it all works as expected.  If you are experiencing 
problems then perhaps there is something particular to your use case that I am 
missing.  If you would like to raise an issue in JIRA with a reproducible test 
case then I'd be happy to look at it for you.

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

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

Reply via email to