[jboss-user] [JBoss Seam] - Re: Exception with basic authentication
shane.bryzak@jboss.com
do-not-reply at jboss.com
Fri Feb 1 01:54:59 EST 2008
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
More information about the jboss-user
mailing list