1 Reply Latest reply on Jul 15, 2015 12:30 PM by Sreenath Reddy

    No authentication method defined - please define authenticate-method for <security:identity/> in components.xml While migrating jboss 5.1 to wildfly 8.2

    Sreenath Reddy Novice

      I am migrating my application from Jboss 5.1 to WildFly 8.2, I was facing the below Error while login to the application.

      2015-07-15 20:32:25,545 INFO  [org.jboss.seam.servlet.SeamFilter] (default task-1) Initializing filter: org.jboss.seam.web.identityFilter

      2015-07-15 20:33:30,908 WARN  [org.jboss.seam.security.management.IdentityManager] (default task-2) no identity store available - please configure an identityStore if identity management is required.

      2015-07-15 20:33:30,909 ERROR [org.jboss.seam.security.jaas.SeamLoginModule] (default task-2) No authentication method defined - please define authenticate-method for <security:identity/> in components.xml

       

      The below is the components.xml file.

       

      <?xml version="1.0" encoding="UTF-8"?>

      <components xmlns="http://jboss.com/products/seam/components"

                  xmlns:core="http://jboss.com/products/seam/core"

                  xmlns:security="http://jboss.com/products/seam/security"

                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                  xsi:schemaLocation=

                    "http://jboss.com/products/seam/core

                     http://jboss.com/products/seam/core-2.3.xsd

                     http://jboss.com/products/seam/security

                     http://jboss.com/products/seam/security-2.3.xsd

                     http://jboss.com/products/seam/components

                     http://jboss.com/products/seam/components-2.3.xsd">

        <core:init

          jndi-pattern="booking/#{ejbName}/local"

          debug="true"/>

        <core:manager conversation-timeout="120000"

                        concurrent-request-timeout="500"

                        conversation-id-parameter="cid"/>

        <security:identity authenticate-method="#{login.login}"/>

      </components>