Is .localhost a valid domain scheme for SSO?

I'm trying to evaluate SSO by setting up a few Atlassian apps in a spare machine and configuring them for SSO. So far, everything seems to work. But suddenly, setting JIRA to use the SSO authenticator in seraph-config.xml results in the JIRA web server failing to respond to any request.

Trace:

$ tail -f logs/jira050213111531-stderr.2013-02-06.log
 at com.atlassian.crowd.integration.rest.service.RestCrowdClient.<init>(R
estCrowdClient.java:78)
 at com.atlassian.crowd.integration.rest.service.factory.RestCrowdClientF
actory.newInstance(RestCrowdClientFactory.java:26)
 at com.atlassian.crowd.integration.rest.service.factory.RestCrowdHttpAut
henticationFactory.createInstance(RestCrowdHttpAuthenticationFactory.java:43)
 at com.atlassian.crowd.integration.rest.service.factory.RestCrowdHttpAut
henticationFactory.<clinit>(RestCrowdHttpAuthenticationFactory.java:21)
 ... 40 more
Caused by: org.apache.commons.httpclient.URIException: URI-Reference required
 at org.apache.commons.httpclient.URI.parseUriReference(URI.java:1874)
 at org.apache.commons.httpclient.URI.<init>(URI.java:165)
 at com.atlassian.crowd.integration.rest.service.RestExecutor.<init>(Rest
Executor.java:59)
 ... 44 more

I'm wondering if JIRA or other Atlassian apps have trouble using .localhost as an SSO domain scheme, or if the problem is caused by something else.

1 answer

Hello,
I am not sure if this is a problem with Jira or Tomcat. Either way, I take it we are trying to make distinct domains to test SSO yes? If so, a way that I know of which works is by defining a context path for each application in their server.xml file. For example, we could list our apps as follows.

HTTP://localhost:8080/Jira

HTTP://localhost:8090/Confluence

Which would make each domain unique for creating Crowd SSO keys.

Cheers,
Andrew

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,021 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you