You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/08/12 15:09:52 UTC

[Bug 55404] New: ContextConfig#validateSecurityRoles emits three info log messages which contain a warning

https://issues.apache.org/bugzilla/show_bug.cgi?id=55404

            Bug ID: 55404
           Summary: ContextConfig#validateSecurityRoles emits three info
                    log messages which contain a warning
           Product: Tomcat 6
           Version: 6.0.37
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: 1983-01-06@gmx.net

ContextConfig#validateSecurityRoles emits three info log messages but the
messages start with 'WARNING:'. This is quite irrtating.

> contextConfig.role.auth=WARNING: Security role name {0} used in an <auth-constraint> without being defined in a <security-role>
> contextConfig.role.link=WARNING: Security role name {0} used in a <role-link> without being defined in a <security-role>
> contextConfig.role.runas=WARNING: Security role name {0} used in a <run-as> without being defined in a <security-role>

Remove the warning and set the log level from info to warning.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55404] ContextConfig#validateSecurityRoles emits three info log messages which contain a warning

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55404

--- Comment #1 from Michael Osipov <19...@gmx.net> ---
Same applies for Tomcat 7 and 8.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55404] ContextConfig#validateSecurityRoles emits three info log messages which contain a warning

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55404

--- Comment #5 from Mark Thomas <ma...@apache.org> ---
This has been fixed in trunk for 8.0.0-RC2 and 7.0.x for 7.0.43.

It has been proposed for 6.0.x.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55404] ContextConfig#validateSecurityRoles emits three info log messages which contain a warning

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55404

Michael Osipov <19...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #3 from Michael Osipov <19...@gmx.net> ---
(In reply to Mark Thomas from comment #2)
> Using a security role that is not defined in the web.xml is indicative of an
> error (e.g. a typo in a role name) and therefore the warnings are
> appropriate.

But not with INFO log level. That's the point.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55404] ContextConfig#validateSecurityRoles emits three info log messages which contain a warning

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55404

--- Comment #4 from Mark Thomas <ma...@apache.org> ---
Sorry, juggling too many things and read the report too fast.

Yes, I agree with the proposed change.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55404] ContextConfig#validateSecurityRoles emits three info log messages which contain a warning

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55404

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Mark Thomas <ma...@apache.org> ---
Fixed in 6.0.x for 6.0.38 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55404] ContextConfig#validateSecurityRoles emits three info log messages which contain a warning

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55404

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Using a security role that is not defined in the web.xml is indicative of an
error (e.g. a typo in a role name) and therefore the warnings are appropriate.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org