Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4972

secure rest example in jboss-fuse-6.2.1.redhat-084/quickstarts/cxf/secure-rest is throwing Error logs from NamePasswordCallbackHandler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Examples
    • None
    • % %
    • Hide
      • Install example using:
        osgi:install -s mvn:org.jboss.quickstarts.fuse/cxf-secure-rest/6.2.1.redhat-084
      Show
      Install example using: osgi:install -s mvn:org.jboss.quickstarts.fuse/cxf-secure-rest/6.2.1.redhat-084 Run using any REST client or curl: curl --basic -u admin:admin http://localhost:8181/cxf/securecrm/customerservice/customers/123
    • 6.3 Sprint 3 (Feb 29 - Mar 25)

      secure rest example in jboss-fuse-6.2.1.redhat-084/quickstarts/cxf/secure-rest is throwing Error logs from NamePasswordCallbackHandler
      log shows Error and debug even though authentication is succesful:

      2016-02-09T09:05:26.514-0600 | DEBUG | qtp1245173695-70 | NamePasswordCallbackHandler | 74 - org.apache.cxf.cxf-core - 3.0.4.redhat-621084 | Fuse for MB | java.lang.NoSuchMethodException: org.apache.karaf.jaas.modules.publickey.PublickeyCallback.setObject(java.lang.Object)
      2016-02-09T09:05:26.514-0600 | DEBUG | qtp1245173695-70 | NamePasswordCallbackHandler | 74 - org.apache.cxf.cxf-core - 3.0.4.redhat-621084 | Fuse for MB | java.lang.NoSuchMethodException: org.apache.karaf.jaas.modules.publickey.PublickeyCallback.setObject([C)
      2016-02-09T09:05:26.515-0600 | DEBUG | qtp1245173695-70 | NamePasswordCallbackHandler | 74 - org.apache.cxf.cxf-core - 3.0.4.redhat-621084 | Fuse for MB | java.lang.NoSuchMethodException: org.apache.karaf.jaas.modules.publickey.PublickeyCallback.setObject(java.lang.String)
      2016-02-09T09:05:26.515-0600 | ERROR | qtp1245173695-70 | NamePasswordCallbackHandler | 74 - org.apache.cxf.cxf-core - 3.0.4.redhat-621084 | Fuse for MB | Unsupported callback type org.apache.karaf.jaas.modules.publickey.PublickeyCallback
      2016-02-09T09:05:26.516-0600 | INFO | qtp1245173695-70 | CustomerService | 286 - org.jboss.quickstarts.fuse.cxf-secure-rest - 6.2.1.redhat-084 | Fuse for MB | Invoking getCustomer, Customer id is: 123

            yfang@redhat.com Freeman(Yue) Fang
            rhn-support-kkakarla kodandaRamu kakarla
            Tomas Plevko Tomas Plevko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: