This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Federated Identity

 
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone explain how the fedareated identity is better then the centralizaed one?
 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone on this one???
 
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me try and explain this with a JAXR example . I am not sure what u meant by centralized .. can you clarify on that.
This is how I see it
ConnectionFactory factory = ConnectionFactory.newInstance();
//configure the ConnectionFactory
Properties props = new Properties();
props.setProperty(
"javax.xml.registry.lifeCycleManagerURL",
"https://uddi.ibm.com/testregistry/publishapi";);
props.setProperty(
"javax.xml.registry.queryManagerURL",
"http://uddi.ibm.com/testregistry/inquiryapi";);
props.setProperty(
"javax.xml.registry.registry.security.authenticationMethod",
"UDDI_GET_AUTHTOKEN");
factory.setProperties(props);
//Connect to UDDI test registry
Connection connection = factory.createConnection();
The above code creates a single connection to only one inquiryapi or publishapi.
For a federated connection you can create connections to other sites for inquiry and publish api and combine them like below.
Collection fedCollection = new HashSet();
// Generally federated connections would involve more then two factory connections. Federated connections can help you combine a connection. you can create connections to different inquiryapis
fedCollection.add(connection1);
fedcollection.add(connection2);
FederatedConnection fedConn = factory.createFederatedConnection(fedCollection);
fedConn object lets you do all the calls you want which you do with a normal connection only now you have any number of sites interrelated.
I hope I didnt confuse you further.
HTH
Dhiren
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Federation allows us to perform "distributed" queries on the multiple XML-registries at the same time.This is not possible with normal Connection
 
The City calls upon her steadfast protectors. Now for a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic