• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Federated repositories on WAS 7

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I need to configure my application to work with Websphere 7.0 container managed security and wish someone can help me out with this task.

Here's a summary of my problem: part of my app's users must be authenticated against an Active Directory, in which their logins and passwords are stored, and another part must be authenticated against a relational database. For both cases, the roles needed for authorization are stored in this same database.

Briefly, I need two different repositories (LDAP and DB) working in a complementary (authentication happens on one OR another) and integrated (login/password and roles retrieved from different sources) way.

After some searching, it seems I need to configure a Federated Repository and use some VMM adapters (PER and ERM).

Can you give me a sign whether I'm on the good path or not? It feels like a painful job...
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you not manage the same by writing a custom repository? We do just that for LDAP authentication backed by DB roles.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!