You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Vignesh M.P.N." <ma...@iit.edu> on 2006/04/28 22:54:10 UTC
Implementation of PWCallback
Hi all
I am trying to implement a password callback class. I definitely don't want
the password to be a plaintext in the code.
Am following the documentation: http://ws.apache.org/wss4j/package.html
In the code snippet it says:
/*
* here call a function/method to lookup the password for
* the given identifier (e.g. a user name or keystore alias)
* e.g.: pc.setPassword(passStore.getPassword(pc.getIdentfifier))
* for testing we supply a fixed name/fixed key here.
*/
Could anyone please elaborate on implementing such a method?
>From what I understand passStore could be an instance of
java.security.KeyStore. But it doesn't have a getPassword() method.
Thanks in advance
Vignesh.
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org