You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class org.springframework.ws.soap.security.xwss.callback.SimpleUsernamePasswordCallbackHandler has two properties "username" and "password", and only a default constuctor. When using this class, I always find myself writing this code:
SimpleUsernamePasswordCallbackHandler callback = new SimpleUsernamePasswordCallbackHandler ();
callback.setUsername(username);
callback.setPassword(password);
doSomething(callback);
Of course, I'd love to write this instead, which would be a, hm, productivity booster?
Hence, the request: Add the required constructors to make this work:
public class SimpleUsernamePasswordCallbackHandler extends AbstractCallbackHandler implements InitializingBean {
...
public SimpleUsernamePasswordCallbackHandler ();
public SimpleUsernamePasswordCallbackHandler (String username, String password);
...
}
Eirik Lygre opened SWS-745 and commented
The class org.springframework.ws.soap.security.xwss.callback.SimpleUsernamePasswordCallbackHandler has two properties "username" and "password", and only a default constuctor. When using this class, I always find myself writing this code:
Of course, I'd love to write this instead, which would be a, hm, productivity booster?
Hence, the request: Add the required constructors to make this work:
Affects: 2.0.3
Attachments:
Referenced from: commits 0f277d4
The text was updated successfully, but these errors were encountered: