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

Ove Ranheim (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 12 03:44:16 EDT 2011


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

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

To have correct behavior in SecurityRulesTest; Restrictions.checkGuest(Identity identity) should be changed to:

{noformat}
    public @Secures @Guest boolean checkGuest() {
        return true;
    }
{noformat}

                
> 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.CR1
>
>         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