Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Use realm to change password

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I'm testing the simple web application which use standard form based authentication. I've tested with file realm and jdbc realm and it works fine.
The problem is when I want change password by use realm. I can't find way how change password without use direct connection to database.
Is any mechanism implemented in realm to change password? I think that should be, e.g. to change to ldap realm only I should configure application server and change web.xml.
Is possible to create new user by using realm?
I use jdk 1.5, Sun Java System Application Server 9.

Thanks a lot,
Chris.

[ September 05, 2007: Message edited by: Krzysztof Malik ]
[ September 05, 2007: Message edited by: Krzysztof Malik ]
 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, it's possible. In the admin console, click on your realm and click the manage users button. Then select new user.
 
Krzysztof Malik
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for reply but I want to authorized user could change his password via web application.
[ September 06, 2007: Message edited by: Krzysztof Malik ]
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In that case, no, Tomcat has nothing to help you. You need to write a little web app yourself that does this.
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic