[jboss-jira] [JBoss JIRA] Commented: (JBAS-5054) tests-jacc-security failures

Scott M Stark (JIRA) jira-events at lists.jboss.org
Thu Dec 13 22:41:13 EST 2007


    [ http://jira.jboss.com/jira/browse/JBAS-5054?page=comments#action_12392111 ] 
            
Scott M Stark commented on JBAS-5054:
-------------------------------------

Its better, but I'm still seeing a much lower number (192/10/50 = 69%);

    [junit] Running org.jboss.test.cmp2.audit.test.AuditUnitTestCase
    [junit] Tests run: 7, Failures: 0, Errors: 7, Time elapsed: 8.839 sec
    [junit] Test org.jboss.test.cmp2.audit.test.AuditUnitTestCase FAILED
    [junit] Running org.jboss.test.cmp2.cmrstress.CMRStressTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.787 sec
    [junit] Running org.jboss.test.cmp2.cmrtransaction.test.CMRTransactionUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.87 sec
    [junit] Running org.jboss.test.cmp2.commerce.CompleteUnitTestCase
    [junit] Tests run: 32, Failures: 0, Errors: 0, Time elapsed: 5.56 sec
    [junit] Running org.jboss.test.cmp2.perf.test.PerfUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.336 sec
    [junit] Running org.jboss.test.cmp2.relationship.RelationshipUnitTestCase
    [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 3.16 sec
    [junit] Running org.jboss.test.cmp2.simple.SimpleUnitTestCase
    [junit] Tests run: 44, Failures: 0, Errors: 0, Time elapsed: 2.181 sec
    [junit] Running org.jboss.test.jacc.test.CallerInRoleUnitTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.814 sec
    [junit] Test org.jboss.test.jacc.test.CallerInRoleUnitTestCase FAILED
    [junit] Running org.jboss.test.jacc.test.EJBSpecUnitTestCase
    [junit] Tests run: 23, Failures: 2, Errors: 20, Time elapsed: 26.13 sec
    [junit] Test org.jboss.test.jacc.test.EJBSpecUnitTestCase FAILED
    [junit] Running org.jboss.test.jacc.test.FormAuthUnitTestCase
    [junit] Tests run: 5, Failures: 5, Errors: 0, Time elapsed: 0.879 sec
    [junit] Test org.jboss.test.jacc.test.FormAuthUnitTestCase FAILED
    [junit] Running org.jboss.test.jacc.test.JMXConsoleUnitTestCase
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 8.166 sec
    [junit] Running org.jboss.test.jacc.test.MissingMethodUnitTestCase
    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 1.003 sec
    [junit] Test org.jboss.test.jacc.test.MissingMethodUnitTestCase FAILED
    [junit] Running org.jboss.test.jacc.test.WebConstraintsUnitTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 3, Time elapsed: 10.834 sec
    [junit] Test org.jboss.test.jacc.test.WebConstraintsUnitTestCase FAILED
    [junit] Running org.jboss.test.jacc.test.WebIntegrationUnitTestCase
    [junit] Tests run: 37, Failures: 3, Errors: 11, Time elapsed: 13.556 sec
    [junit] Test org.jboss.test.jacc.test.WebIntegrationUnitTestCase FAILED
    [junit] Running org.jboss.test.jacc.test.WebPermissionsValidationTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.88 sec
    [junit] Running org.jboss.test.web.test.UserInRoleUnitTestCase
    [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 0.863 sec
    [junit] Test org.jboss.test.web.test.UserInRoleUnitTestCase FAILED
    [junit] Running org.jboss.test.webservice.jbws309.JBWS309TestCase
    [junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 8.024 sec
    [junit] Test org.jboss.test.webservice.jbws309.JBWS309TestCase FAILED

All of the AuditUnitTestCase exceptions are:
Caused by: java.lang.SecurityException: Denied: caller with subject=Subject:
        Principal: audituser1
        Principal: Roles(members:user)
 and security context post-mapping roles=Roles(members:user)
        at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityContext(SecurityInterceptor.java:356)
        at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:196)
        at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:149)
        at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
        ... 50 more


> tests-jacc-security failures
> ----------------------------
>
>                 Key: JBAS-5054
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5054
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Security
>            Reporter: Scott M Stark
>         Assigned To: Scott M Stark
>            Priority: Critical
>             Fix For:  JBossAS-5.0.0.Beta3
>
>
> There are many failures in the tests-jacc-security target.
>     [junit] Running org.jboss.test.cmp2.audit.test.AuditUnitTestCase
>     [junit] Tests run: 7, Failures: 0, Errors: 7, Time elapsed: 9.904 sec
>     [junit] Test org.jboss.test.cmp2.audit.test.AuditUnitTestCase FAILED
>     [junit] Running org.jboss.test.jacc.test.CallerInRoleUnitTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.8 sec
>     [junit] Test org.jboss.test.jacc.test.CallerInRoleUnitTestCase FAILED
>     [junit] Running org.jboss.test.jacc.test.EJBSpecUnitTestCase
>     [junit] Tests run: 23, Failures: 2, Errors: 20, Time elapsed: 21.539 sec
>     [junit] Test org.jboss.test.jacc.test.EJBSpecUnitTestCase FAILED
>     [junit] Running org.jboss.test.jacc.test.FormAuthUnitTestCase
>     [junit] Tests run: 5, Failures: 5, Errors: 0, Time elapsed: 1.088 sec
>     [junit] Test org.jboss.test.jacc.test.FormAuthUnitTestCase FAILED
>     [junit] Running org.jboss.test.jacc.test.MissingMethodUnitTestCase
>     [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.948 sec
>     [junit] Test org.jboss.test.jacc.test.MissingMethodUnitTestCase FAILED
>     [junit] Running org.jboss.test.jacc.test.WebConstraintsUnitTestCase
>     [junit] Tests run: 4, Failures: 0, Errors: 3, Time elapsed: 10.921 sec
>     [junit] Test org.jboss.test.jacc.test.WebConstraintsUnitTestCase FAILED
>     [junit] Running org.jboss.test.jacc.test.WebIntegrationUnitTestCase
>     [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 2.376 sec
>     [junit] Test org.jboss.test.jacc.test.WebIntegrationUnitTestCase FAILED
>     [junit] Running org.jboss.test.web.test.UserInRoleUnitTestCase
>     [junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 1.123 sec
>     [junit] Test org.jboss.test.web.test.UserInRoleUnitTestCase FAILED
>     [junit] Running org.jboss.test.webservice.jbws309.JBWS309TestCase
>     [junit] Tests run: 5, Failures: 3, Errors: 2, Time elapsed: 8.61 sec
>     [junit] Test org.jboss.test.webservice.jbws309.JBWS309TestCase FAILED

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list