{
DesEncryptionHelper encHelper = new DesEncryptionHelper();
String userName = this.getRequest().getParameter("j_username");
String encryptedName = encHelper.encrypt(userName);
String password = this.getRequest().getParameter("j_password");
String encryptedPassword = encHelper.encrypt(password);
String encryptedNameAsBase64 = Base64.encodeBase64URLSafeString(encryptedName.getBytes("utf-8"));
String encryptedPasswordAsBase64 = Base64.encodeBase64URLSafeString(encryptedPassword.getBytes("utf-8"));
//logger.info("encryptedName:" + encryptedName);