[seam-issues] [JBoss JIRA] (SEAMSECURITY-111) Security rules is broken

Ove Ranheim (Commented) (JIRA) jira-events at lists.jboss.org
Fri Oct 28 05:33:45 EDT 2011


    [ https://issues.jboss.org/browse/SEAMSECURITY-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638242#comment-12638242 ] 

Ove Ranheim commented on SEAMSECURITY-111:
------------------------------------------

I did a rewrite of the test today and to what I can see, it works just fine.

* Silly of me to have ViewConfig declared on class, not an interface. That was of course a bug in the case
* Added a catch exception handler for AuthorizationException and now the circle is complete

So, we can confluence @ViewConfig works as expect as of Solder/Seam Faces 3.1.0.Beta4.

However, the extension handling @ViewConfig should throw an exception when used on class and not on interface.
                
> Security rules is broken
> ------------------------
>
>                 Key: SEAMSECURITY-111
>                 URL: https://issues.jboss.org/browse/SEAMSECURITY-111
>             Project: Seam Security
>          Issue Type: Bug
>    Affects Versions: 3.1.0.Beta3
>         Environment: JBoss AS 7.0.2.Final
> Seam 3.1.0.Beta3
>            Reporter: Ove Ranheim
>            Assignee: Shane Bryzak
>            Priority: Critical
>             Fix For: 3.1.0.Beta4
>
>         Attachments: SecurityRulesTest.tgz
>
>
> Security rules is broken. If you deploy the Seam Security Authorization example and do a login. You will see the following error without any exception:
> 10:55:11,144 ERROR [org.jboss.weld.Bean] (http-192.168.0.199-192.168.0.199-8080-1) WELD-000019 Error destroying an instance Managed Bean [class org.jboss.seam.security.permission.SecurityRuleProducer] with qualifiers [@Any @Default] of org.jboss.seam.security.permission.SecurityRuleProducer at 350510c7
> The consequence is that no security rules (Restrictions) are being invoked after this error occurs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list