Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Release 1.0.0.1 - Value of dc:creator attribute

Hello.

We use dc:creator attribute to limit user access to resources (for instance, user is allowed to view resources he/she created only).

The scenario is following:
1. Repository service adds dc:creator attribute when a resource is saved in repository.
2. SPARQL query used to retrieve resources contains a filter on dc:creator attribute; as the filter value we use user service URI from the root service registry document and add user id to it.

Unfortunately, a problem arose after our application was migrated on release 1.0.0.1: the repository service uses IP as a part of user URI, so it looks like https://<IP>:9443/jazz/users/<user_id>

At the same time, the root service registry document for a JFS server uses host name, and our application produces values like https://<host_name>:9443/jazz/users/<user_id>.

As a result, SPARQL queries do not match the creator.

The problem disappears, if the root service registry document is retrieved using not the host name, but exactly the same IP that the repository service uses.

I want to clarify some points:
- Why different values are used by the repository service (IP) and JFS root service (IP or host name depending on how it was invoked)?
- How can we define which IP address will be used by the repository service, if the server has multiple IP's configured?
- How the user service from the root services spec should be used for situations like ours (linking resources to users)?

0 votes



One answer

Permanent link
It seems, the problem may be resolved by explicitly specifying host name in JFS server configuration:

Jazz Admin UI / Server tab / Configuration - Advanced Properties / com.ibm.team.repository.servlet.internal.ServletConfigurationService section / Host Name property

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 21 '09, 12:23 p.m.

Question was seen: 6,732 times

Last updated: Sep 21 '09, 12:23 p.m.

Related questions
Confirmation Cancel Confirm