[
https://issues.jboss.org/browse/AS7-1763?page=com.atlassian.jira.plugin.s...
]
Kabir Khan updated AS7-1763:
----------------------------
Description:
I am adding some more validation of the model. This will be committed to upstream in the
next few days. To make the security tests pass I had to override
AdditionalInitialization.getModelValidationConfiguration() as follows:
{code}
@Override
protected ValidationConfiguration getModelValidationConfiguration() {
return null;
}
{code}
Returning null basically turns off validation of the providers. These are the errors that
happen (this might change a bit before I commit the final version of the validation
stuff):
{code}
VALIDATION ERRORS IN MODEL:
Invalid key 'add' found in Operation 'add' @[("subsystem" =>
"security")]
No value-type for type=OBJECT in Parameter 'security-properties' in operation
add' @[("subsystem" => "security")] {
"description" => "List of properties to be added with
Security.setProperty(key, value).",
"type" => OBJECT,
"required" => false,
"value-type" => undefined
}
No value-type for type=OBJECT in Parameter 'vault' in operation add'
@[("subsystem" => "security")] {
"description" => "Security Vault for attributes.",
"type" => OBJECT,
"required" => false,
"value-type" => undefined
}
Invalid key 'security-properties' found @[("subsystem" =>
"security")]
Invalid key 'vault' found @[("subsystem" => "security")]
{code}
was:
I am adding some more validation of the model. This will be committed to upstream in the
next few days. To make the security tests pass I had to override
AdditionalInitialization.getArbitraryDescriptors() as follows:
{code}
@Override
protected ArbitraryDescriptors getArbitraryDescriptors() {
return null;
}
{code}
Returning null basically turns off validation of the providers. These are the errors that
happen (this might change a bit before I commit the final version of the validation
stuff):
{code}
VALIDATION ERRORS IN MODEL:
Invalid key 'add' found in Operation 'add' @[("subsystem" =>
"security")]
No value-type for type=OBJECT in Parameter 'security-properties' in operation
add' @[("subsystem" => "security")] {
"description" => "List of properties to be added with
Security.setProperty(key, value).",
"type" => OBJECT,
"required" => false,
"value-type" => undefined
}
No value-type for type=OBJECT in Parameter 'vault' in operation add'
@[("subsystem" => "security")] {
"description" => "Security Vault for attributes.",
"type" => OBJECT,
"required" => false,
"value-type" => undefined
}
Invalid key 'security-properties' found @[("subsystem" =>
"security")]
Invalid key 'vault' found @[("subsystem" => "security")]
{code}
Fix security description providers for the validation in
jboss-as-subsystem-test
--------------------------------------------------------------------------------
Key: AS7-1763
URL:
https://issues.jboss.org/browse/AS7-1763
Project: Application Server 7
Issue Type: Feature Request
Reporter: Kabir Khan
Assignee: Anil Saldhana
Fix For: 7.1.0.Alpha1
I am adding some more validation of the model. This will be committed to upstream in the
next few days. To make the security tests pass I had to override
AdditionalInitialization.getModelValidationConfiguration() as follows:
{code}
@Override
protected ValidationConfiguration getModelValidationConfiguration() {
return null;
}
{code}
Returning null basically turns off validation of the providers. These are the errors that
happen (this might change a bit before I commit the final version of the validation
stuff):
{code}
VALIDATION ERRORS IN MODEL:
Invalid key 'add' found in Operation 'add' @[("subsystem" =>
"security")]
No value-type for type=OBJECT in Parameter 'security-properties' in operation
add' @[("subsystem" => "security")] {
"description" => "List of properties to be added with
Security.setProperty(key, value).",
"type" => OBJECT,
"required" => false,
"value-type" => undefined
}
No value-type for type=OBJECT in Parameter 'vault' in operation add'
@[("subsystem" => "security")] {
"description" => "Security Vault for attributes.",
"type" => OBJECT,
"required" => false,
"value-type" => undefined
}
Invalid key 'security-properties' found @[("subsystem" =>
"security")]
Invalid key 'vault' found @[("subsystem" => "security")]
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira