I'm sorry, I don't understand your purpose. If you want to get some info about portals, pages, etc, so you might use a connection with JCR through the API. But, if you want to get info about users, so you must use another ways, which are related to IDM module.
Thanks for your reply.
Actually, the main purpose is retrive all profile information include name, IM, Mob., Experiance, and Network.
So, I need to connect IDM and retrieve all information.
Your support is appreciated.
Did you try :
ExoContainer container = PortalContainer.getInstance();
OrganizationService service = (OrganizationService)container.getComponentInstance(OrganizationService.class);
This service provide some dao object that allow to query for user info
Could you provide me at least which file should be referenced to create connection, and what Query builder used to retrive profile information, I mean what the query syntax at least? besides, any document was explained gatein jcr & idm archietect would be appreciated.
You should not go down to the persistence layer to retrieve profile information, you should use the Organization Service API
Actuallty, I'm just looking to retrieve information using java container rather than Portal/Portlet container.
in other words, using java main class.
So, which jar's should I referances to achieve this.?
There are some examples in the Picketlink IDM source code, i.e.:
Another good example used to learn how to use IDM basic functions is the original testsuite for the project, i.e.: