2

我正在尝试实现华夫饼身份验证技术。我正在使用以下罐子:-

  1. jna-平台-4.0.0
  2. jna-4.0.0
  3. 番石榴-16.0.1
  4. slf4j-api-1.7.12
  5. slf4j-simple-1.7.12
  6. 华夫饼-jna-1.7.3

它在本地主机上工作正常。但是,一旦我在正在运行的集成服务器上进行部署,Weblogic 10我就会收到以下错误:-

Unable to load library 'Secur32': Native library (sunos-sparc/libSecur32.so) not found in resource path (:::/local/jdk/jdk1.7.0_65/lib/tools.jar:/apps/wls1213/wlserver/server/lib/weblogic_sp.jar:/apps/wls1213/wlserver/server/lib/weblogic.jar:/apps/wls1213/wlserver/../oracle_common/modules/net.sf.antcontrib_1.1.0.0_1-0b3/lib/ant-contrib.jar:/apps/wls1213/wlserver/modules/features/oracle.wls.common.nodemanager_2.0.0.0.jar::/apps/wls1213/wlserver/server/lib/xqrl.jar::)

事实上,在本地主机上我也使用相同的 weblogic 10,但它在那里工作正常。

我用于身份验证的 web.xml 是:-

<filter-class>waffle.servlet.NegotiateSecurityFilter</filter-class>

         <init-param>
            <param-name>principalFormat</param-name>
            <param-value>fqn</param-value>
        </init-param>

       <init-param>
        <param-name>roleFormat</param-name>
        <param-value>both</param-value>
       </init-param>

       <init-param>
        <param-name>allowGuestLogin</param-name>
        <param-value>false</param-value>
        </init-param>

        <init-param>
            <param-name>impersonate</param-name>
            <param-value>false</param-value>
        </init-param>

        <init-param>
            <param-name>securityFilterProviders</param-name>
            <param-value>
                waffle.servlet.spi.BasicSecurityFilterProvider
                waffle.servlet.spi.NegotiateSecurityFilterProvider
            </param-value>
        </init-param>
        <init-param>
            <param-name>waffle.servlet.spi.NegotiateSecurityFilterProvider/protocols</param-name>
            <param-value>
                Negotiate
                NTLM
            </param-value>
        </init-param>

        <init-param>    
           <param-name>waffle.servlet.spi.BasicSecurityFilterProvider/realm</param-name>
           <param-value>image</param-value>

添加此过滤器后,我收到此错误。

请帮我找出这个问题。先感谢您。

4

0 回答 0