• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic