Operating System: Windows XP
The authification do not seem to work.
i have rewrite the filter localy with this code
String auth = username + ":" + password;
BASE64Encoder encoder = new BASE64Encoder();
String basicAuth = encoder.encode(auth.getBytes());
authentication = "Basic " + basicAuth;
Can you describe further what did not work? What username and password string
dud you use?
I found the issue. The padding characters are not correct, it encodes "A"
instead of "=". Plus this class should be tested and it is not.
Fixed in the trunk.
You already find the problem and fixed it. And sorry if I dont document the
problem correctly the first time.
Bad enconding T1NZUy1TVEVNfGhyYS1hZG1pbjphcHAtYWRtaW4A
Good encoding T1NZUy1TVEVNfGhyYS1hZG1pbjphcHAtYWRtaW4=