Hi all,
We are upgrading our webservices from Wildfly 18.0.1 to Wildfly 32.0.1. We are facing an issue with migration of existing picketbox security domain to elytron security domain. I configured a new security domain in elytron as mentioned in the wildfly documentation: https://docs.wildfly.org/32/WildFly_Elytron_Security.html#Migrate_Legacy_Security_to_Elytron_Security
Still its giving me error saying: WFLYEJB0530: The deployment is configured to use a legacy security domain 'application-security' which is no longer supported
jboss-web.xml--<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root><--our web app context root--></context-root>-->
<security-domain>application-security</security-domain>
</jboss-web> web.xml contents
<login-config>
<auth-method>FORM</auth-method>
<realm-name>application-properties</realm-name>
</login-config>
standalone.xml contents <subsystem xmlns="urn:wildfly:elytron:community:18.0" final-providers="combined-providers" disallowed-providers="OracleUcrypto"> ... <security-domains> ... <security-domain name="application-security" default-realm="application-properties" permission-mapper="default-permission-mapper"> <realm name="application-properties"/> </security-domain> </security-domains> <security-realms> ... <properties-realm name="application-properties" groups-attribute="Roles"> <users-properties path="example-users.properties" relative-to="jboss.server.config.dir" digest-realm-name="Application Security" plain-text="true"/> <groups-properties path="example-roles.properties" relative-to="jboss.server.config.dir"/> </properties-realm> </security-realms> ... <http> ... <http-authentication-factory name="application-security-http" http-server-mechanism-factory="global" security-domain="application-security"> <mechanism-configuration> <mechanism mechanism-name="FORM"/> </mechanism-configuration> </http-authentication-factory> ... </http> ... </subsystem> <subsystem xmlns="urn:jboss:domain:undertow:14.0"> ... <application-security-domains> <application-security-domain name="application-security" http-authentication-factory="application-security-http"/> </application-security-domains> ... </subsystem> This is all implemented as per wildfly documentation and there is no reference of old security domain configuration in entire standalone.xml still unable to understand how its considering the security domain as legacy. Someone please help out. Thanks
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/618189e1-86ae-45f0-a37a-251e912b5e96n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/3dd99dab-19e2-47b7-877c-7b4ac95020cen%40googlegroups.com.
<jboss-web>
<context-root><--our web app context root--></context-root>-->
<security-domain>AnyFakeName</security-domain>
</jboss-web>
It gave me the same error:
WFLYEJB0530: The deployment is configured to use a legacy security domain 'AnyFakeName' which is no longer supported."},
Does this mean the issue may be in my web app configuration somehow?
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/5fee3bf8-9582-468f-96b9-d4569a2c6242n%40googlegroups.com.