<?xml version="1.0" ?>

<feature-spec xmlns="urn:jboss:galleon:feature-spec:2.0" name="subsystem.jgroups.stack.protocol.SYM_ENCRYPT.key-credential-reference">
    <annotation name="jboss-op">
        <elem name="name" value="write-attribute"/>
        <elem name="op-params" value="store,alias,type,clear-text"/>
        <elem name="complex-attribute" value="key-credential-reference"/>
        <elem name="addr-params" value="profile,subsystem,stack,protocol"/>
    </annotation>
    <annotation name="feature-branch">
        <elem name="id" value="subsystem.jgroups"/>
    </annotation>
    <requires>
        <capability name="$profile.org.wildfly.security.credential-store.$store" optional="true"/>
    </requires>
    <refs>
        <ref feature="subsystem.jgroups.stack.protocol.SYM_ENCRYPT"/>
        <ref feature="profile" nillable="true"/>
    </refs>
    <params>
        <param name="stack" feature-id="true"/>
        <param name="protocol" feature-id="true" default="SYM_ENCRYPT"/>
        <param name="profile" feature-id="true" default="GLN_UNDEFINED"/>
        <param name="subsystem" feature-id="true" default="jgroups"/>
        <param name="alias" nillable="true"/>
        <param name="store" nillable="true"/>
        <param name="type" nillable="true"/>
        <param name="clear-text" nillable="true"/>
    </params>
</feature-spec>