Hey guys,

 

as the subject says I want to secure my war files via keycloak subsystem. I use an wildfly 8 server in standalone mode and got the following configuration from the keycloak admin console (by now I configured keycloak with keycloak.json):

“<secure-deployment name="TOMAMappingConfigurationService.war">

                <realm>TOMAMappingConfigurationService</realm>

                <resource>TOMAMappingConfigurationService</resource>

                <use-resource-role-mappings>true</use-resource-role-mappings>

                <public-client>true</public-client>

                <realm-public-key>MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAioI1Q9NTQ+FB/6nFRl6QXqjoNNHld8K8KgdL9xhDJtAOn2jhY9/sfQASs5heBWh9IQeVlYFkhmN5jYzKtPMLZnlMTW6fE4yTRSw5RdbGldgX8LedFAt5vSU2rVJWMkExDynDe8zHNbMKvereFeTQ3oDqEA/Ks22fUdmf2Pj+Cpzuj+ncyRYSut02MTGpQML9975D+1z5AmlokkWlk+VADjZ/3zberEJS8I49uQryqtC6OtxayVezEj270Iwx9lwmRIa2aoJZGQRncafW0Dukgx+lAxJinjiSR0UngTXwQXw1OfH9xfi7v6oHcrmExp4xahKom+cW9MyhCL51ElJi4QIDAQAB</realm-public-key>

                <auth-server-url>http://localhost:8080/auth</auth-server-url>

                <ssl-required>EXTERNAL</ssl-required>

</secure-deployment>

As in the documentation described I deleted the keycloak.json files and the part of the web.xml file where keycloak as authentication method is defined.

 

Now I have the problem, that keycloak seems not to be deployed. I cannot access the admin console or login to my application because of an “404 – Not found”-Error.

 

Any ideas what I did wrong?

 

PS: Excuse my English. J

 

Kind regards,

Lars