8 Replies Latest reply on Apr 7, 2016 1:28 PM by brue RSS
    paripirala Apprentice

    Unable to create Authenticator instance in Authenticator

    Hi,

     

    I am unable to import an extension. I am seeing this message in logs

     

    Unable to create Authenticator instance in Authenticator

     

    Any pointers appreciated

     

    Thanks

     

    Pavan

      • Re: Unable to create Authenticator instance in Authenticator
        brue Apprentice

        Authenticators are somewhat of a special entity with special treatment. It would be very helpful if you can provide more detail of your problem.

          • Re: Unable to create Authenticator instance in Authenticator
            paripirala Apprentice

            Thanks Brian for the response.

             

            Here are the details:

            Environment:

            ==============

            ThingWorx version: 7.0.0

            OS: Ubuntu (x86_64 x86_64 x86_64 GNU/Linux)

            Tomcat version: 8.0.24

            Postgres version: 9.4

             

            Extension details:

            ==============

            We created a java extension for authenticator using the eclipse plugin.

            The java class, as part of this extension, extends com.thingworx.security.authentication.CustomAuthenticator

            The authenticate method just redirects the user to our SSO. This is only minimal code. We will add more code if the authenticator is successfully imported.

             

            Below is the metadata.xml file. Made sure the class name, package name, jar file name exactly match.

             

            Please let me know if you need any other information.

             

            Thanks

             

            Pavan

             

            <Entities>

                <ExtensionPackages>

                    <ExtensionPackage name="ge_uaa_authenticator"

               description="Authentication against UAA"

               vendor="GEIP"

               packageVersion="1.0.0"

               minimumThingWorxVersion="6.5.0">

                  <JarResources>

                    <FileResource type="JAR" file="thingworxsecurityext.jar" description="GE UAA Authenticator extension JAR file" />

                  </JarResources>

                </ExtensionPackage>

                </ExtensionPackages>

                <Authenticators>

                    <Authenticator name="UAAAuthenticator"

                        className="com.ge.bm.ext.security.UAAAuthenticator"

                        description="Authenticator that connects to GE UAA"

                        aspect.isEditableExtensionObject="true">

                </Authenticator>

                </Authenticators>

            </Entities>