• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use realm to change password

 
Krzysztof Malik
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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 ]
 
Henrique Ordine
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic