How to integrate with Jira ondemand - api

I'm working on a web application that I need to Integrate with Jira bug tracking tool. I have successfully integrated with the applications hosted at jira, but now I have to integrate with the JIRA hosted on other server (not the .atlassian ones).

The hosted solution will have the same capabilities as a REST API. So just point to the appropriate URL and it should work.

If you are just trying to integrate with the REST API, just try hitting it to see if its enabled.
If it isn't enabled, make sure the 'Allow Remote API Calls' is turned ON under Administration > General Configuration.

Related

Should Keycloak be used in my website user registration and log in?

I am using JBoss JSF to develop a personal project, and the website needs a user registration and login feature, as many other sites do. There are lots of tutorials on how to develop a user registration component in Java EE and JPA framework. I just happened to find the KeyCloak project. It seems that KeyCloak can be used for user registration and management purpose, especially if you use JBoss to develop the application.
My question is, do I really need to use this for user registration? It seems very heavy, and I didn't find any API docs that I can refer to integrate it into my web application.
What's the best use case of Keycloak? And how to integrate it in a Java EE application? Any quickstart or tutorial for Java application would be appreciated.
The main Keycloak project includes a adapters documentation (to be used to secure clients) examples project showing how to secure a JEE application using JEE application security.
If you use Spring, there's a Spring Security adapter that support a more very flexible security implementation as well, including examples for this as well.

Where I can deploy my dynamic web projects online for free?

I am trying to test my web app which includes jsp on some site. Is their any site which can do that like github or eatj?
Heroku will let you host web apps for free. The free tier has some limitations, but for testing it should work fine.

Azure Websites Authentication / Authorization

I am using new feature of Azure that enables the active directory authentication for your website without writing any code.
http://azure.microsoft.com/blog/2014/11/13/azure-websites-authentication-authorization/
But the problem is my web application is also hosting some Web APIs, which need to be called without any authentication.
Is there a way (some attributes?) so that I can call Web APIs without any authentication?
Tushar, I see that Byron also replied to your question on his post- and suggested creating another website as for APIs as a work around. However I suggest that you wire-up auth separately for your Web App and APIs following our samples here: https://github.com/AzureADSamples/WebApp-OpenIDConnect-DotNet, https://github.com/AzureADSamples/WebApp-WebAPI-OpenIDConnect-DotNet
Let me know if you run into any issues.
From the very same article you refer:
Current Limitations
There are some limitation to the current preview
release of this feature:
...
With the current release the whole site is placed behind login the
requirement.
Head less authentication/authorization for API scenarios
or service to service scenarios are not currently supported.
So, no, you cannot have partial APIs or pages anonymously available - all pages and API will be protected by the Azure Active Directory.

Secure Web API With Azure AD

Can anyone provide me with instructions on how to setup and secure a Web API project using Azure AD? I can create the project but when I navigate to /api/values/, I get a 401 response. The application has been added to the list of applications in my Azure AD directory.
I found a blog post here that appears to address this topic but the steps do not match my environment. Perhaps this is because it is a bit outdated?
What am I missing?
Take a look at the Web API examples at https://github.com/AzureADSamples, specifically WebApp-WebAPI-OAuth2-AppIdentity-DotNet and AzureADSamples/WebApp-WebAPI-OAuth2-UserIdentity-DotNet.

Spring Surf service index or console authentication needed

At work we have an installed Alfresco Explorer, and as we discovering the new possibilities of Spring Surf Web Scripts we trying to reach the /service/console or /service/index so we can manage web scripts, enabling JavaScript debugger, etc.
However to reach that URL it needs an authentication, but it doesn't accept the user/pass what we using for logging in to the explorer web app.
As we didn't find nothing about that in the documentation,
we have to ask it: anybody figured that out what type of authentication does the service index need?
/service/? is only accessible by the admin user.