public long getPasswordExpiration(String username) {
		synchronized (repositoryMgr) {
			UserEntry userEntry = userList.get(username);

			// indicate immediate expiration for users with short hash (non salted SHA-256)
			if (userEntry != null && userEntry.passwordHash != null &&
				userEntry.passwordHash.length != HashUtilities.SHA256_SALTED_HASH_LENGTH) {
				return 0;
			}
			return getPasswordExpiration(userEntry);
		}
	}
Returns the amount of time in milliseconds until the 
user's password will expire.
@param username user name
@return time until expiration or -1 if it will not expire
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/UserManager.java