I am trying to use a third-party web authentication service on a client site. Web services were written in .Net and accept SecureString as the password type.
AuthResult Login(string username, SecureString passkey)
My application is written in Java and there is no compatible type for SecureString in Java, which I can use :( When I create the axis proxy, it generates a memberless stub for SecureString, and therefore I cannot make an authentication call to the service.
public class SecureString implements java.io.Serializable {
public SecureString() {
...
}
}
I'm trying http://sanguinecomputing.com/a-secure-string-implementation-for-long-term-storage-of-sensitive-data-in-java/ , but I don't really hope
Can someone help me in solving this interaction problem? I am looking for a way to send a parameter of type secureString from Java application code to .Net Service.