Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void authenticate() {
- Authenticator.setDefault (new Authenticator() {
- @Override
- protected PasswordAuthentication getPasswordAuthentication() {
- logger.info("Authenticated with user: " + user + " and password: " + password);
- return new PasswordAuthentication (user, password.toCharArray());
- }
- });
- }
- X-Forms_Based_Auth_Required=f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement