<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>hi stian,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">iam referring to the documentation here <a href="http://keycloak.github.io/docs/userguide/pdf/keycloak-reference-guide-en-US.pdf">http://keycloak.github.io/docs/userguide/pdf/keycloak-reference-guide-en-US.pdf</a></div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">can i know which part is the old config?<br><br>Regards,<div>CK Yap</div></div><div><br>On 16 Oct 2015, at 5:58 PM, Stian Thorgersen <<a href="mailto:sthorger@redhat.com">sthorger@redhat.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">You're using the old config format. Please refer to <a href="http://keycloak.github.io/docs/userguide/html/ch08.html#jboss-adapter">http://keycloak.github.io/docs/userguide/html/ch08.html#jboss-adapter</a></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 October 2015 at 11:47, Chen Keong Yap <span dir="ltr"><<a href="mailto:chenkeong.yap@izeno.com" target="_blank">chenkeong.yap@izeno.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>Iam unable to secure war file using jboss subsytem. Can please advise?</div><div><br></div><div><br></div><div>error :</div><div><br></div><div><div>Message: Unexpected element '{urn:jboss:domain:keycloak:1.1}subsystem'</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:1199)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:457)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:144)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:106)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)</div><div><span style="white-space:pre-wrap">        </span>at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)</div><div><span style="white-space:pre-wrap">        </span>... 3 more</div></div><div><br></div><div><br></div>snippet of standalone.xml<br clear="all"><div><br></div><div><subsystem xmlns="urn:jboss:domain:keycloak-server:1.1"></div><div> <web-context>auth</web-context></div><div> </subsystem> </div><div> <subsystem xmlns="urn:jboss:domain:keycloak:1.1"></div><div><span style="white-space:pre-wrap">                </span> <secure-deployment name="WAR MODULE NAME.war"></div><div> <realm>demo</realm></div><div> <realm-public-key>MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsy3CI+Un3CTFC/yoMzXNb7+Zm2gExw7khOduINB6wVIZpx+BT60DtXqcr0jZgxsO06ITL1/whVwHBx8G0KNG+t3McoYjXtEgkU5q0F+UA97M863Sg/762dC/2os7KiD/WVreXxA4wuueil/PPGj8YS0EUacx28yOhbhIIbva/jEWCtgKS3r/H6OtxZNM0lE0taimKlNT7NfLTBm/XH6IsdF75QD2WKTdzMHrd92zBg7lzHvp+/tZ7JwGhlR/+9N8O2qnPZWKVub7Wgum30trV8slFhWsneraosG2mnmeJLuIkNtev2gYvuNc5i8uZuKUnrdz2CUWEbViEReWm3uWRwIDAQAB</realm-public-key></div><div> <auth-server-url><a href="http://localhost:8080/auth" target="_blank">http://localhost:8080/auth</a></auth-server-url></div><div> <bearer-only>true</bearer-only></div><div> <ssl-required>EXTERNAL</ssl-required></div><div> <resource><a href="http://localhost:8080/jasperserver-pro/" target="_blank">http://localhost:8080/jasperserver-pro/</a></resource></div><div></secure-deployment></div><div></subsystem> </div><div> </profile></div><div><div dir="ltr"></div></div>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>
</div></blockquote></body></html>