Uploaded image for project: 'PicketBox '
  1. PicketBox
  2. SECURITY-40

EJBPolicyModuleDelegate warning should be a debug msg

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.0.GA
    • 2.0.0.BETA
    • JBossSX
    • None

      Running the WebIntegrationUnitTestCase.testUnsecureRunAsServletWithPrincipalNameAndRoles case produces spurious warning msgs for the roles added at the deployment level:

      17:12:20,947 WARN [EJBPolicyModuleDelegate] no match found for security role InternalUser in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
      17:12:20,947 WARN [EJBPolicyModuleDelegate] no match found for security role ExtraRole1 in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
      17:12:20,947 WARN [EJBPolicyModuleDelegate] no match found for security role ExtraRole2 in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
      17:12:20,978 WARN [EJBPolicyModuleDelegate] no match found for security role InternalUser in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
      17:12:20,979 WARN [EJBPolicyModuleDelegate] no match found for security role ExtraRole1 in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
      17:12:20,979 WARN [EJBPolicyModuleDelegate] no match found for security role ExtraRole2 in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget

      This should be no more than debug level msgs.

            anil.saldhana Anil Saldanha (Inactive)
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: