[
https://issues.apache.org/jira/browse/WW-4118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799177#comment-13799177
]
Hudson commented on WW-4118:
----------------------------
SUCCESS: Integrated in Struts2-JDK6 #814 (See
[https://builds.apache.org/job/Struts2-JDK6/814/])
WW-4118 Adds logic to allow validate defined roles and changes precedence that
disallowedRoles are examined first (lukaszlenart: rev 1533359)
*
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/RolesInterceptor.java
*
/struts/struts2/trunk/core/src/test/java/org/apache/struts2/interceptor/RolesInterceptorTest.java
> Allow RolesInterceptor to validate role names
> ---------------------------------------------
>
> Key: WW-4118
> URL: https://issues.apache.org/jira/browse/WW-4118
> Project: Struts 2
> Issue Type: Improvement
> Reporter: Cam Morris
> Assignee: Lukasz Lenart
> Priority: Minor
> Fix For: 2.3.16
>
>
> Role names can be easily misconfigured resulting in security holes. However
> app developers typically known which roles are available in their
> environment. A small tweak to RolesInterceptor could make it easy for
> developers to have role verification. When the roles are invalid the
> RolesInterceptor could fail-fast, quickly bringing the issue to attention.
--
This message was sent by Atlassian JIRA
(v6.1#6144)