This question is in reference to the Documentation. Slide 37 asks the following:
The correct place to specify the URL that the application uses is:
authenticationConfig.xml.
worklight.properties.
application-descriptor.xml.
This URL is set separately per platform in a dedicated settings file.
The answer is:application-descriptor as mentioned in the answer key. I have found this Post that is contradictory. Also I have looked up the applicaiton descriptor elements for 6.2 and there is no where to configure the application url here: IBM Knowledge Center
Can someone help clarify where the application url can be configured? I apologize if I have misunderstood the concept.
That quiz is outdated and should be ignored.
There is no server URL configuration in application-descriptor.xml.
That URL is being inserted to the application's worklight.plist (iOS) or wlclient.properties (Android/Windows) during build-time.
By default this will use the development server's host, port and context.
You can have this changed to a remote server in Run As -> Build Setting and Remote Target.
Related
I have recently moved our Jira Server installation to an https URL - we have a reverse proxy setup and I have configured apache/Jira according to atlassian's docs. https://confluence.atlassian.com/kb/securing-your-atlassian-applications-with-apache-using-ssl-838284349.html
We can access and use Jira with no issues, however the activity feed on the dashboard, and the search function to find new apps is no longer working.
When i look at the console it still appears to be trying to access the http:// version of the URL even though I have updated the base URL to the https version.
When I view source, I can see several references to the old http:// version of the URL. e.g.
WRM._unparsedData["com.atlassian.servicedesk.core-ui:util-base-url.base-url"]="\"http://jira.xxx.xxx\"";
<input type="hidden" id="upmBaseUrl" name="upmBaseUrl" value="http://jira.xxx.xxx">
<input type="hidden" value="http://jira.xxx.xxx/plugins/servlet/upm/marketplace" name="upmUriMarketplace" id="upmUriMarketplace">
Is there some other place where this needs to be updated? I've tried a general search/replace in the database, and i've grepped the installation and application data directories for the old URL.
Could it be a cache issue?
To move the Jira site to a new HTTPS location, you generally need to ensure that you have configured both:
the base URL, and
the proxyName, proxyPort, secure, and the scheme in the <Connector> of Jira's conf/server.xml. Also ensure that you're editing the correct <Connector> (since there are multiple in the default install, some of which are commented out).
You mentioned that you have done both of these, but the symptoms suggest that either #1 or #2 might not be complete or 100% correct.
If you are using a containerized version of Jira, also make sure that any environment variables also correspond to your new setup, since these can override settings in the above places.
For example, if you are using the official Docker image, this means variables such as ATL_TOMCAT_SCHEME, ATL_TOMCAT_SECURE and the like.
How do we by pass this issue with SonarQube server v5.1 and firefox? Chrome & IE are working fine but firefox is not allowing to access the server in https mode. I looked at https://weakdh.org/sysadmin.html but I am not sure what server SonarQube uses and how to implement fix for this problem. Any help is appreciated. Thanks.
When a user wants to enable (or restrict) access to a SonarQube instance over HTTPS, the recommended way is to put it behind another WebServer she configures at will.
So, the way to go here, is to add an Apache, Nginx or whatever in front of the SQ instance and configure it according to the recommendations in the link you provided and generate a "safe" server certificate.
I fixed it by setting the following property in sonar.properties file.
sonar.web.https.ciphers=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA
This is a problem that I have when I run/debug the app from Webstorm.
The run/debug configuration dialog doesn't give us much to work with, we can just specify the path of the index.html file there.
I wanna be able to set up a configuration similar to what yeoman's angular generator gives us out of the box.
WebStorm built-in web server serves the project from 'http://localhost:<built-in server port>/<project root>'. If you like to change the default web path on built-in web server, you have to re-configure the server by editing your system hosts file accordingly - see http://youtrack.jetbrains.com/issue/WEB-8988#comment=27-577559. But, as it's mentioned in this comment, there are currently some issues with serving dart apps on server configured this way.
Please follow WEB-14047 for updates
I am trying to create a login module that could use facebook login too . I am using Jboss 7.1 as my server and i run it from inside eclipse and my OS is Ubuntu.
The problem now is that Facebook doesn't seem to accept requests when the url is of type say
http://localhost:8080/myApp/
and expects something of the form http://localhost.test/myApp.
(Testing facebook connect on localhost)
My problem is that I am not aware of how to change the above pattern (from localhost:8080 to say localhost.mysite) in JBOSS server.
Can someone let me know on how this has to be done.
Thanks
You can use the -b parameter to specify the bind address JBoss should use, see:
https://docs.jboss.org/author/display/AS71/Admin+Guide?_sscc=t
This switch should be available in the Eclipse JBoss Tools as well.
I discovered just recently that JBoss 7.x (as well as JBoss EAP 6) does not accept connections from outside if you don't specify the Host/IP-Address via the aforementioned parameter; even responses to web service requests it sends itself are not received.
If you want to change things like the web service endpoint host, port etc. you can do this via standalone.xml. For Web Services or ReST you simply specify subsections whose schema is defined by the XSDs located in the docs/schema folder (jboss-as-webservices_1_1, jboss-as-jaxrs_1_0 respectively ). For convenience (auto-completion, validation) you can put them into an XML catalog and registered the catalog within Eclipse.
I have been trying to configure OpenAM in my laptop to no success.
Here's what I have done.
Deployed the war file on tomcat server(successfully running at localhost)
Installed OpenDJ successfully.( Server up and running)
Followed the tutorial give on ForgeRock but I am stuck up here:
It is giving two kinds of errors, either says server cannot be contacted or says that cannot recognize root suffix.
Here is what I am getting!
During initial configuration you should not use external data store, just use embedded one and configure external one later on.
Can not be contacted seems more like a resolver issue ...
Another note as this is the data store you may not use suffix 'dc=openam,dc=forgerock,dc=wipro' .... you are not Forgerock ;-)
Well it could be many things:
Incorrect host provided
Incorrect port provided
Firewall issues
other networking issues
You should check whether you can access the directory from the box (where the container actually runs):
telnet L-0156009091.wipro.com 50389