]
Darran Lofthouse moved WFLY-8012 to WFCORE-2471:
------------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-2471 (was: WFLY-8012)
Component/s: Security
(was: Security)
Elytron kerberos-security-factory debug attribute type
------------------------------------------------------
Key: WFCORE-2471
URL:
https://issues.jboss.org/browse/WFCORE-2471
Project: WildFly Core
Issue Type: Bug
Components: Security
Reporter: Martin Choma
Assignee: Darran Lofthouse
Labels: user_experience
Currently kerberos-security-factory debug attribute is in management model defined as
STRING type, but could be BOOLEAN.
{code}
"kerberos-security-factory" => {
"description" => "A security factory for obtaining a
GSSCredential for use during authentication.",
"model-description" => {"*" => {
"description" => "A security factory for obtaining
a GSSCredential for use during authentication.",
"capabilities" => [{
"name" =>
"org.wildfly.security.security-factory.credential",
"dynamic" => true
}],
"attributes" => {
"debug" => {
"type" => STRING,
"description" => "Should the JAAS step of
obtaining the credential have debug logging enabled.",
"expressions-allowed" => true,
"required" => false,
"nillable" => true,
"default" => false,
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" =>
"resource-services"
},
{code}
In XSD it is properly configured as boolean
{code:xml}
<xs:attribute name="debug" type="xs:boolean"
default="false">
<xs:annotation>
<xs:documentation>
Should the JAAS step of obtaining the credential have debug
logging enabled.
</xs:documentation>
</xs:annotation>
</xs:attribute>
{code}