<?xml version="1.0" ?>

<feature-spec xmlns="urn:jboss:galleon:feature-spec:2.0" name="subsystem.elytron.token-realm.jwt">
    <annotation name="jboss-op">
        <elem name="name" value="write-attribute"/>
        <elem name="op-params" value="issuer,audience,public-key,key-store,certificate,client-ssl-context,host-name-verification-policy,key-map"/>
        <elem name="complex-attribute" value="jwt"/>
        <elem name="addr-params" value="profile,host,subsystem,token-realm"/>
    </annotation>
    <annotation name="feature-branch">
        <elem name="id" value="subsystem.elytron"/>
    </annotation>
    <requires>
        <capability name="$profile.org.wildfly.security.key-store.$key-store" optional="true"/>
        <capability name="$profile.org.wildfly.security.ssl-context.$client-ssl-context" optional="true"/>
    </requires>
    <refs>
        <ref feature="subsystem.elytron.token-realm"/>
        <ref feature="profile" nillable="true"/>
        <ref feature="host" nillable="true"/>
    </refs>
    <params>
        <param name="audience" nillable="true" type="List&lt;String&gt;"/>
        <param name="profile" feature-id="true" default="GLN_UNDEFINED"/>
        <param name="certificate" nillable="true"/>
        <param name="host" feature-id="true" default="GLN_UNDEFINED"/>
        <param name="subsystem" feature-id="true" default="elytron"/>
        <param name="public-key" nillable="true"/>
        <param name="host-name-verification-policy" nillable="true"/>
        <param name="key-store" nillable="true"/>
        <param name="token-realm" feature-id="true"/>
        <param name="key-map" nillable="true"/>
        <param name="issuer" nillable="true" type="List&lt;String&gt;"/>
        <param name="client-ssl-context" nillable="true"/>
    </params>
</feature-spec>