[
https://issues.jboss.org/browse/WFLY-5305?page=com.atlassian.jira.plugin....
]
Laurent Pereira commented on WFLY-5305:
---------------------------------------
I understand but then this means the documention at
https://docs.jboss.org/author/display/WFLY9/Security+subsystem+configuration is not
uptodate.
It is quite mislisleading, sorry.
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)