[
https://issues.jboss.org/browse/WFLY-7191?page=com.atlassian.jira.plugin....
]
Martin Choma updated WFLY-7191:
-------------------------------
Description:
{{alias-filter}} attribute of filtering-key-store should be required in model
Elytron doesn't allow null value of {{alias-filter}} attribute of resource
filtering-key-store. If I try to create filtering-key-store withou alias-filter I get:
{code}
[standalone@localhost:9990 /]
/subsystem=elytron/filtering-key-store=fks:add(key-store=server)
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0080: Failed services" =>
{"org.wildfly.security.key-store.fks" =>
"org.jboss.msc.service.StartException in service org.wildfly.security.key-store.fks:
java.lang.IllegalArgumentException: Parameter 'filterString' may not be null
Caused by: java.lang.IllegalArgumentException: Parameter 'filterString' may
not be null"},
"WFLYCTL0412: Required services that are not installed:" =>
["org.wildfly.security.key-store.fks"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
undefined
},
"rolled-back" => true
}
{code}
So, {{alias-filter}} can be also defined in model as required, it means
{{"nillable" => false}}. Now it is:
{code}
"alias-filter" => {
"type" => STRING,
"description" => "A filter to apply to the aliases returned from the
KeyStore, can either be a comma separated list of aliases to return or one of the
following formats ALL:-alias1:-alias2, NONE:+alias1:+alias2",
"expressions-allowed" => true,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "resource-services"
},
{code}
was:
alias-filter of filtering-key-store should be required in model
Elytron doesn't allow null value of {{alias-filter}} attribute of resource
filtering-key-store. If I try to create filtering-key-store withou alias-filter I get:
{code}
[standalone@localhost:9990 /]
/subsystem=elytron/filtering-key-store=fks:add(key-store=server)
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0080: Failed services" =>
{"org.wildfly.security.key-store.fks" =>
"org.jboss.msc.service.StartException in service org.wildfly.security.key-store.fks:
java.lang.IllegalArgumentException: Parameter 'filterString' may not be null
Caused by: java.lang.IllegalArgumentException: Parameter 'filterString' may
not be null"},
"WFLYCTL0412: Required services that are not installed:" =>
["org.wildfly.security.key-store.fks"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
undefined
},
"rolled-back" => true
}
{code}
So, {{alias-filter}} can be also defined in model as required, it means
{{"nillable" => false}}. Now it is:
{code}
"alias-filter" => {
"type" => STRING,
"description" => "A filter to apply to the aliases returned from the
KeyStore, can either be a comma separated list of aliases to return or one of the
following formats ALL:-alias1:-alias2, NONE:+alias1:+alias2",
"expressions-allowed" => true,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "resource-services"
},
{code}
alias-filter of filtering-key-store should be required in model
---------------------------------------------------------------
Key: WFLY-7191
URL:
https://issues.jboss.org/browse/WFLY-7191
Project: WildFly
Issue Type: Bug
Components: Security
Affects Versions: 11.0.0.Alpha1
Reporter: Martin Choma
Assignee: Darran Lofthouse
Priority: Optional
{{alias-filter}} attribute of filtering-key-store should be required in model
Elytron doesn't allow null value of {{alias-filter}} attribute of resource
filtering-key-store. If I try to create filtering-key-store withou alias-filter I get:
{code}
[standalone@localhost:9990 /]
/subsystem=elytron/filtering-key-store=fks:add(key-store=server)
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0080: Failed services" =>
{"org.wildfly.security.key-store.fks" =>
"org.jboss.msc.service.StartException in service org.wildfly.security.key-store.fks:
java.lang.IllegalArgumentException: Parameter 'filterString' may not be null
Caused by: java.lang.IllegalArgumentException: Parameter 'filterString' may
not be null"},
"WFLYCTL0412: Required services that are not installed:" =>
["org.wildfly.security.key-store.fks"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
undefined
},
"rolled-back" => true
}
{code}
So, {{alias-filter}} can be also defined in model as required, it means
{{"nillable" => false}}. Now it is:
{code}
"alias-filter" => {
"type" => STRING,
"description" => "A filter to apply to the aliases returned from
the KeyStore, can either be a comma separated list of aliases to return or one of the
following formats ALL:-alias1:-alias2, NONE:+alias1:+alias2",
"expressions-allowed" => true,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "resource-services"
},
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)