• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Adding Users and Roles via Code

 
Ranch Hand
Posts: 32
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone:

Im using Websphere for an application and we need to add/modify users and roles through the applicacion no via the administrative console or LDAP.

LDAP exists and contains all users but we can not change the user parameters to add or change their roles because is a global LDAP and the enterprise politics says that we can not change anything there (yes i know is a bad politic but exist), we can validate a user with their username an password but not add their roles or modify anything.

�Is there a way to add/modify users and roles via code inside my web app?

�Can we use the existing LDAP to authenticate users but having their roles somewhere else?

�Is there a way to authenticate a user against a DB but being able to use getRemoteUser inside the servlets? I need the user be able for the application, the libraries i use (and i can not use others) checks against getRemoteUser whos is the user so i can not just validate the user against the DB an put the user in session.

if someone can help me with one of this options that would be helpfull.

Thanks.
 
You may have just won ten million dollars! Or, maybe a tiny ad.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic