dev@glassfish.java.net

7 failures on the latest QL run

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Fri, 12 Sep 2008 14:03:42 -0700

I've just checked out and rebuild my ws.

-marina

   [testng] Connecting to: http://localhost:8080/hellojspsecure/first.html
    [testng] ERROR: Anonymous Client access was Allowed, security-constraint not
Enforced correctly
    [testng] FAILED: simpleJSPTestPage
    [testng] java.lang.AssertionError: Anonymous Client acess was Allowed,
security-constraint not Enforced expected:<true> but was:<false>
    [testng] at
test.security.hellojsp.HelloSecurityTestNG.simpleJSPTestPage(HelloSecurityTestNG.java:91)
    [testng] ... Removed 26 stack frames
    [testng] FAILED: simpleServletTest
    [testng] java.lang.AssertionError: Anonymous Client acess was Allowed,
security-constraint not Enforced expected:<true> but was:<false>
    [testng] at
test.security.hellojsp.HelloSecurityTestNG.simpleServletTest(HelloSecurityTestNG.java:219)
    [testng] ... Removed 26 stack frames
    [testng] FAILED: staticHTMLPageTest
    [testng] java.lang.AssertionError: Anonymous Client acess was Allowed,
security-constraint not Enforced expected:<true> but was:<false>
    [testng] at
test.security.hellojsp.HelloSecurityTestNG.staticHTMLPageTest(HelloSecurityTestNG.java:172)
    [testng] ... Removed 26 stack frames

    [testng] ===============================================
    [testng] security_hello_jsp
    [testng] Tests run: 3, Failures: 3, Skips: 0
    [testng] ===============================================

    [testng] BASIC auth: Group mapped user, testuser42
    [testng] String not found: RESULT: principal: testuser42
    [testng] BASIC auth: Not authorized user, testuser42
    [testng] String not found: HTTP/1.1 403
    [testng] BASIC auth: Valid user and invalid password
    [testng] String not found: HTTP/1.1 401
    [testng] BASIC auth: Role Mapped User, testuser3
    [testng] String not found: RESULT: principal: testuser3
    [testng] FAILED: testAuthGroupMappedUser
    [testng] java.lang.AssertionError: BASIC auth: Group mapped user, testuser42
expected:<false> but was:<true>
    [testng] at
test.security.basicauth.BasicAuthTestNG.testAuthGroupMappedUser(BasicAuthTestNG.java:106)
    [testng] ... Removed 25 stack frames
    [testng] FAILED: testAuthNotAuthorizedUser
    [testng] java.lang.AssertionError: BASIC auth: Not authorized user,
testuser42 expected:<false> but was:<true>
    [testng] at
test.security.basicauth.BasicAuthTestNG.testAuthNotAuthorizedUser(BasicAuthTestNG.java:124)
    [testng] ... Removed 25 stack frames
    [testng] FAILED: testAuthNotValidPassword
    [testng] java.lang.AssertionError: BASIC auth: Valid user and invalid
password expected:<false> but was:<true>
    [testng] at
test.security.basicauth.BasicAuthTestNG.testAuthNotValidPassword(BasicAuthTestNG.java:142)
    [testng] ... Removed 25 stack frames
    [testng] FAILED: testAuthRoleMappedUser
    [testng] java.lang.AssertionError: BASIC auth: Role Mapped User, testuser3
expected:<false> but was:<true>
    [testng] at
test.security.basicauth.BasicAuthTestNG.testAuthRoleMappedUser(BasicAuthTestNG.java:88)
    [testng] ... Removed 25 stack frames

    [testng] ===============================================
    [testng] security_hello_basicauth
    [testng] Tests run: 4, Failures: 4, Skips: 0
    [testng] ===============================================