[jboss-jira] [JBoss JIRA] (WFLY-5305) Security subsystem configuration element security-properties not working

Tomaz Cerar (JIRA) issues at jboss.org
Wed Sep 9 09:15:02 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-5305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar closed WFLY-5305.
-----------------------------
    Resolution: Rejected


security-properties element was part of xsd 1.0 and removed in all newer versions.
Support for that was removed before 7.1.0 and wasn't supported since.

this is commit that removed it back in 2011 https://github.com/wildfly/wildfly/commit/f8622daa145c66def640af7a45056da8a8b6fcb9

> Security subsystem configuration element security-properties not working
> ------------------------------------------------------------------------
>
>                 Key: WFLY-5305
>                 URL: https://issues.jboss.org/browse/WFLY-5305
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 9.0.1.Final
>            Reporter: Laurent Pereira
>
> From wildfly security system configuration documentation, there is 
> {quote}
> security-properties
> This element is used to specify additional properties as required by the security subsystem, properties are specified in the following format:
> <security-properties>
>   <property name="..." value="..."/>
> </security-properties>
> The property element can be repeated as required for as many properties need to be defined.
> Each property specified is set on the java.security.Security class.
> {quote}
> However when I add this this configuration to standalone.xml
> {code:xml}
> <subsystem xmlns="urn:jboss:domain:security:1.2">
> <security-properties>
>   <property name="myproperty" value="myvalue"/>
> </security-properties>
> </subsystem>
> {code}
> Then the property is not set in java.security.Security.
> I digged in wildfly sources and I found this in SecuritySubsystemParser.java : 
> {code:java}
>                 case SECURITY_PROPERTIES:
>                     reader.discardRemainder();
>                     break;
> {code}
> It seems that this feature is not implemented.



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


More information about the jboss-jira mailing list