ws-wss4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vignesh M.P.N." <mani...@iit.edu>
Subject Implementation of PWCallback
Date Fri, 28 Apr 2006 20:54:10 GMT
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


Mime
View raw message