diff --git a/portal-impl/src/com/liferay/portal/security/pwd/PwdAuthenticator.java b/portal-impl/src/com/liferay/portal/security/pwd/PwdAuthenticator.java
index 4443791297845370d13b9954b387d6973ec353ae..32569c6e457544541ae9219e2593c3c0c0aca2a5 100644
--- a/portal-impl/src/com/liferay/portal/security/pwd/PwdAuthenticator.java
+++ b/portal-impl/src/com/liferay/portal/security/pwd/PwdAuthenticator.java
@@ -88,7 +88,29 @@ public class PwdAuthenticator {
 		return false;
 	}
 
+	public static void pretendToAuthenticate() throws PwdEncryptorException {
+		authenticate(
+			_PRETENDED_LOGIN, _PRETENDED_CLEAR_TEXT_PASSWORD,
+			_PRETENDED_CURRENT_ENCRYPTED_PASSWORD);
+	}
+
+	private static final String _PRETENDED_CLEAR_TEXT_PASSWORD = "password";
+
+	private static final String _PRETENDED_CURRENT_ENCRYPTED_PASSWORD;
+
+	private static final String _PRETENDED_LOGIN = "login";
+
 	private static final Log _log = LogFactoryUtil.getLog(
 		PwdAuthenticator.class.getName());
 
+	static {
+		try {
+			_PRETENDED_CURRENT_ENCRYPTED_PASSWORD =
+				PasswordEncryptorUtil.encrypt("currentPassword");
+		}
+		catch (PwdEncryptorException pwdEncryptorException) {
+			throw new RuntimeException(pwdEncryptorException);
+		}
+	}
+
 }
\ No newline at end of file