D2W Custom component
D2W Custom component
- Subject: D2W Custom component
- From: Erwin <email@hidden>
- Date: Wed, 20 Apr 2005 19:21:37 +0200
I am trying to use (for the 1st time) D2W to test my EOModel
I have a D2WEditPassword custom component that's doing its job (take the value in a pwd Txtfield)
D2WEditpassword.java (extends WOComponent)
.....
public String value() {
return (String) object.valueForKey(key);
}
public void setValue(String newValue) {
object.takeValueForKey(newValue, key);
}
.....
I would like this value to be encrypted via the setPassword() in my Siteuser class before being written to the DB
(as it will be in my WOApp) but I just get the String value in my DB..... why ? how can I do it ? (hint in doc...)
Thanks erwin
Siteuser.java (extends EOGenericRecord)
.....
public void setPassword(String password){
setCredential(transformString(password, Cipher.ENCRYPT_MODE));
}
....
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden