[jboss-jira] [JBoss JIRA] (ELY-403) Add permissive mode to WildflySecurityManager to log policy exceptions but not enforce them.

David Lloyd (JIRA) issues at jboss.org
Fri Jan 8 08:56:00 EST 2016


    [ https://issues.jboss.org/browse/ELY-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146339#comment-13146339 ] 

David Lloyd commented on ELY-403:
---------------------------------

Could you have a look at the changes in https://github.com/wildfly-security/wildfly-elytron/pull/356 as an alternative?

Instead of just logging one violation per access control context per checkPermission(), it logs all violations.

> Add permissive mode to WildflySecurityManager to log policy exceptions but not enforce them.
> --------------------------------------------------------------------------------------------
>
>                 Key: ELY-403
>                 URL: https://issues.jboss.org/browse/ELY-403
>             Project: WildFly Elytron
>          Issue Type: Feature Request
>          Components: Security Manager
>    Affects Versions: 1.1.0.Beta3
>            Reporter: Jason Shepherd
>            Assignee: David Lloyd
>
> If you enable the security manager the any policies in force will halt the execution of your application at the first policy violation, making creating a policy tedious. With this feature enabled a developer can enable the security manager, but also set it to permissive mode. This will result in the required policy rules being logged, making policy generation possible.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list