Securing appl with Keycloak v1.7 and dont want modify me war. Keycloak GUI generates for me client a Wildfly subsystem XML with i put into standalone.xml
<subsystem xmlns="urn:jboss:domain:keycloak-saml:1.1">
<secure-deployment name="me war name.war">
<realm>me_realm_name</realm>
<realm-public-key>me_key</realm-public-key>
<auth-server-url>me_url</auth-server-url>
<bearer-only>true</bearer-only>
<ssl-required>EXTERNAL</ssl-required>
<resource>some_name</resource>
</secure-deployment>
</subsystem>
But such cunfiguration can be parsed (WFLYCTL0198: Unexpected element '{urn:jboss:domain:keycloak-saml:1.1}realm' encountered) What am i doing wrong?
Aha, its is not about SAML. Its configuration just for keycloak. More: https://keycloak.gitbooks.io/keycloak-documentation/content/topics/jboss-adapter.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.