Topic
2 replies Latest Post - ‏2012-05-25T11:07:03Z by SystemAdmin
SystemAdmin
SystemAdmin
570 Posts
ACCEPTED ANSWER

Pinned topic Authentication required everytime I call adapter.

‏2012-05-17T03:59:41Z |
Hi, It seems that authentication always called when I invoke Adapter, event though I set requiresAuthentication="false" in the xml config file.
Please someone help me pass this problem.

Thanks in advance!
  • SystemAdmin
    SystemAdmin
    570 Posts
    ACCEPTED ANSWER

    Re: Authentication required everytime I call adapter.

    ‏2012-05-20T08:43:12Z  in response to SystemAdmin
    Hello Quangnt.

    I guess you've deployed the adapter after changing it.
    In the wl:adapter tag do you have authenticationRealm="<REALM>"?
    Can you please send the server log?
  • SystemAdmin
    SystemAdmin
    570 Posts
    ACCEPTED ANSWER

    Re: Authentication required everytime I call adapter.

    ‏2012-05-25T11:07:03Z  in response to SystemAdmin
    Hi ravidor, tks for your reply.

    I don't have authenticationRealm="<REALM>"? in my wl:adapter tag. I look at the console of Chrome and logcat and know that everytime I call an adapter function the worklight client will invoke function isLoginFormResponse, and then onHideLogin in the auth.js.