mercredi 4 septembre 2019

keycloak integration with struts,tomcat and ant

I am trying to configure keycloak with struts hosting on tomcat 7.Currently facing problems while starting up tomcat server with mentioned web.xml.

<security-constraint>
    <web-resource-collection>
        <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
        <role-name>*</role-name>
    </auth-constraint>
</security-constraint>

<login-config>
    <auth-method>KEYCLOAK</auth-method>
    <realm-name>servlet-authz</realm-name>
</login-config>

<security-role>
    <role-name>*</role-name>
</security-role>

i am not able to access the application. As per given startup guide link

startup guid link keycloak with tomcat




Aucun commentaire:

Enregistrer un commentaire