waffle - WSO2IS 5.1.0 - IWA not working in Internet Explorer - com.sun.jna.platform.win32.Win32Exception: The token supplied to the function is invalid -
we using wso2 identity server user authentication in our product suite. have upgraded version 5.0.0 5.1.0. after upgrading wso2 identity server 5.1.0 version getting following exception when enable iwa (integrated windows authentication)
tid: [-1234] [] [2016-07-21 18:46:52,606] debug {waffle.servlet.spi.negotiatesecurityfilterprovider} - security package: negotiate, connection id: fe80:0:0:0:f1da:6adb:d83e:18d6%6:64966 tid: [-1234] [] [2016-07-21 18:46:52,622] debug {waffle.servlet.spi.negotiatesecurityfilterprovider} - token buffer: 1629 byte(s) tid: [-1234] [] [2016-07-21 18:46:52,675] error {org.apache.catalina.core.standardwrappervalve} - servlet.service() servlet [bridgeservlet] in context path [/] threw exception com.sun.jna.platform.win32.win32exception: token supplied function invalid @ waffle.windows.auth.impl.windowsauthproviderimpl.acceptsecuritytoken(windowsauthproviderimpl.java:137) @ waffle.servlet.spi.negotiatesecurityfilterprovider.dofilter(negotiatesecurityfilterprovider.java:102) @ waffle.servlet.spi.securityfilterprovidercollection.dofilter(securityfilterprovidercollection.java:116) @ org.wso2.carbon.identity.application.authenticator.iwa.servlet.iwaservelet.dopost(iwaservelet.java:89) @ org.wso2.carbon.identity.application.authenticator.iwa.servlet.iwaservelet.doget(iwaservelet.java:64)
after searching problem on google came across following post.
https://github.com/dblock/waffle/issues/107
it looks there issue in earlier version of waffle library resolved in 1.7.4 version. wso2 identity server 5.1.0 comes waffle library version 1.6.0 (waffle-jna_1.6.0.wso2v4.jar).
now question have wso2 identity server patch available includes latest waffle library (version 1.7.4 or above)? can download latest version of waffle , put “wso2is-5.1.0\repository\components\plugins” folder? work? need see if resolves above stated problem. unable find other solution issue.
putting new version in plugins folder won't work. you'll need follow these steps,
- get waffle 1.7.4 wrapped osgi bundle. can refer this pom file same 1.6 version. make sure versions updated in new pom file.
- build pom file created above osgi bundle
- put repository\components\dropins\ folder , restart is
- [validation step][optional] start in osgi console
wso2server.bat -dosgiconsole
. once server runss
in osgi console , locate bundle idorg.wso2.carbon.identity.application.authenticator.iwa
(this integer below ~500). ,b <bundle_id>
, make sure binds 1.7 versions of waffle packages.
Comments
Post a Comment