[jboss-jira] [JBoss JIRA] (WFLY-5305) Security subsystem configuration element security-properties not working
Laurent Pereira (JIRA)
issues at jboss.org
Wed Sep 9 07:02:00 EDT 2015
Laurent Pereira created WFLY-5305:
-------------------------------------
Summary: 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
Assignee: Darran Lofthouse
>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