Popup on XMLHttpRequest for 'requires authentication' - Webworks on BB OS 5.0 +.

Hello

In my app Webworks for OS 5 +, I do multiple XMLHttpRequest calls to my server for you to connect, pull down, etc.  The usual.

Occasionally and without apparent motive (and not always the first time after starting the app.) Not only the queries. ) I have will get a popup with something in the sense of 'this page requires authentication, enter the user name and password' and then request for domain, user name and password.

However, I can just regularize and try again and it works perfectly.

Anyone have experience with this and know what is possibly cause it or a fix?

Or any portrait?  I'm stumped at the moment.

This does not only happen on real devices, however.  I saw not in ripple (not provided) or the emulator.  Unfortunately, my curve doesn't seem to let me so I don't have any information other than the dialog box that opens for debugging.

Thank you

Rob.

OK, it turns out it was a 401.  DOH.  And the solution for it is here: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Suppressing-HTTP-401-Authenticat...

Tags: BlackBerry Developers

Similar Questions

  • Because the update for FF30 always get TypeError: XMLHttpRequest constructor requires 'nine', before no problem. What has changed?

    Since the update this morning to FF30, I get the errormessage of the js

    TypeError: XMLHttpRequest constructor requires 'nine ';

    Code:

    function ajaxManager() {}
    the var request;
    var version = new Array('MSXML2.) XMLHTTP.7.0 ',' MSXML2. XMLHTTP.6.0 ',' MSXML2. XMLHTTP.5.0 ',' MSXML2. XMLHTTP.4.0 ',' MSXML2. XMLHTTP.3.0 ',' MSXML2. XMLHTTP ',' Microsoft.XMLHTTP');
    {if (document.getElementById)}
    If (Window. {XMLHttpRequest())}
    request = new XMLHttpRequest();
    }
    If (Window. ActiveXObject) {}
    for (var I = 0; I < versions.length; i ++) < = "" activexobject (versions [i]); " "=" "catch (exception) =" "p =" "request ="new";" "=" "return =" "try {=" "{=" ' "} =" "(> < / versions.length; i ++) >"}

    I hope someone knows what has changed or what I missed.

    Now found a job by myself:

    "if (window. XMLHttpRequest()) {'}

    changed to

    "if (window. XMLHttpRequest) {'}

    Seems the old way I used now no longer works

  • Requiring authentication for SMTPS, but not for SMTP

    Hi all

    On a cluster hive, beehive.domain.com, we created 2 endpoints for each SMTP and IMAP, a safe and the other normal, like this, users can connect to two ports (25 + 465 and 143 + 993).

    Endpoint on the secure ports were created to allow direct access from the outside to redirect the only secure ports (465 (smtp) and 993 (imap) through the firewall to the cluster of the hive.) I don't massively secure and that there is an instance of hive DMZ for this effect, but that is for later.

    Question: Is is possible to require authentication to use only secure SMTP port and not the normal? The idea being, inside the LAN users port 25 to send all the emails that Beehive will relay all emails coming from domain.com, authentication is not required it would disrupt some applications that need to send email. However, we want to prevent Mr. spammer to send his stuff from external identity spoofing the this address is @domain.com

    Any suggestions? I read in another post that one idea is to create an additional for the SMTP Protocol Secure alone, VMS as it is possible to have the identification required at the level of the virtual machines. who is?



    Kind regards

    David

    Hi David,

    fix, create a new VMS recvssl endpoint:

    beectl add_configuration_object - type 'oracle.ocs.management.model.EmailService.SMTPProperties.VMSProperties '.

    CONFIG_OBJECT_ID = da9444a0-2e3e-45e7-b5f2-98945514c6de

    name the component modify_property beectl VMSName - value SmtpSslVMS da9444a0-2e3e-45e7-b5f2-98945514c6de

    append_value - name of the component _EmailService:SMTPProperties VMSPropertiesList value da9444a0-2e3e-45e7-b5f2-98945514c6de beectl

    There was a BUG in 1.4.X beekeeper. So I post you the command line procedure. After that configures "Require AUTH" for this endpoint. This you can configure beekeeper.

    See you soon,.
    Sven

  • Why the tabs that require authentication moving in a new window?

    I start the value "show my windows and tabs from last time '. Many of these tabs require authentication and once the authentication to complete the tab is moved to a new window. This behavior started only recently. I saw this happen on at least two computers.

    This seems to be fixed on its own. Maybe an update fixed. To answer you question cor - el, all pages are opened by clicking the sign + to open a new tab and this by clicking on a bookmark on the bookmarks bar. As I said above I keep several tabs always open and a few require authentication. When close firefox and then running it again, after the Authentication tab moves to a new window.

    In any case thanks for the replies.

  • A web service for windows authentication

    Hello
    I have a number of web services on a windows server.
    These web services are for a program client (in vb.net), access and retrieve data.
    This client program are launching for the PC of the individual user.
    The above configuration is in a windows domain.
    Currently, web services allow anonymous access. This means that anyone in the Organization, with the correct URL is able to trigger the web service.
    We are asked to remove anonymous access and all forms authentication configuration.
    Questions

    1. What is the best practice for configuration for a web service for windows authentication.

    2. We also have a couple of unix servers. They are required to access the web services (with the correct authentication). How can I get a cross-environment configuration?
    Thanks in advance.

    Hey Wee Hoe Chiang,

    The question you have posted is related to Windows Server and would be better suited to the TechNet community.

    Please visit the link below to find a community that will provide the support you want.
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

    I hope this helps.

  • SAN HQ and Director of the group do not allow for SMTP authentication.

    Hello

    I have a new 6510E and I would like to receive alerts by e-mail. Unfortunately, we use Google Apps and Gmail requires authentication. What is Dell offers a workaround for this problem?

    Thanks in advance!

    Hello

    I'm sorry, but not at the moment.  Alerts require direct access to a SMTP sever.

    The only thing I can suggest is setting up a local SMTP server and configure it to be a relay SMTP to Google mail.

    support.Google.com/.../2956491

    Kind regards

  • VMware Mirage, required authentication client

    Hello

    In the client VMware Mirage, often requires authentication. (pop-up)

    I want to eliminate this authentication occurs frequently.

    You have any ideas?

    Tomoyuki

    Dear atomic.

    Are you referring to volume off customer mirage?
    Please check in the console of administration for the same setting.

  • Theme of WFS requires authentication, how pass/configure credentials?

    Hello

    I use the quick start kit mv11ps5_quickstart Mapviewer with last MapBuilder.

    I'm trying to set a WFS theme to an external server that requires authentication (username/password name). (here the mapviewer acts as a wfs client).

    I searched the forum and read the available documentation, but I couldn't find the way to pass these credentials in the definition of the theme.

    Is - it possible/supported anyway?
    If so, how should it be solved?

    Any help is appreciated on this.

    Thank you

    Luke

    Hi Luke,.
    It is not yet supported for the WFS and WMS themes.

    João

  • WLAN 4402 for Radius Authentication

    Hi guys,.

    Please help me on how I can install my WLAN 4402 controller for Radius Authentication, if you have links or procedures that you can share, which will be very appreciated. :-)

    Thanks in advance.

    It depends on if you are using Cisco ACS or Windows IAS. Controller configuration is the same but the side RADIUS is different.

    Also what you are trying to configure, systems users, PEAP etc. through RADIUS

    PEAP via ACS is here

    http://www.Cisco.com/en/us/partner/products/ps6366/products_configuration_example09186a00807917aa.shtml

    PEAP via IAS is here

    http://www.Cisco.com/en/us/partner/products/ps6366/products_configuration_example09186a0080921f67.shtml

    Hope that helps

  • Recommendations for VPN authentication

    So, now that Cisco has helped me get the vpn works on my ASA 5525-X I need to use an active administrator for the authentication/grouping of customers for several profiles in anyconnect.

    My question is what is the simpler and more effective way of setting this up. I have a R2 2012 NAP server that is used to authenticate the AD users for access to the switches. But should I use that for ASA as well or can I use AD directly to the ASA?

    A reminder to those who have not seen my posts, I'm very new to the ASA and the need to get this up and running quickly... Any help/suggestions would be greatly appreciated.

    Thank you

    Stacey

    Hi Stacey,

    You can use the Windows Server direct to the ASA, it uses the LDAP protocol. You will need to implement the ASA like this:

    AAA-Server LDAP-SRV protocol ldap
    AAA-Server LDAP-SRV (inside) host XXXXXXXXX--> IP address of the server
    LDAP-base-dn DC = vpn, DC = also, DC = com--> where users are stored
    LDAP-connection-dn CN = ASA-LDAP-user, CN = Users, DC = vpn, DC = also, DC = com--> the entire AD tree.
    LDAP-login-password *--> the administrator password
    LDAP-naming-attribute sAMAccountName
    LDAP-scope subtree
    microsoft server type

    Now, you need to get the login DN: and the base dn. Now on the ad, you need to create several user groups and divide the users for different levels of authorization as: salespeople, employees...

    You can test the authentication by using this command:

    test the aaa server for authentication LDAP_SRV host XXXXXX username: password XXXXX: XXXX

    and then see if it fails, then you can solve the problem

    You can then configure the mapping of LDAP attributes to MAP a group of users on the server of advertising to a group policy on the SAA.

    http://www.Cisco.com/c/en/us/support/docs/security/ASA-5500-x-series-NEX...

    I would like to know how it works!

    Please don't forget to rate and score as correct the helpful post!

    David Castro,

    Kind regards

  • ACS 5 + bookmarklet proxy server requires authentication

    Hello

    I'm curious to know if the following scenario is possible:

    I have 2 x ACS 5 +, located on different subnets. I have a MR configured to authenticate on the 1st two ACS systems. A user tries to connect to MR. If the 1st ACS can not find this specific user in its database (internal or external), is it possible that 1st ACS to send a request for 2 GBA, so it can check is the database?

    Each ACS has a different user database (for example users the first GBA will be not be configured on the other and vice versa).

    Someone has heard strange at this thing? It is possible (at least in theory)?

    I'm always looking here and on the Internet, but until now, I couldn't find anything related to this kind of concept.

    Thank you!

    Hello hug,

    Never saw its use, but if you want to do it for RADIUS authentications I guess it would be possible by:

    1 configuration ACS 2 as identity on ACS 1 RADIUS server

    2. you set up a sequence of identity store, based password and select the internal users and servers Radius ID defined earlier as authentication servers. They will be checked in a top down approach until the first authentication succeeds. Please refer to the screenshot:

    Don't know what version of ACS that you use, so I'm including 5.2 links to documentation.

    Stores of radius of ID:

    http://www.Cisco.com/en/us/docs/net_mgmt/cisco_secure_access_control_system/5.2/user/guide/users_id_stores.html#wp1181773

    Sequences of store ID:

    http://www.Cisco.com/en/us/docs/net_mgmt/cisco_secure_access_control_system/5.2/user/guide/users_id_stores.html#wp1054132

    I hope this helps!

    Best regards

    Bernardo

  • If no data for required means.stop the cursor here itself

    Hi experts jdev,.

    am on jdev 11.1.1.5.0 - adfbc - db10g oracle - mozilla ff 9.0.1

    my need is:

    simple,

    If a field is required

    that field has no way of data
    do not move the cursor to the next field (inputextbox).

    fields has a few datas
    move to the next (inputtextbox) fields.


    by default provides adf
    small alert message for required it's ok.

    my need is: If the field is required. but there is no data. does not allow the user final cursor jumps to the next field.

    I hope you all understud.

    Take a look at this demo:

    
      
       
       
      
      
          function makeActive(event){
          if (event.getSource().getSubmittedValue() == '')
          event.getSource().focus();
         }
      
         
          
           
          
          
         
        
       
        
    
  • Essbase security Migration to native mode for external authentication

    Hello!!

    I want advice on security setting, all users are currently in usermode native and Aboriginal groups.
    Now we want to migrate in external mode, the current version of hyperion is 11.1.1.3, the steps in
    that direction would be really useful.


    What is the best way of migration of the huge user base of native implementation for external authentication directory,
    It is the first step for the time of the native code for the external authentication, if anyone who did this will be useful.

    the installation procedure, maxl based migration will be useful or utility based.

    Thank you

    For services sharerd mode conversion to have a read of - http://download.oracle.com/docs/cd/E12825_01/epm.111/eashelp/sec_mode.htm

    To configure shared services to use an external directory have a reading of - http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security/frameset.htm?ch05.html

    For mass provision that you could use LCM or the utility CSSImportExport to export the provisioning of native users, update the file exported to include provisioning of users ad, then import them.
    LCM - http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_lifecycle_management/launch.htm
    CSSImportExport utility - http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security/ch09s08.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • OBIEE 101341 &amp; password for ldap authentication

    Hello

    We strive to implement LDAP authentication for our users to obiee using ADSI option. The users passwords are encrypted to the LDAP server. Support for OBIEE LDAP authentication mechanism - only clears passwords to verify the credentials of the user?


    We tried once in the past to set the LDAP authentication, when we were on 782 Analytics Siebel and Oracle said encrypted passwords don't are not supported for LDAP authentication in this version od Siebel Analytics 782. Now that we have upgraded to OBIEE 101341, we want to try again and see. Any body let me know if the OBIEE LDAP authentication mechanism supports passwords encrypted in the clear.

    Thank you

    BI Server uses passwords in clear text in the LDAP authentication. Make sure that your LDAP servers are set up to allow this. No support for encrypted password. Hope this helps

  • Configure Tomcat 7 for custom authentication

    Hello

    I use Tomcat 7.0.19 for custom authentication. I followed the procedures set out in the specifications of LCDS 3.1. However, I get the following exception for TomcatValve... Please advise...

    Thank you

    Houda

    SEVERE: Error in web deployment of the directory ROOT of the application

    java.lang.VerifyError: class flex.messaging.security.TomcatValve overrides final method early. (V)

    at java.lang.ClassLoader.defineClass1 (Native Method)

    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)

    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)

    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

    to java.net.URLClassLoader.access$ 000 (URLClassLoader.java:58)

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:197)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

    at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)

    at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1282)

    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement (AbstractSAXPars er.java:501)

    to com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement (mathematical tXMLDocumentParser.java:179)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(X MLDocumentFragmentScannerImpl.java:1343)

    to com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$ FragmentContentDri ver.next(XMLDocumentFragmentScannerImpl.java:2755)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next (XMLDocumentScannerImp l.java:648)

    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument (XMLDo cumentFragmentScannerImpl.java:511)

    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.ja goes: 808)

    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (XML11Configuration.ja goes: 737)

    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)

    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse (AbstractSAXParser.java:1205)

    to com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$ JAXPSAXParser.parse (SAXParserImpl.j ava: 522)

    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1543)

    at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:650)

    at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:587)

    at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:855)

    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:340)

    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)

    at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:379)

    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:136)

    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)

    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)

    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1055)

    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:978)

    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)

    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)

    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)

    at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:379)

    at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:324)

    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1041)

    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:774)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1033)

    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:291)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:443)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)

    at org.apache.catalina.startup.Catalina.start(Catalina.java:621)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)

    at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:450)

    November 22, 2011 13:09:46 org.apache.coyote.AbstractProtocol start

    Hello

    We currently do not support Data Services 3.1 on Tomcat 7.

    Kind regards

    Ashish verove

Maybe you are looking for

  • Can I install another OS instead of the one pre-installed?

    Hello I recently bought the Pavilion 15-e002AU. It came pre-installed with Win 8 unique edition. Whatever it's great this day except for the thing that I don't like in the computers of brands. There is only a single partition of 907 GB which stores e

  • I can't play my Xbox, a game in offline mode

    I installed halo master Chief collection to my Xbox, but it want let me play offline. I went to my Xbox home and put it in offline mode. He still wanted to let me play. How to play my game without internet?

  • Older Versions of Windows Media Player - feature music criticism

    In 2007, I got a PC with a version of Windows Media Player, I really liked. When he played songs, it gave me a page of the music critic who would tell me about the history of the band or artist, their important works and the meaning of their work on

  • Where will my deleted emails? OE

    OS = XP. Server IMAP (1and1). After a few household on Outlook Express 6, I deleted a large number of files. I also go to Tools/Options/Maint/Clean Up Now and emails compacted. Nothing is checked in the Maintenance tab. Now, all the emails that I rem

  • How to bring back the quick launch

    I wonder how to recover this toolbar: quick launch